public class RowImpl extends LinkedHashMap<String,Object> implements Row
Note that the AbstractMap.equals(java.lang.Object) and AbstractMap.hashCode() methods work on the row
contents only (i.e. they ignore the id).
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RowImpl(Row row) |
RowImpl(RowIdImpl id) |
RowImpl(RowIdImpl id,
int expectedSize) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getBigDecimal(String name)
Convenience method which gets the value for the row with the given name,
casting it to a BigDecimal (DataTypes MONEY, NUMERIC).
|
OleBlob |
getBlob(String name)
Convenience method which gets the value for the row with the given name,
converting it to an
OleBlob (DataTypes OLE). |
Boolean |
getBoolean(String name)
Convenience method which gets the value for the row with the given name,
casting it to a Boolean (DataType BOOLEAN).
|
Byte |
getByte(String name)
Convenience method which gets the value for the row with the given name,
casting it to a Byte (DataType BYTE).
|
byte[] |
getBytes(String name)
Convenience method which gets the value for the row with the given name,
casting it to a byte[] (DataTypes BINARY, OLE).
|
Date |
getDate(String name)
Convenience method which gets the value for the row with the given name,
casting it to a Date (DataType SHORT_DATE_TIME).
|
Double |
getDouble(String name)
Convenience method which gets the value for the row with the given name,
casting it to a Double (DataType DOUBLE).
|
Float |
getFloat(String name)
Convenience method which gets the value for the row with the given name,
casting it to a Float (DataType FLOAT).
|
ComplexValueForeignKey |
getForeignKey(String name)
Convenience method which gets the value for the row with the given name,
casting it to a
ComplexValueForeignKey (DataType COMPLEX_TYPE). |
RowIdImpl |
getId() |
Integer |
getInt(String name)
Convenience method which gets the value for the row with the given name,
casting it to a Integer (DataType LONG).
|
LocalDateTime |
getLocalDateTime(String name)
Convenience method which gets the value for the row with the given name,
casting it to a LocalDateTime (DataType SHORT_DATE_TIME or
EXT_DATE_TIME).
|
Short |
getShort(String name)
Convenience method which gets the value for the row with the given name,
casting it to a Short (DataType INT).
|
String |
getString(String name)
Convenience method which gets the value for the row with the given name,
casting it to a String (DataTypes TEXT, MEMO, GUID).
|
String |
toString() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCodeclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic RowImpl(RowIdImpl id)
public RowImpl(RowIdImpl id, int expectedSize)
public RowImpl(Row row)
public String getString(String name)
Rowpublic Boolean getBoolean(String name)
RowgetBoolean in interface Rowpublic Byte getByte(String name)
Rowpublic Short getShort(String name)
Rowpublic Integer getInt(String name)
Rowpublic BigDecimal getBigDecimal(String name)
RowgetBigDecimal in interface Rowpublic Float getFloat(String name)
Rowpublic Double getDouble(String name)
Rowpublic Date getDate(String name)
Rowpublic LocalDateTime getLocalDateTime(String name)
RowDateTimeType.LOCAL_DATE_TIME.getLocalDateTime in interface Rowpublic byte[] getBytes(String name)
Rowpublic ComplexValueForeignKey getForeignKey(String name)
RowComplexValueForeignKey (DataType COMPLEX_TYPE).getForeignKey in interface Rowpublic OleBlob getBlob(String name)
RowOleBlob (DataTypes OLE).
Note, the OleBlob should be closed after use.
public String toString()
toString in class AbstractMap<String,Object>Copyright © 2005–2025 OpenHMS. All rights reserved.