public interface JavaTypeFactory extends RelDataTypeFactory
RelDataTypeFactory.FieldInfo, RelDataTypeFactory.FieldInfoBuilder| Modifier and Type | Method and Description |
|---|---|
RelDataType |
createStructType(Class clazz)
Creates a record type based upon the public fields of a Java class.
|
Type |
createSyntheticType(List<Type> types)
Creates a synthetic Java class whose fields have the given Java
types.
|
RelDataType |
createType(Type type)
Creates a type, deducing whether a record, scalar or primitive type
is needed.
|
Type |
getJavaClass(RelDataType type) |
RelDataType |
toSql(RelDataType type)
Converts a type in Java format to a SQL-oriented type.
|
builder, copyType, createArrayType, createDecimalProduct, createDecimalQuotient, createJavaType, createJoinType, createMapType, createMultisetType, createSqlIntervalType, createSqlType, createSqlType, createSqlType, createStructType, createStructType, createStructType, createTypeWithCharsetAndCollation, createTypeWithNullability, getDefaultCharset, getTypeSystem, leastRestrictive, useDoubleMultiplicationRelDataType createStructType(Class clazz)
clazz - Java classRelDataType createType(Type type)
type - Java type, such as a ClassType getJavaClass(RelDataType type)
Type createSyntheticType(List<Type> types)
RelDataType toSql(RelDataType type)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.