public class OrcFileDriver extends ModelAttributeDriver
@directio.hive.orc attributes.
table_name=[string-literal] as explicit table name (default: data model name) format_version=[string-literal] as ORCFile format version (default: system default) compression=[string-literal] as compression kind name (default: "snappy") stripe_size=integer as stripe size (default: system default) field_mappping=[string-literal] (default: "position") missing_source=[string-literal] (default: "logging") missing_target=[string-literal] (default: "logging") incompatible_type=[string-literal] (default: "fail") AttributeDriver.Context| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_COMPRESSION_KIND
The element name of compression kind name.
|
static String |
ELEMENT_FIELD_MAPPING
The element name of field mapping strategy.
|
static String |
ELEMENT_FORMAT_VERSION
The element name of ORCFile format version.
|
static String |
ELEMENT_INCOMPATIBLE_TYPE
The element name of missing incompatible type handling strategy.
|
static String |
ELEMENT_MISSING_SOURCE
The element name of missing source handling strategy.
|
static String |
ELEMENT_MISSING_TARGET
The element name of missing target handling strategy.
|
static String |
ELEMENT_STRIPE_SIZE
The element name of stripe size.
|
static String |
ELEMENT_TABLE_NAME
The element name of explicit table name.
|
static String |
TARGET_NAME
The attribute name.
|
| Constructor and Description |
|---|
OrcFileDriver() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTargetName()
Returns the qualified name of the target attribute.
|
void |
process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute)
Processes and modifies the attributed data model declaration.
|
void |
verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute)
Verifies the attributed declaration.
|
process, verifypublic static final String TARGET_NAME
public static final String ELEMENT_TABLE_NAME
public static final String ELEMENT_FORMAT_VERSION
public static final String ELEMENT_COMPRESSION_KIND
public static final String ELEMENT_STRIPE_SIZE
public static final String ELEMENT_FIELD_MAPPING
public static final String ELEMENT_MISSING_SOURCE
public static final String ELEMENT_MISSING_TARGET
public static final String ELEMENT_INCOMPATIBLE_TYPE
public String getTargetName()
AttributeDriverpublic void process(DmdlSemantics environment, ModelDeclaration declaration, AstAttribute attribute)
ModelAttributeDriverprocess in class ModelAttributeDriverenvironment - the processing environmentdeclaration - the model declaration with the attributeattribute - the attribute with the target nameAttributeDriver.getTargetName()public void verify(DmdlSemantics environment, ModelDeclaration declaration, AstAttribute attribute)
ModelAttributeDriverprocessed.verify in class ModelAttributeDriverenvironment - the processing environmentdeclaration - the model declaration with the attributeattribute - the attribute with the target nameAttributeDriver.getTargetName()Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.