Class AccessorRowMajorDataFrame<R,C extends RowMajorDataFrame.Column<R,V>,V>
- java.lang.Object
-
- com.macrofocus.molap.dataframe.AbstractDataFrame<R,C,V>
-
- com.macrofocus.molap.dataframe.AbstractMutableDataFrame<R,C,V>
-
- com.macrofocus.molap.dataframe.rowmajor.AbstractRowMajorDataFrame<R,C,V>
-
- com.macrofocus.molap.dataframe.rowmajor.AccessorRowMajorDataFrame<R,C,V>
-
- All Implemented Interfaces:
DataFrame<R,C,V>
,MutableDataFrame<R,C,V>
,RowMajorDataFrame<R,C,V>
public class AccessorRowMajorDataFrame<R,C extends RowMajorDataFrame.Column<R,V>,V> extends AbstractRowMajorDataFrame<R,C,V>
Created by luc on 22.03.17.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.macrofocus.molap.dataframe.rowmajor.AbstractRowMajorDataFrame
AbstractRowMajorDataFrame.AbstractQuery, AbstractRowMajorDataFrame.And, AbstractRowMajorDataFrame.DefaultQueryBuilder, AbstractRowMajorDataFrame.Equal, AbstractRowMajorDataFrame.GreaterThan, AbstractRowMajorDataFrame.Or, AbstractRowMajorDataFrame.Overlap, AbstractRowMajorDataFrame.SmallerThan
-
Nested classes/interfaces inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame
AbstractDataFrame.ColumnSeries
-
Nested classes/interfaces inherited from interface com.macrofocus.molap.dataframe.rowmajor.RowMajorDataFrame
RowMajorDataFrame.Column<R,V>, RowMajorDataFrame.Query<R,C,V>, RowMajorDataFrame.QueryBuilder<R,C,V>
-
-
Field Summary
-
Fields inherited from class com.macrofocus.molap.dataframe.rowmajor.AbstractRowMajorDataFrame
columnIndex
-
-
Constructor Summary
Constructors Constructor Description AccessorRowMajorDataFrame(C[] columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getColumnClass(C c)
Returns the most specific superclass for all cell values in a columnV
getValueAt(R r, C c)
Returns the value for the cell at the intersection of thecolumn
key androw
key.void
setValueAt(R row, C column, V value)
Sets the value for the cell at the intersection of thecolumn
key androw
key.-
Methods inherited from class com.macrofocus.molap.dataframe.rowmajor.AbstractRowMajorDataFrame
addAfterRow, addBeforeRow, addRow, addRow, getColumnIndex, getQueryBuilder, getRow, getRowClass, getRowIndex, join, remove, replaceRow, retrieve
-
Methods inherited from class com.macrofocus.molap.dataframe.AbstractMutableDataFrame
reindexRows, reindexRows
-
Methods inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame
addDataFrameListener, addWeakDataFrameListener, aggregate, aggregate, append, appendAndReindex, benchmark, columns, filter, getCentroid, getColumn, getColumnAddress, getColumnCount, getColumnKey, getColumnName, getConstant, getCount, getCountDistinct, getCountDistinctWithNull, getCube, getDataFrameAggregation, getDistributiveStatistics, getFirst, getFirstQuartile, getMax, getMean, getMedian, getMin, getRandom, getRowAddress, getRowCount, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, notifyDataFrameChanged, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRows, reindexRows, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.molap.dataframe.DataFrame
addDataFrameListener, addWeakDataFrameListener, aggregate, aggregate, append, appendAndReindex, benchmark, columns, filter, getCentroid, getColumn, getColumnAddress, getColumnCount, getColumnKey, getColumnName, getConstant, getCount, getCountDistinct, getCountDistinctWithNull, getDataFrameAggregation, getDistributiveStatistics, getFirst, getFirstQuartile, getMax, getMean, getMedian, getMin, getRandom, getRowAddress, getRowCount, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRows, reindexRows, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
-
Methods inherited from interface com.macrofocus.molap.dataframe.MutableDataFrame
reindexRows, reindexRows
-
-
-
-
Constructor Detail
-
AccessorRowMajorDataFrame
public AccessorRowMajorDataFrame(C[] columns)
-
-
Method Detail
-
getColumnClass
public java.lang.Class getColumnClass(C c)
Description copied from interface:DataFrame
Returns the most specific superclass for all cell values in a column- Parameters:
c
- the key of the column- Returns:
- the common ancestor class of the object values in the column.
-
getValueAt
public V getValueAt(R r, C c)
Description copied from interface:DataFrame
Returns the value for the cell at the intersection of thecolumn
key androw
key.- Parameters:
r
- the row key whose value is to be queriedc
- the column key whose value is to be queried- Returns:
- the value Object at the specified cell
-
setValueAt
public void setValueAt(R row, C column, V value)
Description copied from interface:MutableDataFrame
Sets the value for the cell at the intersection of thecolumn
key androw
key.- Parameters:
row
- the row key whose value is to be changedcolumn
- the column key whose value is to be changedvalue
- the new value at the specified cell
-
-