R
- the type of row keysC
- the type of column keysV
- the type of valuespublic class SelectionDataFrame<R,C,V> extends AbstractDataFrame<R,C,V>
AbstractDataFrame.ColumnSeries
Constructor and Description |
---|
SelectionDataFrame(AbstractDataFrame<R,C,V> dataFrame,
<any> filter) |
Modifier and Type | Method and Description |
---|---|
DataFrame<C,R,?> |
append(Series<C,?> series) |
Iterable<C> |
columns()
Returns the column keys.
|
int |
getColumnAddress(C c)
Returns the absolute index for the specified column key.
|
Class |
getColumnClass(C c)
Returns the most specific superclass for all cell values in a column
|
int |
getColumnCount()
Returns the number of columns contained by this data frame.
|
Index<C> |
getColumnIndex()
Gets the index used to access the columns.
|
C |
getColumnKey(int index)
Returns the column key at the specified absolute index.
|
Series<C,?> |
getRow(R r)
Returns a series of all the values of a given row.
|
int |
getRowAddress(R r)
Returns the absolute index for the specified row key.
|
Class |
getRowClass(R r)
Returns the most specific superclass for all cell values in a row.
|
int |
getRowCount()
Returns the number of rows contained by the this data frame.
|
Index<R> |
getRowIndex()
Gets the index used to access the rows.
|
R |
getRowKey(int index)
Returns the row key at the specified absolute index.
|
V |
getValueAt(R r,
C c)
Returns the value for the cell at the intersection of the
column key and row key. |
DataFrame |
join(Series series,
C[] cs) |
Iterable<R> |
rows()
Returns the row keys.
|
addDataFrameListener, addWeakDataFrameListener, aggregate, benchmark, filter, getColumn, getColumnName, getCount, getCountDistinct, getCube, getMax, getMean, getMin, getStdDev, getSum, getVariance, getVariance, notifyDataFrameChanged, orderRows, print, print, reindexRows, removeDataFrameListener, removeDataFrameListeners
public SelectionDataFrame(AbstractDataFrame<R,C,V> dataFrame, <any> filter)
public Index<R> getRowIndex()
DataFrame
public Index<C> getColumnIndex()
DataFrame
public Class getRowClass(R r)
DataFrame
r
- the key of the rowpublic Class getColumnClass(C c)
DataFrame
c
- the key of the columnpublic V getValueAt(R r, C c)
DataFrame
column
key and row
key.r
- the row key whose value is to be queriedc
- the column key whose value is to be queriedpublic Series<C,?> getRow(R r)
DataFrame
r
- the row keypublic Iterable<C> columns()
DataFrame
public R getRowKey(int index)
DataFrame
DataFrame.getRowAddress(Object)
.public C getColumnKey(int index)
DataFrame
DataFrame.getColumnAddress(Object)
.getColumnKey
in interface DataFrame<R,C,V>
getColumnKey
in class AbstractDataFrame<R,C,V>
index
- the indexpublic int getRowAddress(R r)
DataFrame
DataFrame.getRowKey(int)
.getRowAddress
in interface DataFrame<R,C,V>
getRowAddress
in class AbstractDataFrame<R,C,V>
r
- the row keypublic int getColumnAddress(C c)
DataFrame
DataFrame.getColumnKey(int)
.getColumnAddress
in interface DataFrame<R,C,V>
getColumnAddress
in class AbstractDataFrame<R,C,V>
c
- the column keypublic int getRowCount()
DataFrame
getRowCount
in interface DataFrame<R,C,V>
getRowCount
in class AbstractDataFrame<R,C,V>
public int getColumnCount()
DataFrame
getColumnCount
in interface DataFrame<R,C,V>
getColumnCount
in class AbstractDataFrame<R,C,V>
Copyright © 2014 Macrofocus GmbH. All Rights Reserved.