public class RowImpl extends java.util.LinkedHashMap<java.lang.String,java.lang.Object> implements Row
AbstractMap.equals(java.lang.Object) and AbstractMap.hashCode() methods work on the row
contents only (i.e. they ignore the id).| Modifier and Type | Field and Description |
|---|---|
private RowIdImpl |
_id |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
RowImpl(Row row) |
RowImpl(RowIdImpl id) |
RowImpl(RowIdImpl id,
int expectedSize) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getBigDecimal(java.lang.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(java.lang.String name)
Convenience method which gets the value for the row with the given name,
converting it to an
OleBlob (DataTypes OLE). |
java.lang.Boolean |
getBoolean(java.lang.String name)
Convenience method which gets the value for the row with the given name,
casting it to a Boolean (DataType BOOLEAN).
|
java.lang.Byte |
getByte(java.lang.String name)
Convenience method which gets the value for the row with the given name,
casting it to a Byte (DataType BYTE).
|
byte[] |
getBytes(java.lang.String name)
Convenience method which gets the value for the row with the given name,
casting it to a byte[] (DataTypes BINARY, OLE).
|
java.util.Date |
getDate(java.lang.String name)
Convenience method which gets the value for the row with the given name,
casting it to a Date (DataType SHORT_DATE_TIME).
|
java.lang.Double |
getDouble(java.lang.String name)
Convenience method which gets the value for the row with the given name,
casting it to a Double (DataType DOUBLE).
|
java.lang.Float |
getFloat(java.lang.String name)
Convenience method which gets the value for the row with the given name,
casting it to a Float (DataType FLOAT).
|
ComplexValueForeignKey |
getForeignKey(java.lang.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() |
java.lang.Integer |
getInt(java.lang.String name)
Convenience method which gets the value for the row with the given name,
casting it to a Integer (DataType LONG).
|
java.lang.Short |
getShort(java.lang.String name)
Convenience method which gets the value for the row with the given name,
casting it to a Short (DataType INT).
|
java.lang.String |
getString(java.lang.String name)
Convenience method which gets the value for the row with the given name,
casting it to a String (DataTypes TEXT, MEMO, GUID).
|
java.lang.String |
toString() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeprivate static final long serialVersionUID
private final RowIdImpl _id
public RowImpl(RowIdImpl id)
public RowImpl(RowIdImpl id, int expectedSize)
public RowImpl(Row row)
public java.lang.String getString(java.lang.String name)
Rowpublic java.lang.Boolean getBoolean(java.lang.String name)
RowgetBoolean in interface Rowpublic java.lang.Byte getByte(java.lang.String name)
Rowpublic java.lang.Short getShort(java.lang.String name)
Rowpublic java.lang.Integer getInt(java.lang.String name)
Rowpublic java.math.BigDecimal getBigDecimal(java.lang.String name)
RowgetBigDecimal in interface Rowpublic java.lang.Float getFloat(java.lang.String name)
Rowpublic java.lang.Double getDouble(java.lang.String name)
Rowpublic java.util.Date getDate(java.lang.String name)
Rowpublic byte[] getBytes(java.lang.String name)
Rowpublic ComplexValueForeignKey getForeignKey(java.lang.String name)
RowComplexValueForeignKey (DataType COMPLEX_TYPE).getForeignKey in interface Rowpublic OleBlob getBlob(java.lang.String name) throws java.io.IOException
RowOleBlob (DataTypes OLE).
Note, the OleBlob should be closed after use.public java.lang.String toString()
toString in class java.util.AbstractMap<java.lang.String,java.lang.Object>