| Modifier and Type | Field and Description |
|---|---|
| protected long | key
The row key. |
| public static long | MATCH_ALL_ROW_KEY
If the key is this value, then the key is considered equal to all other keys, when comparing. |
| public static final int | MEMORY_CALCULATE
The constant that means "memory usage is unknown and needs to be calculated first". |
| public static final int | ROWID_INDEX
Index of a virtual "_ROWID_" column within a row or a table |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTypeSafe(Value
the other value v, CompareMode the compare mode mode, CastDataProvider the cast information provider provider)Implements abstract org. Compare this value against another value given that the values are of the same data type. |
| public abstract void | |
| public boolean | equals(Object
the other value other)Implements abstract org. Check if the two values have the same hash code. |
| public abstract int | |
| public long | |
| public abstract int | Returns: the memoryOverrides org. Get the estimated memory used for this row, in bytes. |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements org. Appends the SQL statement of this object to the specified builder. |
| public String | |
| public TypeInfo | getType()
Implements abstract org. Implements org. Returns the data type. |
| public abstract Value | Returns: the valuethe column number (starting with 0) index)Get the value for the column |
| public int | |
| public int | hashCode()
Implements abstract org. Returns a hash code value for this object. |
| public boolean | |
| public void | |
| public abstract void |
| key | back to summary |
|---|---|
| protected long key The row key. | |
| MATCH_ALL_ROW_KEY | back to summary |
|---|---|
| public static long MATCH_ALL_ROW_KEY If the key is this value, then the key is considered equal to all other keys, when comparing. | |
| MEMORY_CALCULATE | back to summary |
|---|---|
| public static final int MEMORY_CALCULATE The constant that means "memory usage is unknown and needs to be calculated first". | |
| ROWID_INDEX | back to summary |
|---|---|
| public static final int ROWID_INDEX Index of a virtual "_ROWID_" column within a row or a table | |
| SearchRow | back to summary |
|---|---|
| public SearchRow() | |
| compareTypeSafe | back to summary |
|---|---|
| public int compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) Implements abstract org. Doc from org. Compare this value against another value given that the values are of the same data type.
| |
| copyFrom | back to summary |
|---|---|
| public abstract void copyFrom(SearchRow source) Copy all relevant values from the source to this row.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Implements abstract org. Doc from org. Check if the two values have the same hash code. No data conversion is made; this method returns false if the other object is not of the same class. For some values, compareTo may return 0 even if equals return false. Example: ValueDecimal 0.0 and 0.00. | |
| getColumnCount | back to summary |
|---|---|
| public abstract int getColumnCount() Get the column count.
| |
| getKey | back to summary |
|---|---|
| public long getKey() Get the unique key of the row.
| |
| getMemory | back to summary |
|---|---|
| public abstract int getMemory() Overrides org. Get the estimated memory used for this row, in bytes.
| |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getString | back to summary |
|---|---|
| public String getString() Implements abstract org. Doc from org. Get the value as a string. | |
| getType | back to summary |
|---|---|
| public TypeInfo getType() Implements abstract org. Implements org. Doc from org. Returns the data type. | |
| getValue | back to summary |
|---|---|
| public abstract Value getValue(int index) Get the value for the column
| |
| getValueType | back to summary |
|---|---|
| public int getValueType() Implements abstract org. Doc from org. Get the value type.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract 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
| |
| isNull | back to summary |
|---|---|
| public boolean isNull(int index) Determine if specified column contains NULL
| |
| setKey | back to summary |
|---|---|
| public void setKey(long key) Set the unique key of the row.
| |
| setValue | back to summary |
|---|---|
| public abstract void setValue(int index, Value v) Set the value for given column
| |