Package | Description |
---|---|
com.asakusafw.dmdl.analyzer |
Sematic analyzer for DMDL.
|
com.asakusafw.dmdl.analyzer.driver |
Core sematic analyzer drivers.
|
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.hive.orc |
Hive ORCFile support.
|
com.asakusafw.dmdl.directio.hive.parquet |
Hive Parquet file support.
|
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.sequencefile.driver |
DMDL SequenceFile extensions for Direct I/O.
|
com.asakusafw.dmdl.directio.text |
Formatted text support for Direct I/O.
|
com.asakusafw.dmdl.directio.text.csv |
CSV support for Direct I/O.
|
com.asakusafw.dmdl.directio.text.tabular |
Tabular-style text support for Direct I/O.
|
com.asakusafw.dmdl.directio.tsv.driver |
Special TSV support for Direct I/O.
|
com.asakusafw.dmdl.directio.util |
Utilities for DMDL for Direct I/O.
|
com.asakusafw.dmdl.model |
Syntactic models for DMDL.
|
com.asakusafw.dmdl.semantics |
Semantic intermediate representations of DMDL.
|
com.asakusafw.dmdl.semantics.trait |
Core traits for 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.
|
com.asakusafw.dmdl.windgate.stream.driver |
DMDL extensions for WindGate.
|
Modifier and Type | Method and Description |
---|---|
AttributeDriver |
Context.findAttributeDriver(AstAttribute attribute)
Returns an attribute driver corresponding to the attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
NamespaceDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
void |
AutoProjectionDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
void |
CsvFormatDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
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 |
---|---|
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 |
---|---|
void |
OrcFileDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
void |
OrcFileDriver.verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
void |
ParquetFileDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
void |
ParquetFileDriver.verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
AstAttribute |
JsonFormatTrait.getOriginalAst() |
Modifier and Type | Method and Description |
---|---|
static JsonFormatSettings |
JsonFormatSettings.consume(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements)
Consumes attribute elements about format settings.
|
static JsonPropertySettings |
JsonPropertySettings.consume(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements)
Consumes attribute elements about property settings.
|
static JsonStreamSettings |
JsonStreamSettings.consume(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements)
Consumes attribute elements about I/O stream settings.
|
void |
JsonFormatDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
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) |
boolean |
JsonFormatSettings.verify(DmdlSemantics environment,
AstAttribute attribute)
Verifies this settings.
|
boolean |
JsonPropertySettings.verify(DmdlSemantics environment,
AstAttribute attribute)
Verifies this settings.
|
boolean |
JsonStreamSettings.verify(DmdlSemantics environment,
AstAttribute attribute)
Verifies this settings.
|
void |
JsonFormatDriver.verify(DmdlSemantics environment,
ModelDeclaration 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) |
Constructor and Description |
---|
JsonFormatTrait(AstAttribute attribute,
JsonStreamSettings streamSettings,
JsonFormatSettings formatSettings,
JsonPropertySettings propertySettings)
Creates a new instance.
|
JsonPropertyTrait(AstAttribute attribute,
JsonPropertyTrait.Kind kind)
Creates a new instance.
|
JsonPropertyTrait(AstAttribute attribute,
String name,
JsonPropertySettings settings)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
LineFormatDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
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) |
void |
LineFormatDriver.verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
void |
SequenceFileFormatDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
static EscapeSettings |
EscapeSettings.consume(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements)
Consumes attribute elements about escape settings, and returns corresponding
EscapeSettings . |
static QuoteSettings |
QuoteSettings.consume(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements)
Consumes attribute elements about escape settings, and returns corresponding
QuoteSettings . |
static TextFieldSettings |
TextFieldSettings.consume(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements)
Consumes attribute elements about escape settings, and returns corresponding
EscapeSettings . |
static TextFormatSettings |
TextFormatSettings.consume(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements)
Consumes attribute elements about escape settings, and returns corresponding
EscapeSettings . |
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) |
boolean |
EscapeSettings.verify(DmdlSemantics environment,
AstAttribute attribute)
Verifies this settings.
|
boolean |
QuoteSettings.verify(DmdlSemantics environment,
AstAttribute attribute)
Verifies this settings.
|
boolean |
TextFieldSettings.verify(DmdlSemantics environment,
AstAttribute attribute)
Verifies this settings.
|
boolean |
TextFormatSettings.verify(DmdlSemantics environment,
AstAttribute attribute)
Verifies this settings.
|
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) |
Constructor and Description |
---|
TextFieldTrait(AstAttribute attribute,
String name,
TextFieldSettings settings)
Creates a new instance.
|
TextFieldTrait(AstAttribute attribute,
TextFieldTrait.Kind kind)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
AstAttribute |
CsvTextTrait.getOriginalAst() |
Modifier and Type | Method and Description |
---|---|
void |
CsvTextDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
void |
CsvTextDriver.verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
Constructor and Description |
---|
CsvTextTrait(AstAttribute attribute,
TextFormatSettings formatSettings,
QuoteSettings quoteSettings,
TextFieldSettings fieldSettings)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
AstAttribute |
TabularTextTrait.getOriginalAst() |
Modifier and Type | Method and Description |
---|---|
void |
TabularTextDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
void |
TabularTextDriver.verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
Constructor and Description |
---|
TabularTextTrait(AstAttribute attribute,
TextFormatSettings formatSettings,
EscapeSettings escapeSettings,
TextFieldSettings fieldSettings)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
TsvFormatDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
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) |
Constructor and Description |
---|
AttributeAnalyzer(DmdlSemantics environment,
AstAttribute attribute)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
List<AstAttribute> |
AstPropertyFolding.attributes
The attributes of the defining property.
|
List<AstAttribute> |
AstPropertyDefinition.attributes
The attributes of the defining property.
|
List<AstAttribute> |
AstModelDefinition.attributes
The attributes of the defining model.
|
List<AstAttribute> |
AstPropertyMapping.attributes
The attributes of the defining property.
|
Modifier and Type | Method and Description |
---|---|
R |
AstNode.Visitor.visitAttribute(C context,
AstAttribute node)
Called back from
AstAttribute . |
R |
AstNode.AbstractVisitor.visitAttribute(C context,
AstAttribute node) |
Constructor and Description |
---|
AstModelDefinition(Region region,
ModelDefinitionKind kind,
AstDescription description,
List<AstAttribute> attributes,
AstSimpleName name,
AstExpression<T> expression)
Creates and returns a new instance.
|
AstPropertyDefinition(Region region,
AstDescription description,
List<AstAttribute> attributes,
AstSimpleName name,
AstType type)
Creates and returns a new instance.
|
AstPropertyDefinition(Region region,
AstDescription description,
List<AstAttribute> attributes,
AstSimpleName name,
AstType type,
AstAttributeValue expression)
Creates and returns a new instance.
|
AstPropertyFolding(Region region,
AstDescription description,
List<AstAttribute> attributes,
AstName aggregator,
AstSimpleName source,
AstSimpleName target)
Creates and returns a new instance.
|
AstPropertyMapping(Region region,
AstDescription description,
List<AstAttribute> attributes,
AstSimpleName source,
AstSimpleName target)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<AstAttribute> |
PropertyReferenceDeclaration.getAttributes() |
List<AstAttribute> |
PropertyDeclaration.getAttributes() |
List<AstAttribute> |
Declaration.getAttributes()
Returns the attached attributes of this element.
|
List<AstAttribute> |
ModelDeclaration.getAttributes() |
Modifier and Type | Method and Description |
---|---|
ModelDeclaration |
DmdlSemantics.declareModel(AstModelDefinition<?> modelOriginalAst,
AstSimpleName modelName,
AstDescription modelDescription,
List<? extends AstAttribute> modelAttributes)
Declares a new property into this model.
|
PropertyDeclaration |
ModelDeclaration.declareProperty(AstNode propertyOriginalAst,
AstSimpleName propertyName,
Type propertyType,
AstDescription propertyDescription,
List<? extends AstAttribute> propertyAttributes)
Declares a new property into this model.
|
PropertyReferenceDeclaration |
ModelDeclaration.declarePropertyReference(AstNode memberOriginalAst,
AstSimpleName memberName,
Type referentType,
PropertyReferenceDeclaration.ReferenceContainer<?> references,
AstDescription memberDescription,
List<? extends AstAttribute> memberAttributes)
Declares a new property reference into this model.
|
Constructor and Description |
---|
ModelDeclaration(DmdlSemantics owner,
AstModelDefinition<?> originalAst,
AstSimpleName name,
AstDescription description,
List<? extends AstAttribute> attributes)
Creates and returns a new instance.
|
PropertyDeclaration(ModelSymbol owner,
AstNode originalAst,
AstSimpleName name,
Type type,
AstDescription description,
List<? extends AstAttribute> attributes)
Creates and returns a new instance.
|
PropertyReferenceDeclaration(AstNode originalAst,
ModelSymbol owner,
AstSimpleName name,
Type referentType,
PropertyReferenceDeclaration.ReferenceContainer<?> reference,
AstDescription description,
List<? extends AstAttribute> attributes)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
AstAttribute |
NamespaceTrait.getOriginalAst() |
Constructor and Description |
---|
NamespaceTrait(AstAttribute originalAst,
AstName namespace)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyAttributeDriver.process(AttributeDriver.Context context,
Declaration declaration,
AstAttribute attribute) |
void |
ModelAttributeDriver.process(AttributeDriver.Context context,
Declaration declaration,
AstAttribute attribute) |
void |
AttributeDriver.process(AttributeDriver.Context context,
Declaration declaration,
AstAttribute attribute)
Processes and modifies the attributed declaration.
|
abstract void |
ModelAttributeDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute)
Processes and modifies the attributed data model declaration.
|
abstract void |
PropertyAttributeDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute)
Processes and modifies the attributed property declaration.
|
void |
PropertyAttributeDriver.verify(AttributeDriver.Context context,
Declaration declaration,
AstAttribute attribute) |
void |
ModelAttributeDriver.verify(AttributeDriver.Context context,
Declaration declaration,
AstAttribute attribute) |
default void |
AttributeDriver.verify(AttributeDriver.Context context,
Declaration declaration,
AstAttribute attribute)
Verifies the attributed declaration.
|
void |
ModelAttributeDriver.verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute)
Verifies the attributed 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 Map<String,AstAttributeElement> |
AttributeUtil.getElementMap(AstAttribute attribute)
Extract the attributes into (name, element) pairs.
|
static List<Diagnostic> |
AttributeUtil.reportInvalidElements(AstAttribute attribute,
Collection<? extends AstAttributeElement> elements)
Returns erroneous diagnostics for the undefined
attribut elements . |
static AstLiteral |
AttributeUtil.takeLiteral(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements,
String elementName,
LiteralKind literalKind,
boolean mandatory)
Removes
AstAttributeElement from elements and extracts string value from it. |
static String |
AttributeUtil.takeString(DmdlSemantics environment,
AstAttribute attribute,
Map<String,AstAttributeElement> elements,
String elementName,
boolean mandatory)
Removes
AstAttributeElement from elements and extracts string value from it. |
Modifier and Type | Method and Description |
---|---|
void |
CsvSupportDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
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 |
JdbcTableDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
void |
ColumnDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
void |
JdbcColumnDriver.process(DmdlSemantics environment,
PropertyDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
void |
StreamSupportDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.