Class EasyFileScanBuilder
java.lang.Object
org.apache.drill.exec.physical.impl.scan.v3.ScanLifecycleBuilder
org.apache.drill.exec.physical.impl.scan.v3.file.FileScanLifecycleBuilder
org.apache.drill.exec.store.dfs.easy.EasyFileScanBuilder
Create the file scan lifecycle that manages the scan. The lifecycle
creates batch readers one by one for each file or block. It defines semantic
rules for projection. It handles a provided schema. Also handles "early"
or "late" schema readers. This version handles the scan limit automatically.
This is for "version 2" of EVF. Newer code should use this version
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.physical.impl.scan.v3.ScanLifecycleBuilder
ScanLifecycleBuilder.DummyReaderFactory, ScanLifecycleBuilder.SchemaValidator
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.impl.scan.v3.file.FileScanLifecycleBuilder
maxPartitionDepth, rootDir, useLegacyWildcardExpansion
Fields inherited from class org.apache.drill.exec.physical.impl.scan.v3.ScanLifecycleBuilder
allowRequiredNullColumns, allowSchemaChange, DEFAULT_BATCH_BYTE_COUNT, DEFAULT_BATCH_ROW_COUNT, definedSchema, disableEmptyResults, enableSchemaBatch, errorContext, MAX_BATCH_BYTE_SIZE, MAX_BATCH_ROW_COUNT, MIN_BATCH_BYTE_SIZE, nullType, providedSchema, schemaValidator, userName
-
Constructor Summary
ConstructorDescriptionEasyFileScanBuilder
(FragmentContext context, EasySubScan scan, EasyFormatPlugin<? extends FormatPluginConfig> plugin) Constructor -
Method Summary
Methods inherited from class org.apache.drill.exec.physical.impl.scan.v3.file.FileScanLifecycleBuilder
build, compressible, fileSplitImpls, fileSplits, fileSystemConfig, fileSystemConfig, isCompressible, maxPartitionDepth, maxPartitionDepth, rootDir, rootDir, splits, useLegacyWildcardExpansion, useLegacyWildcardExpansion
Methods inherited from class org.apache.drill.exec.physical.impl.scan.v3.ScanLifecycleBuilder
allowRequiredNullColumns, allowRequiredNullColumns, allowSchemaChange, allowSchemaChange, batchByteLimit, batchRecordLimit, buildScan, buildScanOperator, definedSchema, definedSchema, disableEmptyResults, enableSchemaBatch, errorContext, errorContext, limit, limit, nullType, nullType, options, options, projection, projection, providedSchema, providedSchema, readerFactory, readerFactory, scanBatchByteLimit, scanBatchRecordLimit, schemaValidator, schemaValidator, userName, userName
-
Constructor Details
-
EasyFileScanBuilder
public EasyFileScanBuilder(FragmentContext context, EasySubScan scan, EasyFormatPlugin<? extends FormatPluginConfig> plugin) Constructor- Parameters:
scan
- the physical operation definition for the scan operation. Contains one or more files to read. (The Easy format plugin works only for files.)- Throws:
ExecutionSetupException
- for all setup failures
-