T - @InterfaceAudience.User @InterfaceStability.Evolving public class CarbonFileInputFormat<T> extends CarbonInputFormat<T> implements Serializable
DATABASE_NAME, hitedStreamFiles, INPUT_SEGMENT_NUMBERS, numBlocks, numSegments, numStreamFiles, numStreamSegments, TABLE_NAME| Constructor and Description |
|---|
CarbonFileInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.carbondata.core.metadata.schema.table.CarbonTable |
getOrCreateCarbonTable(org.apache.hadoop.conf.Configuration configuration)
Get the cached CarbonTable or create it by TableInfo in `configuration`
|
List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext job)
Configurations FileInputFormat.INPUT_DIR
are used to get table path to read.
|
createQueryModel, createRecordReader, getAbsoluteTableIdentifier, getAccessStreamingSegments, getColumnProjection, getDatabaseName, getDataBlocksOfSegment, getDataTypeConverter, getFilterPredicates, getHitedStreamFiles, getNumBlocks, getNumSegments, getNumStreamFiles, getNumStreamSegments, getPartitionsToPrune, getReadCommittedScope, getReadSupportClass, getTableInfo, getTableName, getValidateSegmentsToAccess, isFgDataMapPruningEnable, isSplitable, projectAllColumns, setAccessStreamingSegments, setCarbonReadSupport, setColumnProjection, setColumnProjection, setDatabaseName, setDataTypeConverter, setFgDataMapPruning, setFilterPredicates, setPartitionIdList, setPartitionsToPrune, setQuerySegment, setQuerySegment, setReadCommittedScope, setSegmentsToAccess, setTableInfo, setTableName, setTablePath, setTransactionalTable, setValidateSegmentsToAccessaddInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, listStatus, makeSplit, makeSplit, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSizepublic org.apache.carbondata.core.metadata.schema.table.CarbonTable getOrCreateCarbonTable(org.apache.hadoop.conf.Configuration configuration)
throws IOException
CarbonInputFormatgetOrCreateCarbonTable in class CarbonInputFormat<T>IOExceptionpublic List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext job) throws IOException
getSplits in class CarbonInputFormat<T>job - IOExceptionCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.