Uses of Interface
org.apache.drill.common.exceptions.CustomErrorContext
Packages that use 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
Classes in org.apache.drill.common.exceptions that implement CustomErrorContextModifier and TypeClassDescriptionclass
Represents an additional level of error context detail that adds to that provided by some outer context.class
Fields in org.apache.drill.common.exceptions declared as CustomErrorContextMethods in org.apache.drill.common.exceptions with parameters of type CustomErrorContextConstructors in org.apache.drill.common.exceptions with parameters of type CustomErrorContext -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.file
Classes in org.apache.drill.exec.physical.impl.scan.file that implement CustomErrorContextMethods in org.apache.drill.exec.physical.impl.scan.file that return CustomErrorContextConstructors in org.apache.drill.exec.physical.impl.scan.file with parameters of type CustomErrorContextModifierConstructorDescriptionFileRowSetContext
(CustomErrorContext parent, org.apache.hadoop.mapred.FileSplit split) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.framework
Fields in org.apache.drill.exec.physical.impl.scan.framework declared as CustomErrorContextMethods in org.apache.drill.exec.physical.impl.scan.framework that return CustomErrorContextModifier and TypeMethodDescriptionManagedScanFramework.errorContext()
SchemaNegotiatorImpl.errorContext()
SchemaNegotiator.parentErrorContext()
The context to use as a parent when creating a custom context.SchemaNegotiatorImpl.parentErrorContext()
Methods in org.apache.drill.exec.physical.impl.scan.framework with parameters of type CustomErrorContextModifier 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
Fields in org.apache.drill.exec.physical.impl.scan.project declared as CustomErrorContextModifier 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.Methods in org.apache.drill.exec.physical.impl.scan.project that return CustomErrorContextModifier and TypeMethodDescriptionScanLevelProjection.context()
ScanSchemaOrchestrator.ScanOrchestratorBuilder.errorContext()
Methods in org.apache.drill.exec.physical.impl.scan.project with parameters of type CustomErrorContextModifier 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
Fields in org.apache.drill.exec.physical.impl.scan.v3 declared as CustomErrorContextModifier and TypeFieldDescriptionprotected CustomErrorContext
ScanLifecycleBuilder.errorContext
Context for error messages.Methods in org.apache.drill.exec.physical.impl.scan.v3 that return CustomErrorContextModifier 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.Methods in org.apache.drill.exec.physical.impl.scan.v3 with parameters of type CustomErrorContextModifier 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
Classes in org.apache.drill.exec.physical.impl.scan.v3.file that implement CustomErrorContextConstructors in org.apache.drill.exec.physical.impl.scan.v3.file with parameters of type CustomErrorContextModifierConstructorDescriptionImplicitColumnResolver
(ImplicitColumnResolver.ImplicitColumnOptions options, CustomErrorContext errorContext) SplitErrorContext
(CustomErrorContext parent) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.v3.lifecycle
Fields in org.apache.drill.exec.physical.impl.scan.v3.lifecycle declared as CustomErrorContextModifier and TypeFieldDescriptionprotected CustomErrorContext
SchemaNegotiatorImpl.baseErrorContext
protected CustomErrorContext
SchemaNegotiatorImpl.readerErrorContext
Methods in org.apache.drill.exec.physical.impl.scan.v3.lifecycle that return CustomErrorContextModifier and TypeMethodDescriptionReaderLifecycle.errorContext()
ScanLifecycle.errorContext()
SchemaNegotiatorImpl.errorContext()
SchemaNegotiatorImpl.parentErrorContext()
Methods in org.apache.drill.exec.physical.impl.scan.v3.lifecycle with parameters of type CustomErrorContextModifier and TypeMethodDescriptionvoid
SchemaNegotiatorImpl.setErrorContext
(CustomErrorContext errorContext) -
Uses of CustomErrorContext in org.apache.drill.exec.physical.impl.scan.v3.schema
Fields in org.apache.drill.exec.physical.impl.scan.v3.schema declared as CustomErrorContextModifier and TypeFieldDescriptionprotected final CustomErrorContext
AbstractSchemaTracker.errorContext
protected final CustomErrorContext
DynamicSchemaFilter.errorContext
Methods in org.apache.drill.exec.physical.impl.scan.v3.schema that return CustomErrorContextModifier and TypeMethodDescriptionAbstractSchemaTracker.errorContext()
ScanSchemaTracker.errorContext()
The scan-level error context used for errors which may occur before the first reader starts.Methods in org.apache.drill.exec.physical.impl.scan.v3.schema with parameters of type CustomErrorContextModifier 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) Constructors in org.apache.drill.exec.physical.impl.scan.v3.schema with parameters of type CustomErrorContextModifierConstructorDescriptionAbstractSchemaTracker
(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
Methods in org.apache.drill.exec.physical.resultSet that return CustomErrorContext -
Uses of CustomErrorContext in org.apache.drill.exec.physical.resultSet.impl
Fields in org.apache.drill.exec.physical.resultSet.impl declared as CustomErrorContextModifier and TypeFieldDescriptionprotected final CustomErrorContext
ProjectionFilter.BaseSchemaProjectionFilter.errorContext
protected final CustomErrorContext
ResultSetLoaderImpl.ResultSetOptions.errorContext
Context for error messages.protected CustomErrorContext
ResultSetOptionBuilder.errorContext
Error message contextMethods in org.apache.drill.exec.physical.resultSet.impl that return CustomErrorContextMethods in org.apache.drill.exec.physical.resultSet.impl with parameters of type CustomErrorContextModifier 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) Constructors in org.apache.drill.exec.physical.resultSet.impl with parameters of type CustomErrorContextModifierConstructorDescriptionDirectProjectionFilter
(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
Methods in org.apache.drill.exec.physical.resultSet.project with parameters of type CustomErrorContextModifier 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
Classes in org.apache.drill.exec.store.dfs.easy that implement CustomErrorContext -
Uses of CustomErrorContext in org.apache.drill.exec.store.easy.json.loader
Methods in org.apache.drill.exec.store.easy.json.loader with parameters of type CustomErrorContextModifier and TypeMethodDescriptionJsonLoaderImpl.JsonLoaderBuilder.errorContext
(CustomErrorContext errorContext) -
Uses of CustomErrorContext in org.apache.drill.exec.store.hdf5.writers
Fields in org.apache.drill.exec.store.hdf5.writers declared as CustomErrorContextConstructors in org.apache.drill.exec.store.hdf5.writers with parameters of type CustomErrorContextModifierConstructorDescriptionWriterSpec
(TupleWriter tupleWriter, TupleMetadata providedSchema, CustomErrorContext errorContext) -
Uses of CustomErrorContext in org.apache.drill.exec.store.http.util
Methods in org.apache.drill.exec.store.http.util with parameters of type CustomErrorContextModifier and TypeMethodDescriptionSimpleHttp.SimpleHttpBuilder.errorContext
(CustomErrorContext errorContext) Constructors in org.apache.drill.exec.store.http.util with parameters of type CustomErrorContextModifierConstructorDescriptionSimpleHttp
(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
Methods in org.apache.drill.exec.store.xml with parameters of type CustomErrorContextModifier and TypeMethodDescriptionvoid
XMLReader.open
(RowSetLoader rootRowWriter, CustomErrorContext errorContext)