com.healthmarketscience.jackcess
Interface Row

All Superinterfaces:
Map<String,Object>
All Known Implementing Classes:
RowImpl

public interface Row
extends Map<String,Object>

A row of data as column name->value pairs. Values are strongly typed, and column names are case sensitive.

Author:
James Ahlborn
Usage:
General: This class is general use.

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
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).
 RowId 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).
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getId

RowId getId()
Returns:
the id of this row

getString

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).


getBoolean

Boolean getBoolean(String name)
Convenience method which gets the value for the row with the given name, casting it to a Boolean (DataType BOOLEAN).


getByte

Byte getByte(String name)
Convenience method which gets the value for the row with the given name, casting it to a Byte (DataType BYTE).


getShort

Short getShort(String name)
Convenience method which gets the value for the row with the given name, casting it to a Short (DataType INT).


getInt

Integer getInt(String name)
Convenience method which gets the value for the row with the given name, casting it to a Integer (DataType LONG).


getBigDecimal

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).


getFloat

Float getFloat(String name)
Convenience method which gets the value for the row with the given name, casting it to a Float (DataType FLOAT).


getDouble

Double getDouble(String name)
Convenience method which gets the value for the row with the given name, casting it to a Double (DataType DOUBLE).


getDate

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).


getBytes

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).


getForeignKey

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).


getBlob

OleBlob getBlob(String name)
                throws IOException
Convenience method which gets the value for the row with the given name, converting it to an OleBlob (DataTypes OLE).

Note, the OleBlob should be closed after use.

Throws:
IOException


Copyright © 2005–2017 Health Market Science. All rights reserved.