| 限定符和类型 | 字段和说明 |
|---|---|
protected Value[] |
data
The values of the row (one entry per column).
|
static int |
MEMORY_CALCULATE
The constant that means "memory usage is unknown and needs to be calculated first".
|
key, MATCH_ALL_ROW_KEY, ROWID_INDEXARRAY, BIGINT, BINARY, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECFLOAT, DOUBLE, EMPTY_VALUES, ENUM, GEOMETRY, INTEGER, INTERVAL_DAY, INTERVAL_DAY_TO_HOUR, INTERVAL_DAY_TO_MINUTE, INTERVAL_DAY_TO_SECOND, INTERVAL_HOUR, INTERVAL_HOUR_TO_MINUTE, INTERVAL_HOUR_TO_SECOND, INTERVAL_MINUTE, INTERVAL_MINUTE_TO_SECOND, INTERVAL_MONTH, INTERVAL_SECOND, INTERVAL_YEAR, INTERVAL_YEAR_TO_MONTH, JAVA_OBJECT, JSON, MIN_LONG_DECIMAL, NULL, NUMERIC, REAL, ROW, SMALLINT, TIME, TIME_TZ, TIMESTAMP, TIMESTAMP_TZ, TINYINT, TYPE_COUNT, UNKNOWN, UUID, VARBINARY, VARCHAR, VARCHAR_IGNORECASEADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS| 构造器和说明 |
|---|
DefaultRow(Value[] data) |
DefaultRow(Value[] data,
int memory) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
calculateMemory()
Calculate the estimated memory used for this row, in bytes.
|
void |
copyFrom(SearchRow source)
Copy all relevant values from the source to this row.
|
int |
getColumnCount()
Get the column count.
|
int |
getMemory()
Get the estimated memory used for this row, in bytes.
|
Value |
getValue(int i)
Get the value for the column
|
Value[] |
getValueList()
Get values.
|
boolean |
hasSharedData(Row other)
Check whether this row and the specified row share the same underlying
data with values.
|
void |
setValue(int i,
Value v)
Set the value for given column
|
String |
toString() |
get, get, hasSameValuescompareTypeSafe, equals, getKey, getSQL, getString, getType, getValueType, hashCode, isNull, setKeyadd, castTo, charLength, clearCache, compareTo, compareWithNull, containsNull, convertForAssignTo, convertTo, convertTo, convertTo, convertTo, convertTo, convertToAnyArray, convertToAnyRow, convertToBigint, convertToBoolean, convertToChar, convertToDate, convertToDouble, convertToEnum, convertToGeometry, convertToInt, convertToInt, convertToJavaObject, convertToReal, convertToSmallint, convertToTinyint, convertToUuid, divide, getBigDecimal, getBoolean, getByte, getBytes, getBytesNoCopy, getDouble, getFloat, getHigherOrder, getInputStream, getInputStream, getInt, getLong, getReader, getReader, getShort, getSignum, getTypeName, getUnsupportedExceptionForOperation, isFalse, isTrue, modulus, multiply, negate, octetLength, subtractgetCommittedValue, getCurrentValue, getOperationId, isCommittedgetSQL, getTraceSQLpublic static final int MEMORY_CALCULATE
protected final Value[] data
public DefaultRow(Value[] data)
public DefaultRow(Value[] data, int memory)
public int getColumnCount()
SearchRowgetColumnCount 在类中 SearchRowpublic int getMemory()
SearchRowprotected int calculateMemory()
public Value[] getValueList()
RowgetValueList 在类中 Rowpublic boolean hasSharedData(Row other)
Rowfalse when values are
not equal and may return either true or false when they
are equal. This method may be used only for optimizations and should not
perform any slow checks, such as equality checks for all pairs of values.hasSharedData 在类中 Rowother - the other rowtrue if rows share the same underlying data,
false otherwise or when unknownCopyright © 2022. All rights reserved.