Package | Description |
---|---|
com.asakusafw.dmdl.directio.csv.driver |
DMDL extensions for Direct I/O.
|
com.asakusafw.dmdl.directio.hive.common |
Hive support common classes.
|
com.asakusafw.dmdl.directio.json.driver |
JSON support for Direct I/O.
|
com.asakusafw.dmdl.directio.line.driver |
Line based text support for Direct I/O.
|
com.asakusafw.dmdl.directio.text |
Formatted text support for Direct I/O.
|
com.asakusafw.dmdl.directio.tsv.driver |
Special TSV support for Direct I/O.
|
com.asakusafw.dmdl.java.emitter |
Java source code emitters.
|
com.asakusafw.dmdl.java.spi |
Extension points for DMDL Java program emittion.
|
com.asakusafw.dmdl.semantics |
Semantic intermediate representations of DMDL.
|
com.asakusafw.dmdl.spi |
Extension points for DMDL semantic analyzers.
|
com.asakusafw.dmdl.util |
Internal common libraries for DMDL.
|
com.asakusafw.dmdl.windgate.csv.driver |
DMDL extensions for WindGate CSV.
|
com.asakusafw.dmdl.windgate.jdbc.driver |
DMDL extensions for WindGate.
|
Modifier and Type | Method and Description |
---|---|
static String |
CsvFieldTrait.getFieldName(PropertyDeclaration property)
Returns the CSV field name of the property.
|
static CsvFieldTrait.Kind |
CsvFieldTrait.getKind(PropertyDeclaration property)
Returns the CSV field kind of the property.
|
static CsvFieldTrait.Kind |
CsvFieldTrait.getKind(PropertyDeclaration property,
CsvFieldTrait.Kind defaultKind)
Returns the CSV field kind of the property.
|
static CsvFieldTrait.QuoteStrategy |
CsvFieldTrait.getQuoteStrategy(PropertyDeclaration property)
Returns the quoting strategy for the CSV field property.
|
void |
CsvRecordNumberDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
CsvFileNameDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
CsvLineNumberDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
CsvFieldDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
CsvIgnoreDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
static HiveFieldTrait |
HiveFieldTrait.get(PropertyDeclaration declaration)
Returns the
HiveFieldTrait for the target property declaration. |
static String |
HiveFieldTrait.getColumnName(PropertyDeclaration property)
Returns the explicit/inferred column name.
|
List<Annotation> |
HiveDataModelEmitter.getMemberAnnotations(EmitContext context,
PropertyDeclaration property) |
static org.apache.hadoop.hive.serde2.typeinfo.TypeInfo |
HiveFieldTrait.getNaturalTypeInfo(PropertyDeclaration property)
Returns the natural type information for the property.
|
static org.apache.hadoop.hive.serde2.typeinfo.TypeInfo |
HiveFieldTrait.getTypeInfo(PropertyDeclaration property)
Returns the type information for the property.
|
void |
HiveVarcharDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
HiveTimestampDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
HiveCharDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
HiveDecimalDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
HiveFieldDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
HiveIgnoreDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
HiveStringDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
static Optional<JsonPropertyTrait> |
JsonPropertyTrait.find(PropertyDeclaration property)
Returns the trait for the property.
|
static JsonPropertyTrait |
JsonPropertyTrait.get(PropertyDeclaration property)
Returns the trait for the property.
|
static JsonPropertyTrait.Kind |
JsonPropertyTrait.getKind(PropertyDeclaration property)
Returns the field kind of the property.
|
static String |
JsonPropertyTrait.getName(PropertyDeclaration property)
Returns the field name of the property.
|
static JsonPropertySettings |
JsonPropertyTrait.getSettings(PropertyDeclaration property)
Returns the field settings of the property.
|
void |
JsonLineNumberDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JsonFileNameDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JsonPropertyDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JsonIgnoreDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JsonRecordNumberDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JsonLineNumberDriver.verify(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JsonFileNameDriver.verify(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JsonPropertyDriver.verify(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JsonRecordNumberDriver.verify(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
static LineFieldTrait.Kind |
LineFieldTrait.getKind(PropertyDeclaration property)
Returns the CSV field kind of the property.
|
void |
LineFileNameDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
LineLineNumberDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
LineBodyDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
static Optional<TextFieldTrait> |
TextFieldTrait.find(PropertyDeclaration property)
Returns the trait for the property.
|
static TextFieldTrait |
TextFieldTrait.get(PropertyDeclaration property)
Returns the trait for the property.
|
static TextFieldTrait.Kind |
TextFieldTrait.getKind(PropertyDeclaration property)
Returns the field kind of the property.
|
static String |
TextFieldTrait.getName(PropertyDeclaration property)
Returns the field name of the property.
|
static TextFieldSettings |
TextFieldTrait.getSettings(PropertyDeclaration property)
Returns the field settings of the property.
|
void |
TextLineNumberDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TextRecordNumberDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TextFileNameDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TextIgnoreDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TextFieldDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TextLineNumberDriver.verify(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TextRecordNumberDriver.verify(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TextFileNameDriver.verify(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TextFieldDriver.verify(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
static String |
TsvFieldTrait.getFieldName(PropertyDeclaration property)
Returns the TSV field name of the property.
|
static TsvFieldTrait.Kind |
TsvFieldTrait.getKind(PropertyDeclaration property,
TsvFieldTrait.Kind defaultKind)
Returns the TSV field kind of the property.
|
void |
TsvIgnoreDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TsvFieldDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
TsvFileNameDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
Expression |
EmitContext.getFieldInitializer(PropertyDeclaration property)
Returns the corresponded property initializer.
|
Type |
EmitContext.getFieldType(PropertyDeclaration property)
Returns the corresponded property data type.
|
static Class<?> |
EmitContext.getFieldTypeAsClass(PropertyDeclaration property)
Returns the corresponded property data type as related class object.
|
List<Annotation> |
CompositeDataModelDriver.getMemberAnnotations(EmitContext context,
PropertyDeclaration property) |
SimpleName |
EmitContext.getOptionGetterName(PropertyDeclaration property)
Returns the corresponded option getter name.
|
SimpleName |
EmitContext.getOptionSetterName(PropertyDeclaration property)
Returns the corresponded option setter name.
|
SimpleName |
EmitContext.getValueGetterName(PropertyDeclaration property)
Returns the corresponded value getter name.
|
SimpleName |
EmitContext.getValueSetterName(PropertyDeclaration property)
Returns the corresponded value setter name.
|
Type |
EmitContext.getValueType(PropertyDeclaration property)
Returns the corresponded property value type.
|
static Class<?> |
EmitContext.getValueTypeAsClass(PropertyDeclaration property)
Returns the corresponded property value type as related class object.
|
Modifier and Type | Method and Description |
---|---|
List<Annotation> |
JavaDataModelDriver.getMemberAnnotations(EmitContext context,
PropertyDeclaration property)
Returns the type annotations to attach to the property.
|
Modifier and Type | Method and Description |
---|---|
PropertyDeclaration |
ModelDeclaration.declareProperty(AstNode propertyOriginalAst,
AstSimpleName propertyName,
Type propertyType,
AstDescription propertyDescription,
List<? extends AstAttribute> propertyAttributes)
Declares a new property into this model.
|
PropertyDeclaration |
PropertySymbol.findDeclaration() |
PropertyDeclaration |
ModelDeclaration.findPropertyDeclaration(String propertyName)
Returns a declared property in this model.
|
Modifier and Type | Method and Description |
---|---|
List<PropertyDeclaration> |
ModelDeclaration.getDeclaredProperties()
Returns all declared properties in this model.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
PropertyAttributeDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute)
Processes and modifies the attributed property declaration.
|
void |
PropertyAttributeDriver.verify(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute)
Verifies the attributed declaration.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AttributeUtil.checkFieldType(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute,
BasicTypeKind... types)
Checks field type and report diagnostics.
|
static boolean |
AttributeUtil.hasFieldType(PropertyDeclaration declaration,
BasicTypeKind... candidates)
Returns whether or not the given field has one of the given types.
|
Modifier and Type | Method and Description |
---|---|
static String |
CsvFieldTrait.getFieldName(PropertyDeclaration property)
Returns the CSV field name of the property.
|
static CsvFieldTrait.Kind |
CsvFieldTrait.getKind(PropertyDeclaration property,
CsvFieldTrait.Kind defaultKind)
Returns the CSV field kind of the property.
|
static CsvFieldTrait.QuoteStrategy |
CsvFieldTrait.getQuoteStrategy(PropertyDeclaration property)
Returns the quoting strategy for the CSV field property.
|
void |
CsvRecordNumberDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
CsvFieldDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
CsvIgnoreDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
CsvFileNameDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
CsvLineNumberDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
void |
ColumnDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JdbcColumnDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.