public interface Row<V,H>
| Modifier and Type | Method and Description |
|---|---|
V |
get(H headerName)
Returns an entity from the column specified by its head name.
|
<T> T |
get(H headerName,
Class<T> cl)
Returns an entity using head name as a specified type.
|
V |
get(int index)
Returns the entity at a specified index
This method throws a
RuntimeException if anything goes wrong. |
<T> T |
get(int index,
Class<T> cl)
Returns the entity as a specified type
This method throws a
RuntimeException if anything goes wrong. |
Boolean |
getBoolean(H headerName)
Returns entity from header name column as
Boolean
This method throws a RuntimeException if anything goes wrong. |
Boolean |
getBoolean(int index)
Returns entity at an index as
Boolean
This method throws a RuntimeException if anything goes wrong. |
Byte |
getByte(H headerName)
Returns entity from header name column as
Byte
This method throws a RuntimeException if anything goes wrong. |
Byte |
getByte(int index)
Returns entity at an index as
Byte
This method throws a RuntimeException if anything goes wrong. |
Double |
getDouble(H headerName)
Returns entity from header name column as
Double
This method throws a RuntimeException if anything goes wrong. |
Double |
getDouble(int index)
Returns entity at an index as
Double
This method throws a RuntimeException if anything goes wrong. |
Float |
getFloat(H headerName)
Returns entity from header name column as
Float
This method throws a RuntimeException if anything goes wrong. |
Float |
getFloat(int index)
Returns entity at an index as
Float
This method throws a RuntimeException if anything goes wrong. |
Integer |
getInteger(H headerName) |
Integer |
getInteger(int index)
Returns entity at an index as
Integer
This method throws a RuntimeException if anything goes wrong. |
Long |
getLong(H headerName)
Returns entity from header name column as
Long
This method throws a RuntimeException if anything goes wrong. |
Long |
getLong(int index)
Returns entity at an index as
Long
This method throws a RuntimeException if anything goes wrong. |
<T> T |
getOrNull(H headerName,
Class<T> cl)
Returns an entity using head name as a specified type.
|
<T> T |
getOrNull(int index,
Class<T> cl)
Returns the entity as a specified type
This method returns null if anything goes wrong.
|
Short |
getShort(H headerName)
Returns entity from header name column as
Short
This method throws a RuntimeException if anything goes wrong. |
Short |
getShort(int index)
Returns entity at an index as
Short
This method throws a RuntimeException if anything goes wrong. |
String |
getString(H headerName)
Returns entity from header name column as
String
This method throws a RuntimeException if anything goes wrong. |
String |
getString(int index)
Returns entity at an index as
String
This method throws a RuntimeException if anything goes wrong. |
int |
size()
Returns the number of entities in this row
|
<T> T get(H headerName, Class<T> cl)
RuntimeException if anything goes wrong.T - type of entityheaderName - header name of columncl - class of resulting entity<T> T getOrNull(H headerName, Class<T> cl)
T - type of entityheaderName - header name of columncl - class of resulting entity<T> T get(int index,
Class<T> cl)
RuntimeException if anything goes wrong.T - type of entityindex - entity index in this rowcl - class of resulting entity<T> T getOrNull(int index,
Class<T> cl)
T - type of entityindex - entity index in this rowcl - class of resulting entityV get(int index)
RuntimeException if anything goes wrong.index - entity index in this rowV get(H headerName)
RuntimeException if anything goes wrong.headerName - header name of the columnString getString(int index)
String
This method throws a RuntimeException if anything goes wrong.index - entity indexget(int)String getString(H headerName)
String
This method throws a RuntimeException if anything goes wrong.headerName - header nameString entityDouble getDouble(int index)
Double
This method throws a RuntimeException if anything goes wrong.Double getDouble(H headerName)
Double
This method throws a RuntimeException if anything goes wrong.headerName - header nameDouble entityBoolean getBoolean(int index)
Boolean
This method throws a RuntimeException if anything goes wrong.Boolean getBoolean(H headerName)
Boolean
This method throws a RuntimeException if anything goes wrong.headerName - header nameBoolean entityInteger getInteger(int index)
Integer
This method throws a RuntimeException if anything goes wrong.Float getFloat(int index)
Float
This method throws a RuntimeException if anything goes wrong.Float getFloat(H headerName)
Float
This method throws a RuntimeException if anything goes wrong.headerName - header nameFloat entityLong getLong(int index)
Long
This method throws a RuntimeException if anything goes wrong.Long getLong(H headerName)
Long
This method throws a RuntimeException if anything goes wrong.headerName - header nameLong entityShort getShort(int index)
Short
This method throws a RuntimeException if anything goes wrong.Short getShort(H headerName)
Short
This method throws a RuntimeException if anything goes wrong.headerName - header nameShort entityByte getByte(int index)
Byte
This method throws a RuntimeException if anything goes wrong.Byte getByte(H headerName)
Byte
This method throws a RuntimeException if anything goes wrong.headerName - header nameByte entityint size()
Copyright © 2017. All rights reserved.