| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Type[] |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public int | |
| public int | compare(Session session, Object a, Object b, SortAndSlice sort)
Overrides org.
|
| public static int | |
| public Object | convertToDefaultType(SessionInterface sessionInterface, Object o)
Implements abstract org. Converts the object to the given type without limit checks. |
| public void | |
| public String | |
| public static 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 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 int | |
| 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 Type[] | |
| public int | |
| public boolean |
| dataTypes | back to summary |
|---|---|
| pack-priv final Type[] dataTypes | |
| RowType | back to summary |
|---|---|
| public RowType(Type[] dataTypes) | |
| canBeAssignedFrom | back to summary |
|---|---|
| public boolean canBeAssignedFrom(Type otherType) Overrides org. | |
| canConvertFrom | back to summary |
|---|---|
| public boolean canConvertFrom(Type otherType) Implements abstract org. | |
| compare | back to summary |
|---|---|
| public int compare(Session session, Object a, Object b) Implements abstract org. | |
| compare | back to summary |
|---|---|
| public int compare(Session session, Object a, Object b, SortAndSlice sort) Overrides org. | |
| compare | back to summary |
|---|---|
| public static int compare(Session session, Object a, Object b, SortAndSlice sort, Type[] dataTypes) | |
| 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) Overrides org. | |
| convertToSQLString | back to summary |
|---|---|
| public String convertToSQLString(Object a) Implements abstract org. | |
| convertToSQLString | back to summary |
|---|---|
| public static String convertToSQLString(Object[] array, Type[] types, int maxUnitLength) | |
| 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. | |
| 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 | |
| getDegree | back to summary |
|---|---|
| public int getDegree() Overrides org. | |
| 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. | |
| getTypesArray | back to summary |
|---|---|
| public Type[] getTypesArray() | |
| hashCode | back to summary |
|---|---|
| public int hashCode(Object a) Overrides org. | |
| isRowType | back to summary |
|---|---|
| public boolean isRowType() Overrides org. | |