| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final int | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| pack-priv final CompareMode | |
| private static final byte | |
| private static final int | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final ValueDataType. | |
| private static final byte | |
| pack-priv final DataHandler | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final int | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| pack-priv final CastDataProvider | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private RowFactory | |
| private static final byte | |
| pack-priv final int[] | |
| private static final byte | |
| private static final int | |
| private static final byte | |
| private static final int | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final int | |
| private static final byte | |
| private static final byte | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | ValueDataType(CastDataProvider provider, CompareMode compareMode, DataHandler handler, int[] sortTypes)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Value
the first key a, Value the second key b)Overrides org. Implements org. Compare two keys. |
| private int | compare(SearchRow
the first key a, SearchRow the second key b)Overrides org. Implements org. Compare two keys. |
| public int | Returns: 0 if equal, -1 if first value is smaller for ascending or larger for descending sort type, 1 otherwisethe first value a, Value the second value b, int the sorting type sortType)Compares the specified values. |
| public Value[] | createStorage(int
number of values to hold size)Implements org. Create storage object of array type to hold values |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides org. Implements java. Indicates whether some other object is "equal to" this comparator. |
| public ValueDataType. | |
| public int | getMemory(Value
the object v)Implements abstract org. Implements org. Calculates the amount of used memory in bytes. |
| public RowFactory | |
| public int | hashCode()
Overrides org. Returns a hash code value for this object. |
| public Value | read(ByteBuffer
the source buffer buff)Implements abstract org. Implements org. Read an object. |
| private Value[] | |
| private LobDataDatabase | |
| private static long | |
| private static int | |
| pack-priv Value | Returns: the valuethe source buffer buff, TypeInfo the data type of value, or columnType)nullRead a value. |
| private static byte[] | |
| public void | save(WriteBuffer
the target buffer buff, MetaType<Database> the meta type metaType)Implements org. Save the state. |
| public void | |
| public void | write(WriteBuffer
the target buffer buff, Value the value v)Implements abstract org. Implements org. Write an object. |
| private static void | |
| private static void | |
| public static void | |
| private static void | |
| private static void | |
| private static void |
| ARRAY | back to summary |
|---|---|
| private static final byte ARRAY | |
| BIGINT | back to summary |
|---|---|
| private static final byte BIGINT | |
| BIGINT_0_7 | back to summary |
|---|---|
| private static final byte BIGINT_0_7 | |
| BIGINT_NEG | back to summary |
|---|---|
| private static final byte BIGINT_NEG | |
| BINARY | back to summary |
|---|---|
| private static final int BINARY | |
| BLOB | back to summary |
|---|---|
| private static final byte BLOB | |
| BOOLEAN_FALSE | back to summary |
|---|---|
| private static final byte BOOLEAN_FALSE | |
| BOOLEAN_TRUE | back to summary |
|---|---|
| private static final byte BOOLEAN_TRUE | |
| CHAR | back to summary |
|---|---|
| private static final byte CHAR | |
| CLOB | back to summary |
|---|---|
| private static final byte CLOB | |
| compareMode | back to summary |
|---|---|
| pack-priv final CompareMode compareMode | |
| DATE | back to summary |
|---|---|
| private static final byte DATE | |
| DECFLOAT | back to summary |
|---|---|
| private static final int DECFLOAT | |
| DOUBLE | back to summary |
|---|---|
| private static final byte DOUBLE | |
| DOUBLE_0_1 | back to summary |
|---|---|
| private static final byte DOUBLE_0_1 | |
| ENUM | back to summary |
|---|---|
| private static final byte ENUM | |
| FACTORY | back to summary |
|---|---|
| private static final ValueDataType. | |
| GEOMETRY | back to summary |
|---|---|
| private static final byte GEOMETRY | |
| handler | back to summary |
|---|---|
| pack-priv final DataHandler handler | |
| INT_0_15 | back to summary |
|---|---|
| private static final byte INT_0_15 | |
| INT_NEG | back to summary |
|---|---|
| private static final byte INT_NEG | |
| INTEGER | back to summary |
|---|---|
| private static final byte INTEGER | |
| INTERVAL | back to summary |
|---|---|
| private static final byte INTERVAL | |
| JAVA_OBJECT | back to summary |
|---|---|
| private static final byte JAVA_OBJECT | |
| JSON | back to summary |
|---|---|
| private static final int JSON | |
| NULL | back to summary |
|---|---|
| private static final byte NULL | |
| NUMERIC | back to summary |
|---|---|
| private static final byte NUMERIC | |
| NUMERIC_0_1 | back to summary |
|---|---|
| private static final byte NUMERIC_0_1 | |
| NUMERIC_SMALL | back to summary |
|---|---|
| private static final byte NUMERIC_SMALL | |
| NUMERIC_SMALL_0 | back to summary |
|---|---|
| private static final byte NUMERIC_SMALL_0 | |
| provider | back to summary |
|---|---|
| pack-priv final CastDataProvider provider | |
| REAL | back to summary |
|---|---|
| private static final byte REAL | |
| REAL_0_1 | back to summary |
|---|---|
| private static final byte REAL_0_1 | |
| ROW | back to summary |
|---|---|
| private static final byte ROW | |
| rowFactory | back to summary |
|---|---|
| private RowFactory rowFactory | |
| SMALLINT | back to summary |
|---|---|
| private static final byte SMALLINT | |
| sortTypes | back to summary |
|---|---|
| pack-priv final int[] sortTypes | |
| TIME | back to summary |
|---|---|
| private static final byte TIME | |
| TIME_TZ | back to summary |
|---|---|
| private static final int TIME_TZ | |
| TIMESTAMP | back to summary |
|---|---|
| private static final byte TIMESTAMP | |
| TIMESTAMP_TZ | back to summary |
|---|---|
| private static final int TIMESTAMP_TZ | |
| TIMESTAMP_TZ_OLD | back to summary |
|---|---|
| private static final byte TIMESTAMP_TZ_OLD | |
| TINYINT | back to summary |
|---|---|
| private static final byte TINYINT | |
| UUID | back to summary |
|---|---|
| private static final byte UUID | |
| VARBINARY | back to summary |
|---|---|
| private static final byte VARBINARY | |
| VARBINARY_0_31 | back to summary |
|---|---|
| private static final int VARBINARY_0_31 | |
| VARCHAR | back to summary |
|---|---|
| private static final byte VARCHAR | |
| VARCHAR_0_31 | back to summary |
|---|---|
| private static final byte VARCHAR_0_31 | |
| VARCHAR_IGNORECASE | back to summary |
|---|---|
| private static final byte VARCHAR_IGNORECASE | |
| ValueDataType | back to summary |
|---|---|
| public ValueDataType() | |
| ValueDataType | back to summary |
|---|---|
| public ValueDataType(Database database, int[] sortTypes) | |
| ValueDataType | back to summary |
|---|---|
| public ValueDataType(CastDataProvider provider, CompareMode compareMode, DataHandler handler, int[] sortTypes) | |
| compare | back to summary |
|---|---|
| public int compare(Value a, Value b) Overrides org. Implements org. Doc from org. Compare two keys. | |
| compare | back to summary |
|---|---|
| private int compare(SearchRow a, SearchRow b) Overrides org. Implements org. Doc from org. Compare two keys. | |
| compareValues | back to summary |
|---|---|
| public int compareValues(Value a, Value b, int sortType) Compares the specified values. | |
| createStorage | back to summary |
|---|---|
| public Value[] createStorage(int size) Implements org. Doc from org. Create storage object of array type to hold values | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Implements java. Doc from java. Indicates whether some other object is "equal to"
this comparator. This method must obey the general contract of
Note that it is always safe not to override
| |
| getFactory | back to summary |
|---|---|
| public ValueDataType. Implements org.
| |
| getMemory | back to summary |
|---|---|
| public int getMemory(Value v) Implements abstract org. Implements org. Doc from org. Calculates the amount of used memory in bytes. | |
| getRowFactory | back to summary |
|---|---|
| public RowFactory getRowFactory() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| read | back to summary |
|---|---|
| public Value read(ByteBuffer buff) Implements abstract org. Implements org. Doc from org. Read an object.
| |
| readArrayElements | back to summary |
|---|---|
| private Value[] readArrayElements(ByteBuffer buff, TypeInfo elementType) | |
| readLobDataDatabase | back to summary |
|---|---|
| private LobDataDatabase readLobDataDatabase(ByteBuffer buff) | |
| readTimestampTime | back to summary |
|---|---|
| private static long readTimestampTime(ByteBuffer buff) | |
| readTimeZone | back to summary |
|---|---|
| private static int readTimeZone(ByteBuffer buff) | |
| readValue | back to summary |
|---|---|
| pack-priv Value readValue(ByteBuffer buff, TypeInfo columnType) Read a value.
| |
| readVarBytes | back to summary |
|---|---|
| private static byte[] readVarBytes(ByteBuffer buff) | |
| save | back to summary |
|---|---|
| public void save(WriteBuffer buff, MetaType<Database> metaType) Implements org. Doc from org. Save the state.
| |
| setRowFactory | back to summary |
|---|---|
| public void setRowFactory(RowFactory rowFactory) | |
| write | back to summary |
|---|---|
| public void write(WriteBuffer buff, Value v) Implements abstract org. Implements org. Doc from org. Write an object.
| |
| writeBinary | back to summary |
|---|---|
| private static void writeBinary(byte type, WriteBuffer buff, Value v) | |
| writeIntArray | back to summary |
|---|---|
| private static void writeIntArray(WriteBuffer buff, int[] array) | |
| writeLong | back to summary |
|---|---|
| public static void writeLong(WriteBuffer buff, long x) Writes a long.
| |
| writeString | back to summary |
|---|---|
| private static void writeString(WriteBuffer buff, String s) | |
| writeTimestampTime | back to summary |
|---|---|
| private static void writeTimestampTime(WriteBuffer buff, long nanos) | |
| writeTimeZone | back to summary |
|---|---|
| private static void writeTimeZone(WriteBuffer buff, int timeZoneOffset) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DataType | create(ByteBuffer
the buffer the source buffer buff, MetaType<Database> the type metaType, Database the database database)Implements org. Reads the data type. |
| private static int[] |
| Factory | back to summary |
|---|---|
| public Factory() | |
| create | back to summary |
|---|---|
| public DataType Implements org. Doc from org. Reads the data type. | |
| readIntArray | back to summary |
|---|---|
| private static int[] readIntArray(ByteBuffer buff) | |