Class JavaTypeFactoryExtImpl
- java.lang.Object
-
- org.apache.calcite.rel.type.RelDataTypeFactoryImpl
-
- org.apache.calcite.sql.type.SqlTypeFactoryImpl
-
- org.apache.calcite.jdbc.JavaTypeFactoryImpl
-
- org.apache.calcite.adapter.geode.util.JavaTypeFactoryExtImpl
-
- All Implemented Interfaces:
JavaTypeFactory
,RelDataTypeFactory
public class JavaTypeFactoryExtImpl extends JavaTypeFactoryImpl
Implementation ofJavaTypeFactory
.NOTE: This class is experimental and subject to change/removal without notice.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.jdbc.JavaTypeFactoryImpl
JavaTypeFactoryImpl.SyntheticRecordType
-
Nested classes/interfaces inherited from class org.apache.calcite.rel.type.RelDataTypeFactoryImpl
RelDataTypeFactoryImpl.JavaType
-
Nested classes/interfaces inherited from interface org.apache.calcite.rel.type.RelDataTypeFactory
RelDataTypeFactory.Builder, RelDataTypeFactory.FieldInfo, RelDataTypeFactory.FieldInfoBuilder
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.rel.type.RelDataTypeFactoryImpl
typeSystem
-
-
Constructor Summary
Constructors Constructor Description JavaTypeFactoryExtImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelDataType
createPdxType(org.apache.geode.pdx.PdxInstance pdxInstance)
RelDataType
createPdxType2(org.apache.geode.pdx.PdxInstance pdxInstance)
RelDataType
createStructType(java.lang.Class type)
private void
recursiveCreatePdxType(org.apache.geode.pdx.PdxInstance pdxInstance, java.util.List<RelDataTypeField> list, java.lang.String fieldNamePrefix)
-
Methods inherited from class org.apache.calcite.jdbc.JavaTypeFactoryImpl
createSyntheticType, createType, getJavaClass, toSql, toSql
-
Methods inherited from class org.apache.calcite.sql.type.SqlTypeFactoryImpl
canonize, createArrayType, createMapType, createMultisetType, createSqlIntervalType, createSqlType, createSqlType, createSqlType, createTypeWithCharsetAndCollation, createTypeWithNullability, createUnknownType, leastRestrictive
-
Methods inherited from class org.apache.calcite.rel.type.RelDataTypeFactoryImpl
builder, canonize, copyType, createDecimalProduct, createDecimalQuotient, createJavaType, createJoinType, createStructType, createStructType, createStructType, createStructType, getDefaultCharset, getTypeSystem, isJavaType, leastRestrictiveStructuredType, useDoubleMultiplication
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.calcite.rel.type.RelDataTypeFactory
builder, copyType, createArrayType, createDecimalProduct, createDecimalQuotient, createJavaType, createJoinType, createMapType, createMultisetType, createSqlIntervalType, createSqlType, createSqlType, createSqlType, createStructType, createStructType, createStructType, createStructType, createTypeWithCharsetAndCollation, createTypeWithNullability, createUnknownType, getDefaultCharset, getTypeSystem, leastRestrictive, useDoubleMultiplication
-
-
-
-
Method Detail
-
createStructType
public RelDataType createStructType(java.lang.Class type)
- Specified by:
createStructType
in interfaceJavaTypeFactory
- Overrides:
createStructType
in classJavaTypeFactoryImpl
- Parameters:
type
- Java class- Returns:
- Record type that remembers its Java class
-
createPdxType
public RelDataType createPdxType(org.apache.geode.pdx.PdxInstance pdxInstance)
-
createPdxType2
public RelDataType createPdxType2(org.apache.geode.pdx.PdxInstance pdxInstance)
-
recursiveCreatePdxType
private void recursiveCreatePdxType(org.apache.geode.pdx.PdxInstance pdxInstance, java.util.List<RelDataTypeField> list, java.lang.String fieldNamePrefix)
-
-