Package org.apache.calcite.jdbc
Class JavaRecordType
- java.lang.Object
-
- org.apache.calcite.rel.type.RelDataTypeImpl
-
- org.apache.calcite.rel.type.RelRecordType
-
- org.apache.calcite.jdbc.JavaRecordType
-
- All Implemented Interfaces:
java.io.Serializable
,RelDataType
,RelDataTypeFamily
public class JavaRecordType extends RelRecordType
Record type based on a Java class. The fields of the type are the fields of the class.NOTE: This class is experimental and subject to change/removal without notice.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Class
clazz
-
Fields inherited from class org.apache.calcite.rel.type.RelDataTypeImpl
digest, fieldList
-
Fields inherited from interface org.apache.calcite.rel.type.RelDataType
PRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED
-
-
Constructor Summary
Constructors Constructor Description JavaRecordType(java.util.List<RelDataTypeField> fields, java.lang.Class clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
Methods inherited from class org.apache.calcite.rel.type.RelRecordType
generateTypeString, getPrecision, getSqlTypeName, getStructKind, isNullable
-
Methods inherited from class org.apache.calcite.rel.type.RelDataTypeImpl
computeDigest, extra, getCharset, getCollation, getComparability, getComponentType, getFamily, getField, getFieldCount, getFieldList, getFieldNames, getFullTypeString, getIntervalQualifier, getKeyType, getPrecedenceList, getScale, getSqlIdentifier, getValueType, isDynamicStruct, isStruct, proto, proto, proto, proto, toString
-
-
-
-
Constructor Detail
-
JavaRecordType
public JavaRecordType(java.util.List<RelDataTypeField> fields, java.lang.Class clazz)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classRelDataTypeImpl
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRelDataTypeImpl
-
-