public class DataRow extends UpdatableRow<String,DataFrameHeader,Comparable>
| Constructor and Description |
|---|
DataRow(DataFrame dataFrame,
int index) |
| Modifier and Type | Method and Description |
|---|---|
Comparable |
get(int index)
Returns the entity at a specified index
This method throws a
RuntimeException if anything goes wrong. |
DataFrame |
getDataFrame() |
Comparable[] |
getRowValues(int i)
Returns the values of a row at a specified index
|
boolean |
isCompatible(Comparable value,
int headerIndex)
Checks whether a certain value is compatible for a column.
|
boolean |
isCompatible(Comparable value,
String headerName)
Checks whether a certain value is compatible for a column.
|
boolean |
isVersionValid() |
protected void |
setValue(int index,
Comparable value) |
int |
size()
Returns the number of entities in this row
|
set, setequals, get, get, get, getBoolean, getBoolean, getByte, getByte, getDouble, getDouble, getFloat, getFloat, getHeader, getIndex, getInteger, getInteger, getLong, getLong, getNumber, getNumber, getOrNull, getOrNull, getShort, getShort, getString, getString, isNA, isNA, toDouble, toDouble, toStringpublic DataRow(DataFrame dataFrame, int index)
public boolean isVersionValid()
public Comparable get(int index)
RowRuntimeException if anything goes wrong.get in interface Row<Comparable,String>get in class AbstractHeaderRow<String,DataFrameHeader,Comparable>index - entity index in this rowpublic DataFrame getDataFrame()
public int size()
Rowpublic boolean isCompatible(Comparable value, String headerName)
isCompatible in class UpdatableRow<String,DataFrameHeader,Comparable>value - checked valueheaderName - header namepublic boolean isCompatible(Comparable value, int headerIndex)
isCompatible in class UpdatableRow<String,DataFrameHeader,Comparable>value - checked valueheaderIndex - header indexprotected void setValue(int index,
Comparable value)
setValue in class UpdatableRow<String,DataFrameHeader,Comparable>public Comparable[] getRowValues(int i)
i - index of data rowCopyright © 2020. All rights reserved.