| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Type | |
| public static final int | |
| public static final int | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | |
| public boolean | |
| public int | canMoveFrom(Type otherType)
Overrides org. When canConvertFrom() is true, can convert without changing the object |
| public int | |
| public Type | |
| public int | |
| public Object | |
| public Object | convertJavaToSQL(SessionInterface session, Object a)
Overrides org.
|
| public Object | convertSQLToJava(SessionInterface session, Object a)
Overrides org.
|
| public Object | convertToDefaultType(SessionInterface sessionInterface, Object o)
Implements abstract org. Converts the object to the given type without limit checks. |
| public void | convertToJSON(Object a, StringBuilder sb, boolean nullOnNull)
Overrides org.
|
| public void | |
| public String | |
| public String | |
| public Object | convertToType(SessionInterface session, Object a, Type otherType)
Implements abstract org. Same as castToType except for CHARACTER values. |
| public Object | convertToTypeLimits(SessionInterface session, Object a)
Implements abstract org.
|
| public int | |
| public int | |
| public boolean | equals(Object other)
Overrides org. Indicates whether some other object is "equal to" this one. |
| public Type | getAggregateType(Type other)
Implements abstract org. Common type used in comparison operations. |
| public Type | getCombinedType(Session session, Type other, int operation)
Implements abstract org. Result type of combining values of two types in different operations. |
| public String | getDefinition()
Implements abstract org. Returns the full definition of the type, including parameters |
| public String | |
| public Class | |
| public String | getJDBCClassName()
Implements abstract org. Returns the JDBC class name of type, if it exists, otherwise the HSQLDB class name. |
| public int | |
| public int | |
| public int | getJDBCTypeCode()
Implements abstract org. Returns the JDBC type number of type, if it exists, otherwise the HSQLDB / SQL type. |
| public String | getNameString()
Implements abstract org. Returns the name of the type |
| public int | getSQLGenericTypeCode()
Overrides org. Returns the generic SQL CLI type number of type, if it exists, otherwise the HSQLDB type. |
| public int | |
| public boolean | |
| public void |
| dataType | back to summary |
|---|---|
| pack-priv final Type dataType | |
| defaultArrayCardinality | back to summary |
|---|---|
| public static final int defaultArrayCardinality | |
| defaultLargeArrayCardinality | back to summary |
|---|---|
| public static final int defaultLargeArrayCardinality | |
| maxCardinality | back to summary |
|---|---|
| pack-priv final int maxCardinality | |
| ArrayType | back to summary |
|---|---|
| public ArrayType(Type dataType, int cardinality) | |
| arrayLimitCardinality | back to summary |
|---|---|
| public int arrayLimitCardinality() Overrides org. | |
| canBeAssignedFrom | back to summary |
|---|---|
| public boolean canBeAssignedFrom(Type otherType) Overrides org. | |
| canConvertFrom | back to summary |
|---|---|
| public boolean canConvertFrom(Type otherType) Implements abstract org. | |
| canMoveFrom | back to summary |
|---|---|
| public int canMoveFrom(Type otherType) Overrides org. Doc from org. When canConvertFrom() is true, can convert without changing the object | |
| cardinality | back to summary |
|---|---|
| public int cardinality(Session session, Object a) Overrides org. | |
| collectionBaseType | back to summary |
|---|---|
| public Type collectionBaseType() Overrides org. | |
| compare | back to summary |
|---|---|
| public int compare(Session session, Object a, Object b) Implements abstract org. | |
| concat | back to summary |
|---|---|
| public Object concat(Session session, Object a, Object b) Overrides org. | |
| convertJavaToSQL | back to summary |
|---|---|
| public Object convertJavaToSQL(SessionInterface session, Object a) Overrides org. | |
| convertSQLToJava | back to summary |
|---|---|
| public Object convertSQLToJava(SessionInterface session, Object a) Overrides org. | |
| convertToDefaultType | back to summary |
|---|---|
| public Object convertToDefaultType(SessionInterface sessionInterface, Object o) Implements abstract org. Doc from org. Converts the object to the given type without limit checks. Used for JDBC writes. | |
| convertToJSON | back to summary |
|---|---|
| public void convertToJSON(Object a, StringBuilder sb, boolean nullOnNull) Overrides org. | |
| convertToJSONsimple | back to summary |
|---|---|
| public void convertToJSONsimple(Object a, StringBuilder sb) | |
| convertToSQLString | back to summary |
|---|---|
| public String convertToSQLString(Object a) Implements abstract org. | |
| convertToString | back to summary |
|---|---|
| public String convertToString(Object a) Implements abstract org. | |
| convertToType | back to summary |
|---|---|
| public Object convertToType(SessionInterface session, Object a, Type otherType) Implements abstract org. Doc from org. Same as castToType except for CHARACTER values. Perform string truncation of trailing spaces only. For other long strings, it raises an exception. | |
| convertToTypeLimits | back to summary |
|---|---|
| public Object convertToTypeLimits(SessionInterface session, Object a) Implements abstract org. | |
| deDuplicate | back to summary |
|---|---|
| public int deDuplicate(Session session, Object a, SortAndSlice sort) | |
| displaySize | back to summary |
|---|---|
| public int displaySize() Implements abstract org. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAggregateType | back to summary |
|---|---|
| public Type getAggregateType(Type other) Implements abstract org. Doc from org. Common type used in comparison operations. other must be comparable with this. | |
| getCombinedType | back to summary |
|---|---|
| public Type getCombinedType(Session session, Type other, int operation) Implements abstract org. Doc from org. Result type of combining values of two types in different operations. The other type is not always comparable with this, but an operation should be valid without any explicit CAST | |
| getDefinition | back to summary |
|---|---|
| public String getDefinition() Implements abstract org. Doc from org. Returns the full definition of the type, including parameters | |
| getFullNameString | back to summary |
|---|---|
| public String getFullNameString() Overrides org. Doc from org. Returns the name of the type | |
| getJDBCClass | back to summary |
|---|---|
| public Class Implements abstract org. | |
| getJDBCClassName | back to summary |
|---|---|
| public String getJDBCClassName() Implements abstract org. Doc from org. Returns the JDBC class name of type, if it exists, otherwise the HSQLDB class name. | |
| getJDBCPrecision | back to summary |
|---|---|
| public int getJDBCPrecision() Overrides org. | |
| getJDBCScale | back to summary |
|---|---|
| public int getJDBCScale() Overrides org. | |
| getJDBCTypeCode | back to summary |
|---|---|
| public int getJDBCTypeCode() Implements abstract org. Doc from org. Returns the JDBC type number of type, if it exists, otherwise the HSQLDB / SQL type. | |
| getNameString | back to summary |
|---|---|
| public String getNameString() Implements abstract org. Doc from org. Returns the name of the type | |
| getSQLGenericTypeCode | back to summary |
|---|---|
| public int getSQLGenericTypeCode() Overrides org. Doc from org. Returns the generic SQL CLI type number of type, if it exists, otherwise the HSQLDB type. The generic type is returned for DATETIME and INTERVAL types. | |
| hashCode | back to summary |
|---|---|
| public int hashCode(Object a) Overrides org. | |
| isArrayType | back to summary |
|---|---|
| public boolean isArrayType() Overrides org. | |
| sort | back to summary |
|---|---|
| public void sort(Session session, Object[] array, SortAndSlice sort) | |