public static enum ScanLevelProjection.ScanProjectionType extends Enum<ScanLevelProjection.ScanProjectionType>
Enum Constant and Description |
---|
EMPTY
No projection.
|
EXPLICIT
Explicit projection.
|
SCHEMA_WILDCARD
Wildcard query expanded using an output schema.
|
STRICT_SCHEMA_WILDCARD
Wildcard query expanded using an output schema in "strict" mode.
|
WILDCARD
Wildcard.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isWildcard() |
static ScanLevelProjection.ScanProjectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanLevelProjection.ScanProjectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanLevelProjection.ScanProjectionType EMPTY
public static final ScanLevelProjection.ScanProjectionType WILDCARD
public static final ScanLevelProjection.ScanProjectionType EXPLICIT
public static final ScanLevelProjection.ScanProjectionType SCHEMA_WILDCARD
TODO: Provide a strict mode that forces the use of the types and modes from the output schema. In lenient mode, the framework will adjust mode to allow the query to succeed (changing a required mode to optional, say, if the column is not provided by the reader and has no default. Strict mode would fail the query in this case.)
TODO: Enable schema smoothing in this case: use that mechanism to smooth over the "extra" reader columns.
public static final ScanLevelProjection.ScanProjectionType STRICT_SCHEMA_WILDCARD
TODO: Provide a strict column mode that will fail the query if a projected column is required, has no default, and is not provided by the reader. In the normal lenient mode, the scan framework will adjust the data mode to optional so that the query will run.
public static ScanLevelProjection.ScanProjectionType[] values()
for (ScanLevelProjection.ScanProjectionType c : ScanLevelProjection.ScanProjectionType.values()) System.out.println(c);
public static ScanLevelProjection.ScanProjectionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isWildcard()
Copyright © 1970 The Apache Software Foundation. All rights reserved.