Package org.apache.calcite.jdbc
Class JavaTypeFactoryImpl.RecordFieldImpl
- java.lang.Object
-
- org.apache.calcite.jdbc.JavaTypeFactoryImpl.RecordFieldImpl
-
- All Implemented Interfaces:
PseudoField
,Types.RecordField
- Enclosing class:
- JavaTypeFactoryImpl
private static class JavaTypeFactoryImpl.RecordFieldImpl extends java.lang.Object implements Types.RecordField
Implementation of a field.
-
-
Field Summary
Fields Modifier and Type Field Description private int
modifiers
private java.lang.String
name
private boolean
nullable
private JavaTypeFactoryImpl.SyntheticRecordType
syntheticType
private java.lang.reflect.Type
type
-
Constructor Summary
Constructors Constructor Description RecordFieldImpl(JavaTypeFactoryImpl.SyntheticRecordType syntheticType, java.lang.String name, java.lang.reflect.Type type, boolean nullable, int modifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(java.lang.Object o)
java.lang.reflect.Type
getDeclaringClass()
int
getModifiers()
java.lang.String
getName()
java.lang.reflect.Type
getType()
boolean
nullable()
-
-
-
Field Detail
-
syntheticType
private final JavaTypeFactoryImpl.SyntheticRecordType syntheticType
-
name
private final java.lang.String name
-
type
private final java.lang.reflect.Type type
-
nullable
private final boolean nullable
-
modifiers
private final int modifiers
-
-
Constructor Detail
-
RecordFieldImpl
RecordFieldImpl(JavaTypeFactoryImpl.SyntheticRecordType syntheticType, java.lang.String name, java.lang.reflect.Type type, boolean nullable, int modifiers)
-
-
Method Detail
-
getType
public java.lang.reflect.Type getType()
- Specified by:
getType
in interfacePseudoField
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacePseudoField
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfacePseudoField
-
nullable
public boolean nullable()
- Specified by:
nullable
in interfaceTypes.RecordField
-
get
public java.lang.Object get(java.lang.Object o)
- Specified by:
get
in interfacePseudoField
-
getDeclaringClass
public java.lang.reflect.Type getDeclaringClass()
- Specified by:
getDeclaringClass
in interfacePseudoField
-
-