|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
com.healthmarketscience.jackcess.impl.RowImpl
public class RowImpl
A row of data as column->value pairs.
Note that theAbstractMap.equals(java.lang.Object) and AbstractMap.hashCode() methods work on the row
contents only (i.e. they ignore the id).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
RowImpl(Row row)
|
|
RowImpl(RowIdImpl id)
|
|
RowImpl(RowIdImpl id,
int expectedSize)
|
|
| Method Summary | |
|---|---|
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). |
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()
|
| Methods inherited from class java.util.LinkedHashMap |
|---|
clear, containsValue, get, removeEldestEntry |
| Methods inherited from class java.util.HashMap |
|---|
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Constructor Detail |
|---|
public RowImpl(RowIdImpl id)
public RowImpl(RowIdImpl id,
int expectedSize)
public RowImpl(Row row)
| Method Detail |
|---|
public RowIdImpl getId()
getId in interface Rowpublic String getString(String name)
Row
getString in interface Rowpublic Boolean getBoolean(String name)
Row
getBoolean in interface Rowpublic Byte getByte(String name)
Row
getByte in interface Rowpublic Short getShort(String name)
Row
getShort in interface Rowpublic Integer getInt(String name)
Row
getInt in interface Rowpublic BigDecimal getBigDecimal(String name)
Row
getBigDecimal in interface Rowpublic Float getFloat(String name)
Row
getFloat in interface Rowpublic Double getDouble(String name)
Row
getDouble in interface Rowpublic Date getDate(String name)
Row
getDate in interface Rowpublic byte[] getBytes(String name)
Row
getBytes in interface Rowpublic ComplexValueForeignKey getForeignKey(String name)
RowComplexValueForeignKey (DataType COMPLEX_TYPE).
getForeignKey in interface Row
public OleBlob getBlob(String name)
throws IOException
RowOleBlob (DataTypes OLE).
Note, the OleBlob should be closed after use.
getBlob in interface RowIOExceptionpublic String toString()
toString in class AbstractMap<String,Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||