public class SyslogStorageHandler extends Object implements HiveStorageHandler
SyslogInputFormat and SyslogParser for more assumptions.HiveStorageHandler.AcidSupportTypeDEFAULT_ALLOWED_ALTER_OPS| Constructor and Description |
|---|
SyslogStorageHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureInputJobCredentials(TableDesc tableDesc,
Map<String,String> secrets)
This method is called to allow the StorageHandlers the chance to
populate secret keys into the job's credentials.
|
void |
configureInputJobProperties(TableDesc tableDesc,
Map<String,String> jobProperties)
This method is called to allow the StorageHandlers the chance
to populate the JobContext.getConfiguration() with properties that
maybe be needed by the handler's bundled artifacts (ie InputFormat, SerDe, etc).
|
void |
configureJobConf(TableDesc tableDesc,
org.apache.hadoop.mapred.JobConf jobConf)
Called just before submitting MapReduce job.
|
void |
configureOutputJobProperties(TableDesc tableDesc,
Map<String,String> jobProperties)
This method is called to allow the StorageHandlers the chance
to populate the JobContext.getConfiguration() with properties that
maybe be needed by the handler's bundled artifacts (ie InputFormat, SerDe, etc).
|
void |
configureTableJobProperties(TableDesc tableDesc,
Map<String,String> jobProperties)
Deprecated use configureInputJobProperties/configureOutputJobProperties
methods instead.
|
HiveAuthorizationProvider |
getAuthorizationProvider()
Returns the implementation specific authorization provider
|
org.apache.hadoop.conf.Configuration |
getConf() |
Class<? extends org.apache.hadoop.mapred.InputFormat> |
getInputFormatClass() |
HiveMetaHook |
getMetaHook() |
Class<? extends org.apache.hadoop.mapred.OutputFormat> |
getOutputFormatClass() |
Class<? extends AbstractSerDe> |
getSerDeClass() |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacidSelectColumns, acidSortColumns, acidVirtualColumns, addDynamicSplitPruningEdge, addResourcesForCreateTable, alterTableSnapshotRefOperation, alwaysUnpartitioned, appendFiles, areSnapshotsSupported, canComputeQueryUsingStats, canPerformMetadataDelete, canProvideBasicStatistics, canProvideColStatistics, canSetColStatistics, canUseTruncate, checkAndSetTableMetaRef, commitInMoveTask, createDPContext, directInsert, executeOperation, getBasicStatistics, getColStatistics, getColumnInfo, getCurrentSnapshotContext, getFileFormatPropertyKey, getLockType, getNativeProperties, getOperatorDescProperties, getPartitionKeys, getPartitionNames, getPartitionsByExpr, getPartitionTransformSpec, getRowId, getStorageFormatDescriptor, getStorageHandlerInfo, getType, getURIForAuth, hasAppendsOnly, isAllowedAlterOperation, isMetadataTableSupported, isTableMetaRefSupported, isTimeTravelAllowed, isValidMetadataTable, prepareAlterTableEnvironmentContext, setColStatistics, setTableLocationForCTAS, setTableParametersForCTLT, shouldOverwrite, showPartitions, sortColumns, storageHandlerCommit, storageHandlerCommit, supportsAcidOperations, supportsAppendData, supportsPartitionTransform, supportsSortColumns, supportsTruncateOnNonNativeTables, validatePartSpec, validateSinkDescpublic Class<? extends org.apache.hadoop.mapred.InputFormat> getInputFormatClass()
getInputFormatClass in interface HiveStorageHandlerInputFormatpublic Class<? extends org.apache.hadoop.mapred.OutputFormat> getOutputFormatClass()
getOutputFormatClass in interface HiveStorageHandlerOutputFormatpublic Class<? extends AbstractSerDe> getSerDeClass()
getSerDeClass in interface HiveStorageHandlerAbstractSerDepublic HiveMetaHook getMetaHook()
getMetaHook in interface HiveStorageHandlerpublic HiveAuthorizationProvider getAuthorizationProvider()
HiveStorageHandlergetAuthorizationProvider in interface HiveStorageHandlerpublic void configureInputJobProperties(TableDesc tableDesc, Map<String,String> jobProperties)
HiveStorageHandlerconfigureInputJobProperties in interface HiveStorageHandlertableDesc - descriptor for the table being accessedjobProperties - receives properties copied or transformed
from the table propertiespublic void configureOutputJobProperties(TableDesc tableDesc, Map<String,String> jobProperties)
HiveStorageHandlerconfigureOutputJobProperties in interface HiveStorageHandlertableDesc - descriptor for the table being accessedjobProperties - receives properties copied or transformed
from the table propertiespublic void configureTableJobProperties(TableDesc tableDesc, Map<String,String> jobProperties)
HiveStorageHandlerconfigureTableJobProperties in interface HiveStorageHandlertableDesc - descriptor for the table being accessedjobProperties - receives properties copied or transformed
from the table propertiespublic void configureJobConf(TableDesc tableDesc, org.apache.hadoop.mapred.JobConf jobConf)
HiveStorageHandlerconfigureJobConf in interface HiveStorageHandlertableDesc - descriptor for the table being accessedjobConf - jobConf for MapReduce jobpublic void configureInputJobCredentials(TableDesc tableDesc, Map<String,String> secrets)
HiveStorageHandlerconfigureInputJobCredentials in interface HiveStorageHandlerpublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2024 The Apache Software Foundation. All rights reserved.