Uses of Interface
org.apache.drill.common.exceptions.CustomErrorContext
Package
Description
Various exceptions used in logical, physical and execution contexts.
Handles optional file metadata columns: implicit columns and
partition columns.
Defines the projection, vector continuity and other operations for
a set of one or more readers.
Provides run-time semantic analysis of the projection list for the
scan operator.
Provides the "version 3" scan framework (which can also be thought of
as EVF version 2).
Implements the details of the scan lifecycle for a set of readers,
primarily the process of resolving the scan output schema from a variety
of input schemas, then running each reader, each of which will produce
some number of batches.
Provides run-time semantic analysis of the projection list for the
scan operator.
Provides a second-generation row set (AKA "record batch") writer used
by client code to
Define the schema of a result set.
Write data into the vectors backing a row set.
Handles the details of the result set loader implementation.
-
Uses of CustomErrorContext in org.apache.drill.common.exceptions
Modifier and TypeClassDescriptionclass
Represents an additional level of error context detail that adds to that provided by some outer context.class
-
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.file
ModifierConstructorDescriptionFileRowSetContext
(CustomErrorContext parent, org.apache.hadoop.mapred.FileSplit split) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.framework
Modifier and TypeMethodDescriptionManagedScanFramework.errorContext()
SchemaNegotiatorImpl.errorContext()
SchemaNegotiator.parentErrorContext()
The context to use as a parent when creating a custom context.SchemaNegotiatorImpl.parentErrorContext()
Modifier and TypeMethodDescriptionvoid
SchemaNegotiator.setErrorContext
(CustomErrorContext context) Specify an advanced error context which allows the reader to fill in custom context values.void
SchemaNegotiatorImpl.setErrorContext
(CustomErrorContext context) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.project
Modifier and TypeFieldDescriptionfinal CustomErrorContext
ScanSchemaOrchestrator.ScanSchemaOptions.context
Context for error messages.protected CustomErrorContext
ScanLevelProjection.Builder.errorContext
Context used with error messages.protected final CustomErrorContext
ScanLevelProjection.errorContext
Context used with error messages.Modifier and TypeMethodDescriptionScanLevelProjection.context()
ScanSchemaOrchestrator.ScanOrchestratorBuilder.errorContext()
Modifier and TypeMethodDescriptionScanLevelProjection.Builder.errorContext
(CustomErrorContext context) void
ScanSchemaOrchestrator.ScanOrchestratorBuilder.errorContext
(CustomErrorContext context) ReaderSchemaOrchestrator.makeTableLoader
(CustomErrorContext errorContext, TupleMetadata readerSchema, long localLimit) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.v3
Modifier and TypeFieldDescriptionprotected CustomErrorContext
ScanLifecycleBuilder.errorContext
Context for error messages.Modifier and TypeMethodDescriptionScanLifecycleBuilder.errorContext()
SchemaNegotiator.errorContext()
Returns the error context to use for this reader: either the parent or the reader-specific context set inSchemaNegotiator.setErrorContext(CustomErrorContext)
.SchemaNegotiator.parentErrorContext()
The context to use as a parent when creating a custom context.Modifier and TypeMethodDescriptionvoid
ScanLifecycleBuilder.errorContext
(CustomErrorContext context) void
SchemaNegotiator.setErrorContext
(CustomErrorContext context) Specify an advanced error context which allows the reader to fill in custom context values. -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.v3.file
ModifierConstructorDescriptionImplicitColumnResolver
(ImplicitColumnResolver.ImplicitColumnOptions options, CustomErrorContext errorContext) SplitErrorContext
(CustomErrorContext parent) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.v3.lifecycle
Modifier and TypeFieldDescriptionprotected CustomErrorContext
SchemaNegotiatorImpl.baseErrorContext
protected CustomErrorContext
SchemaNegotiatorImpl.readerErrorContext
Modifier and TypeMethodDescriptionReaderLifecycle.errorContext()
ScanLifecycle.errorContext()
SchemaNegotiatorImpl.errorContext()
SchemaNegotiatorImpl.parentErrorContext()
Modifier and TypeMethodDescriptionvoid
SchemaNegotiatorImpl.setErrorContext
(CustomErrorContext errorContext) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.v3.schema
Modifier and TypeFieldDescriptionprotected final CustomErrorContext
AbstractSchemaTracker.errorContext
protected final CustomErrorContext
DynamicSchemaFilter.errorContext
Modifier and TypeMethodDescriptionAbstractSchemaTracker.errorContext()
ScanSchemaTracker.errorContext()
The scan-level error context used for errors which may occur before the first reader starts.Modifier and TypeMethodDescriptionvoid
ProjectionSchemaTracker.applyReaderSchema
(TupleMetadata readerOutputSchema, CustomErrorContext errorContext) void
ScanSchemaTracker.applyReaderSchema
(TupleMetadata readerOutputSchema, CustomErrorContext errorContext) Once a reader has read a batch, the reader will have provided a type for each projected column which the reader knows about.void
SchemaBasedTracker.applyReaderSchema
(TupleMetadata readerOutputSchema, CustomErrorContext errorContext) ScanSchemaConfigBuilder.errorContext
(CustomErrorContext errorContext) static ProjectionFilter
DynamicSchemaFilter.DynamicTupleFilter.filterFor
(DynamicColumn col, boolean allowMapAdditions, CustomErrorContext errorContext, String source) ProjectionSchemaTracker.projectionFilter
(CustomErrorContext errorContext) Set up a projection filter using the reader input schema returned fromAbstractSchemaTracker.readerInputSchema()
.ScanSchemaTracker.projectionFilter
(CustomErrorContext errorContext) A reader is responsible for reading columns in the reader input schema.SchemaBasedTracker.projectionFilter
(CustomErrorContext errorContext) Set up a projection filter using the defined schemastatic void
SchemaUtils.verifyCompatibility
(ProjectedColumn colReq, ColumnMetadata actual, String source, CustomErrorContext errorContext) Perform the column-level projection as described inSchemaUtils.isConsistent(ProjectedColumn, ColumnMetadata)
, and raise aUserException
if the column is not consistent with projection.static void
SchemaUtils.verifyConsistency
(ColumnMetadata existing, ColumnMetadata revised, String source, CustomErrorContext errorContext) static void
SchemaUtils.verifyProjection
(ColumnMetadata existing, ColumnMetadata revised, String source, CustomErrorContext errorContext) ModifierConstructorDescriptionAbstractSchemaTracker
(CustomErrorContext errorContext) DynamicSchemaFilter
(CustomErrorContext errorContext, String source, DynamicSchemaFilter.NewColumnsMode newColumnsMode) DynamicTupleFilter
(TupleMetadata mapSchema, boolean isOpen, CustomErrorContext errorContext, String source) DynamicTupleFilter
(TupleMetadata projectionSet, CustomErrorContext errorContext) ProjectionSchemaTracker
(ScanProjectionParser.ProjectionParseResult parseResult, boolean allowSchemaChange, CustomErrorContext errorContext) ProjectionSchemaTracker
(TupleMetadata definedSchema, ScanProjectionParser.ProjectionParseResult parseResult, CustomErrorContext errorContext) RowSchemaFilter
(MutableTupleSchema schema, boolean allowMapChanges, CustomErrorContext errorContext) ScanSchemaResolver
(MutableTupleSchema schema, ScanSchemaResolver.SchemaType mode, boolean allowMapAdditions, CustomErrorContext errorContext) SchemaBasedTracker
(TupleMetadata definedSchema, CustomErrorContext errorContext) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.resultSet
-
Uses of CustomErrorContext in org.apache.drill.exec.physical.resultSet.impl
Modifier and TypeFieldDescriptionprotected final CustomErrorContext
ProjectionFilter.BaseSchemaProjectionFilter.errorContext
protected final CustomErrorContext
ResultSetLoaderImpl.ResultSetOptions.errorContext
Context for error messages.protected CustomErrorContext
ResultSetOptionBuilder.errorContext
Error message contextModifier and TypeMethodDescriptionstatic ProjectionFilter
ProjectionFilter.definedSchemaFilter
(TupleMetadata definedSchema, CustomErrorContext errorContext) ResultSetOptionBuilder.errorContext
(CustomErrorContext context) Provides context for error messages.static ProjectionFilter
ProjectionFilter.projectionFilter
(RequestedTuple tupleProj, CustomErrorContext errorContext) static ProjectionFilter
ProjectionFilter.providedSchemaFilter
(RequestedTuple tupleProj, TupleMetadata providedSchema, CustomErrorContext errorContext) ModifierConstructorDescriptionDirectProjectionFilter
(RequestedTuple projectionSet, CustomErrorContext errorContext) SchemaProjectionFilter
(TupleMetadata definedSchema, CustomErrorContext errorContext) TypeProjectionFilter
(TupleMetadata providedSchema, CustomErrorContext errorContext) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.resultSet.project
Modifier and TypeMethodDescriptionboolean
ImpliedTupleRequest.enforceProjection
(ColumnMetadata columnSchema, CustomErrorContext errorContext) boolean
RequestedTuple.enforceProjection
(ColumnMetadata columnSchema, CustomErrorContext errorContext) boolean
RequestedTupleImpl.enforceProjection
(ColumnMetadata columnSchema, CustomErrorContext errorContext) static void
ProjectionChecker.validateProjection
(RequestedColumn colReq, ColumnMetadata readCol, CustomErrorContext errorContext) Perform the column-level projection as described inProjectionChecker.isConsistent(RequestedColumn, ColumnMetadata)
, and raise aUserException
if the column is not consistent with projection. -
Uses of CustomErrorContext in org.apache.drill.exec.store.dfs.easy
-
Uses of CustomErrorContext in org.apache.drill.exec.store.easy.json.loader
Modifier and TypeMethodDescriptionJsonLoaderImpl.JsonLoaderBuilder.errorContext
(CustomErrorContext errorContext) -
Uses of CustomErrorContext in org.apache.drill.exec.store.hdf5.writers
ModifierConstructorDescriptionWriterSpec
(TupleWriter tupleWriter, TupleMetadata providedSchema, CustomErrorContext errorContext) -
Uses of CustomErrorContext in org.apache.drill.exec.store.http.util
Modifier and TypeMethodDescriptionSimpleHttp.SimpleHttpBuilder.errorContext
(CustomErrorContext errorContext) ModifierConstructorDescriptionSimpleHttp
(okhttp3.HttpUrl url, File tempDir, HttpProxyConfig proxyConfig, CustomErrorContext errorContext, Paginator paginator, PersistentTokenTable tokenTable, HttpStoragePluginConfig pluginConfig, HttpApiConfig endpointConfig, String connection, Map<String, String> filters, int rateLimit) This constructor does not have an HttpSubScan and can be used outside the context of the HttpStoragePlugin.SimpleHttp
(HttpSubScan scanDefn, okhttp3.HttpUrl url, File tempDir, HttpProxyConfig proxyConfig, CustomErrorContext errorContext, Paginator paginator) -
Uses of CustomErrorContext in org.apache.drill.exec.store.xml
Modifier and TypeMethodDescriptionvoid
XMLReader.open
(RowSetLoader rootRowWriter, CustomErrorContext errorContext)