Package com.macrofocus.molap.dataframe
Interface MutableDataFrame<R,C,V>
-
- All Superinterfaces:
DataFrame<R,C,V>
- All Known Subinterfaces:
RowMajorDataFrame<R,C,V>
- All Known Implementing Classes:
AbstractMutableDataFrame
,AbstractRowMajorDataFrame
,AccessorRowMajorDataFrame
,AsyncDataFrame
,ClosestDataFrame
,ColumnMajorDataFrame
,ColumnModelDataFrame
,ColumnOrderDataFrame
,DefaultDataFrame
,DerivedDataFrame
,HashMapRowMajorDataFrame
,HeadDataFrame
,MultipageDataFrame
,NumberDataFrame
,ReIndexedDataFrame
,ReMappedDataFrame
,SelectDataFrame
,SimpleDataFrame
,SubsetDataFrame
,TailDataFrame
,TimeSeriesDataFrames.DefaultDynamic
,TimeSeriesDataFrames.DefaultStatic
,WrappedDataFrame
public interface MutableDataFrame<R,C,V> extends DataFrame<R,C,V>
Defines the requirements for a data frame that can change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutableDataFrame<V,C,V>
reindexRows(C column)
Returns a new data frame reindexed using the values coming from the specified column.MutableDataFrame<MultiKey,C,V>
reindexRows(C... rows)
Returns a new data frame reindexed using the values coming from the specified columns.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 interface com.macrofocus.molap.dataframe.DataFrame
addDataFrameListener, addWeakDataFrameListener, aggregate, aggregate, append, appendAndReindex, benchmark, columns, filter, getCentroid, getColumn, getColumnAddress, getColumnClass, getColumnCount, getColumnIndex, getColumnKey, getColumnName, getConstant, getCount, getCountDistinct, getCountDistinctWithNull, getDataFrameAggregation, getDistributiveStatistics, getFirst, getFirstQuartile, getMax, getMean, getMedian, getMin, getRandom, getRow, getRowAddress, getRowClass, getRowCount, getRowIndex, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getValueAt, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, join, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRows, reindexRows, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
-
-
-
-
Method Detail
-
setValueAt
void setValueAt(R row, C column, V value)
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
-
reindexRows
MutableDataFrame<V,C,V> reindexRows(C column)
Returns a new data frame reindexed using the values coming from the specified column.- Specified by:
reindexRows
in interfaceDataFrame<R,C,V>
- Parameters:
column
- the column to use for the label values- Returns:
- the reindexed data frame.
-
reindexRows
MutableDataFrame<MultiKey,C,V> reindexRows(C... rows)
Returns a new data frame reindexed using the values coming from the specified columns.- Specified by:
reindexRows
in interfaceDataFrame<R,C,V>
- Parameters:
rows
- the columns to use for the label values- Returns:
- the reindexed data frame.
-
-