public interface ProjectionFilter
Projection filters should not need to be extensible; filtering depends only on projection and provided schema.
Modifier and Type | Interface and Description |
---|---|
static class |
ProjectionFilter.BaseSchemaProjectionFilter
Schema-based projection.
|
static class |
ProjectionFilter.CompoundProjectionFilter
Compound filter for combining direct and provided schema projections.
|
static class |
ProjectionFilter.DirectProjectionFilter
Projection filter based on the (parsed) projection list.
|
static class |
ProjectionFilter.ImplicitProjectionFilter
Implied projection: either project all or project none.
|
static class |
ProjectionFilter.ProjResult |
static class |
ProjectionFilter.SchemaProjectionFilter
Projection filter in which a schema exactly defines the set of allowed
columns, and their types.
|
static class |
ProjectionFilter.TypeProjectionFilter
Projection based on a non-strict provided schema which enforces the type of known
columns, but has no opinion about additional columns.
|
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
logger |
static ProjectionFilter.ProjResult |
NOT_PROJECTED |
static ProjectionFilter |
PROJECT_ALL |
static ProjectionFilter |
PROJECT_NONE |
static ProjectionFilter.ProjResult |
PROJECTED |
Modifier and Type | Method and Description |
---|---|
static ProjectionFilter |
definedSchemaFilter(TupleMetadata definedSchema,
CustomErrorContext errorContext) |
boolean |
isEmpty() |
boolean |
isProjected(String colName) |
ProjectionFilter.ProjResult |
projection(ColumnMetadata columnSchema) |
static ProjectionFilter |
projectionFilter(RequestedTuple tupleProj,
CustomErrorContext errorContext) |
static ProjectionFilter |
providedSchemaFilter(RequestedTuple tupleProj,
TupleMetadata providedSchema,
CustomErrorContext errorContext) |
static final org.slf4j.Logger logger
static final ProjectionFilter PROJECT_ALL
static final ProjectionFilter PROJECT_NONE
static final ProjectionFilter.ProjResult NOT_PROJECTED
static final ProjectionFilter.ProjResult PROJECTED
ProjectionFilter.ProjResult projection(ColumnMetadata columnSchema)
boolean isProjected(String colName)
boolean isEmpty()
static ProjectionFilter projectionFilter(RequestedTuple tupleProj, CustomErrorContext errorContext)
static ProjectionFilter providedSchemaFilter(RequestedTuple tupleProj, TupleMetadata providedSchema, CustomErrorContext errorContext)
static ProjectionFilter definedSchemaFilter(TupleMetadata definedSchema, CustomErrorContext errorContext)
Copyright © 1970 The Apache Software Foundation. All rights reserved.