Package org.apache.calcite.avatica
Class ColumnMetaData.ArrayType
java.lang.Object
org.apache.calcite.avatica.ColumnMetaData.AvaticaType
org.apache.calcite.avatica.ColumnMetaData.ArrayType
- Enclosing class:
- ColumnMetaData
Array type.
-
Field Summary
Fields inherited from class org.apache.calcite.avatica.ColumnMetaData.AvaticaType
id, name, rep -
Constructor Summary
ConstructorsConstructorDescriptionArrayType(int type, String typeName, ColumnMetaData.Rep representation, ColumnMetaData.AvaticaType component) Not for public use. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()org.apache.calcite.avatica.proto.Common.AvaticaTypetoProto()voidupdateComponentType(ColumnMetaData.AvaticaType component) Updates the component ofthisto the given value.Methods inherited from class org.apache.calcite.avatica.ColumnMetaData.AvaticaType
columnClassName, fromProto, getName, setRep
-
Constructor Details
-
ArrayType
public ArrayType(int type, String typeName, ColumnMetaData.Rep representation, ColumnMetaData.AvaticaType component) Not for public use. UseColumnMetaData.array(AvaticaType, String, Rep).
-
-
Method Details
-
updateComponentType
Updates the component ofthisto the given value. This is necessary to provide as accurate-as-possible of anArrayTypein theSignature. It cannot be done at initial construction of this object. -
getComponent
-
toProto
public org.apache.calcite.avatica.proto.Common.AvaticaType toProto()- Overrides:
toProtoin classColumnMetaData.AvaticaType
-
hashCode
public int hashCode()- Overrides:
hashCodein classColumnMetaData.AvaticaType
-
equals
- Overrides:
equalsin classColumnMetaData.AvaticaType
-