Package | Description |
---|---|
com.asakusafw.directio.hive.util |
Utilities for Hive.
|
com.asakusafw.info.hive |
Schema information of Hive-associated tables.
|
Modifier and Type | Method and Description |
---|---|
static FieldType |
SchemaUtil.toPortable(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo info)
Converts a Hive type into an equivalent portable representation.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayType
Represents a Hive array type.
|
class |
DecimalType
Represents a Hive decimal type.
|
class |
MapType
Represents a Hive map type.
|
class |
PlainType
Represents a Hive plain type.
|
class |
SequenceType
Represents a Hive sequence type.
|
class |
StructType
Represents a Hive struct type.
|
class |
UnionType
Represents a Hive union type.
|
Modifier and Type | Method and Description |
---|---|
FieldType |
ArrayType.getElementType()
Returns the element type.
|
FieldType |
MapType.getKeyType()
Returns the key type.
|
FieldType |
ColumnInfo.getType()
Returns the column type.
|
FieldType |
MapType.getValueType()
Returns the value type.
|
Modifier and Type | Method and Description |
---|---|
List<FieldType> |
UnionType.getElementTypes()
Returns the element types.
|
Modifier and Type | Method and Description |
---|---|
TableInfo.Builder |
TableInfo.Builder.withColumn(String columnName,
FieldType columnType)
Adds a column.
|
Constructor and Description |
---|
ArrayType(FieldType elementType)
Creates a new instance.
|
ColumnInfo(String name,
FieldType type)
Creates a new instance.
|
ColumnInfo(String name,
FieldType type,
String comment)
Creates a new instance.
|
MapType(FieldType keyType,
FieldType valueType)
Creates a new instance.
|
UnionType(FieldType... elementTypes)
Creates a new instance.
|
Constructor and Description |
---|
UnionType(List<? extends FieldType> elementTypes)
Creates a new instance.
|
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.