Package | Description |
---|---|
com.asakusafw.dmdl.directio.hive.common |
Hive support common classes.
|
com.asakusafw.dmdl.java.emitter |
Java source code emitters.
|
com.asakusafw.dmdl.model |
Syntactic models for DMDL.
|
com.asakusafw.dmdl.semantics.type |
Core types for intermediate representations of DMDL.
|
com.asakusafw.dmdl.util |
Internal common libraries for DMDL.
|
Modifier and Type | Method and Description |
---|---|
Set<BasicTypeKind> |
HiveFieldTrait.TypeKind.getSupportedKinds()
Returns the supported kinds.
|
Modifier and Type | Method and Description |
---|---|
static Class<?> |
EmitContext.getFieldTypeAsClass(BasicTypeKind type)
Returns the corresponded property data type as related class object.
|
Modifier and Type | Field and Description |
---|---|
BasicTypeKind |
AstBasicType.kind
The kind of this type.
|
Modifier and Type | Method and Description |
---|---|
static BasicTypeKind |
BasicTypeKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BasicTypeKind[] |
BasicTypeKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
AstBasicType(Region region,
BasicTypeKind kind)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
BasicTypeKind |
BasicType.getKind()
Returns the kind of this type.
|
Constructor and Description |
---|
BasicType(AstBasicType originalAst,
BasicTypeKind kind)
Creates and returns a new instance.
|
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.
|
static boolean |
DeclarationUtil.isType(Type type,
BasicTypeKind kind)
Returns whether the type has the specified kind or not.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.