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.java.analyzer |
Enhances analyzer for Java source generation.
|
com.asakusafw.dmdl.java.emitter |
Java source code emitters.
|
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.
|
com.asakusafw.dmdl.windgate.stream.driver |
DMDL extensions for WindGate.
|
Modifier and Type | Method and Description |
---|---|
DmdlSemantics |
Context.getWorld()
Returns the root semantics model of current context.
|
DmdlSemantics |
DmdlAnalyzer.resolve()
Resolves the all added definitions and returns the root semantics model.
|
Modifier and Type | Method and Description |
---|---|
default void |
DmdlAnalyzerEnhancer.validateSyntax(DmdlSemantics root,
AstModelDefinition<?> definition)
Validates the syntax of definitions.
|
Constructor and Description |
---|
Context(DmdlSemantics world,
Iterable<? extends TypeDriver> typeDrivers,
Iterable<? extends AttributeDriver> attributeDrivers)
Creates and returns a new instance.
|
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 |
---|---|
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) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
CsvTextDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
void |
CsvTextDriver.verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
void |
TabularTextDriver.process(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
void |
TabularTextDriver.verify(DmdlSemantics environment,
ModelDeclaration declaration,
AstAttribute attribute) |
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 | Method and Description |
---|---|
void |
JavaDataModelAnalyzerEnhancer.validateSyntax(DmdlSemantics root,
AstModelDefinition<?> definition) |
Modifier and Type | Method and Description |
---|---|
DmdlSemantics |
EmitContext.getSemantics()
Returns the root semantics model.
|
Constructor and Description |
---|
ConcreteModelEmitter(DmdlSemantics semantics,
Configuration config,
ModelDeclaration model,
JavaDataModelDriver driver)
Creates and returns a new instance.
|
EmitContext(DmdlSemantics semantics,
Configuration config,
ModelDeclaration model,
String categoryName,
String typeNamePattern)
Creates and returns a new instance.
|
JavaModelClassGenerator(DmdlSemantics semantics,
Configuration config,
JavaDataModelDriver driver)
Creates and returns a new instance.
|
ProjectiveModelEmitter(DmdlSemantics semantics,
Configuration config,
ModelDeclaration model,
JavaDataModelDriver driver)
Creates and returns a new instance.
|
Constructor and Description |
---|
ModelDeclaration(DmdlSemantics owner,
AstModelDefinition<?> originalAst,
AstSimpleName name,
AstDescription description,
List<? extends AstAttribute> attributes)
Creates and returns a new instance.
|
ModelSymbol(DmdlSemantics owner,
AstSimpleName name)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
DmdlSemantics |
AttributeDriver.Context.getEnvironment()
Returns the current environment.
|
DmdlSemantics |
TypeDriver.Context.getEnvironment()
Returns the current environment.
|
Modifier and Type | Method and Description |
---|---|
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 |
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 |
---|---|
DmdlSemantics |
AnalyzeTask.process(DmdlSourceRepository repository)
Analyzes all models from source repository in the current configuration.
|
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.checkPresent(DmdlSemantics environment,
AstNode targetNode,
String targetLabel,
String value)
Checks which string is not null and report diagnostics.
|
static boolean |
AttributeUtil.checkRange(DmdlSemantics environment,
AstNode targetNode,
String targetLabel,
BigInteger value,
Long minimum,
Long maximum)
Checks integer range and report diagnostics.
|
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.