Class FileScanFramework.FileSchemaNegotiatorImpl
java.lang.Object
org.apache.drill.exec.physical.impl.scan.framework.SchemaNegotiatorImpl
org.apache.drill.exec.physical.impl.scan.file.FileScanFramework.FileSchemaNegotiatorImpl
- All Implemented Interfaces:
FileScanFramework.FileSchemaNegotiator,SchemaNegotiator
- Direct Known Subclasses:
ColumnsScanFramework.ColumnsSchemaNegotiatorImpl
- Enclosing class:
FileScanFramework
public static class FileScanFramework.FileSchemaNegotiatorImpl
extends SchemaNegotiatorImpl
implements FileScanFramework.FileSchemaNegotiator
Implementation of the file-level schema negotiator. At present, no
file-specific features exist. This class shows, however, where we would
add such features.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.physical.impl.scan.framework.SchemaNegotiatorImpl
SchemaNegotiatorImpl.NegotiatorListener -
Field Summary
Fields inherited from class org.apache.drill.exec.physical.impl.scan.framework.SchemaNegotiatorImpl
batchSize, context, framework, isSchemaComplete, limit, providedSchema, tableSchema -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGives the Drill file system for this operator.org.apache.hadoop.mapred.FileSplitsplit()Describes the file split (path and block offset) for this scan.Methods inherited from class org.apache.drill.exec.physical.impl.scan.framework.SchemaNegotiatorImpl
batchSize, bind, build, context, drillConfig, errorContext, hasProvidedSchema, isProjectionEmpty, isSchemaComplete, limit, parentErrorContext, providedSchema, queryOptions, setErrorContext, tableSchema, userNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.drill.exec.physical.impl.scan.framework.SchemaNegotiator
batchSize, build, context, drillConfig, hasProvidedSchema, isProjectionEmpty, limit, parentErrorContext, providedSchema, queryOptions, setErrorContext, tableSchema, userName
-
Constructor Details
-
FileSchemaNegotiatorImpl
-
-
Method Details
-
fileSystem
Description copied from interface:FileScanFramework.FileSchemaNegotiatorGives the Drill file system for this operator.- Specified by:
fileSystemin interfaceFileScanFramework.FileSchemaNegotiator
-
split
public org.apache.hadoop.mapred.FileSplit split()Description copied from interface:FileScanFramework.FileSchemaNegotiatorDescribes the file split (path and block offset) for this scan.- Specified by:
splitin interfaceFileScanFramework.FileSchemaNegotiator- Returns:
- Hadoop file split object with the file path, block offset, and length.
-