Package com.healthmarketscience.jackcess
Interface Row
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BigDecimalgetBigDecimal(String name)Convenience method which gets the value for the row with the given name, casting it to a BigDecimal (DataTypes MONEY, NUMERIC).OleBlobgetBlob(String name)Convenience method which gets the value for the row with the given name, converting it to anOleBlob(DataTypes OLE).BooleangetBoolean(String name)Convenience method which gets the value for the row with the given name, casting it to a Boolean (DataType BOOLEAN).BytegetByte(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).DategetDate(String name)Deprecated.this is only valid for Database instances configured for the legacyDateTimeType.DATE.DoublegetDouble(String name)Convenience method which gets the value for the row with the given name, casting it to a Double (DataType DOUBLE).FloatgetFloat(String name)Convenience method which gets the value for the row with the given name, casting it to a Float (DataType FLOAT).ComplexValueForeignKeygetForeignKey(String name)Convenience method which gets the value for the row with the given name, casting it to aComplexValueForeignKey(DataType COMPLEX_TYPE).RowIdgetId()IntegergetInt(String name)Convenience method which gets the value for the row with the given name, casting it to a Integer (DataType LONG).LocalDateTimegetLocalDateTime(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).ShortgetShort(String name)Convenience method which gets the value for the row with the given name, casting it to a Short (DataType INT).StringgetString(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, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, 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
@Deprecated Date getDate(String name)
Deprecated.this is only valid for Database instances configured for the legacyDateTimeType.DATE. Prefer usingDateTimeType.LOCAL_DATE_TIMEand the correspondinggetLocalDateTime(java.lang.String)method. Using Date is being phased out and will eventually be removed.Convenience method which gets the value for the row with the given name, casting it to a Date (DataType SHORT_DATE_TIME).
-
getLocalDateTime
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). This method will only work for Database instances configured forDateTimeType.LOCAL_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 aComplexValueForeignKey(DataType COMPLEX_TYPE).
-
-