Package com.macrofocus.molap.dataframe
Class AppendAndReindexDataFrame<Row,Column,V>
- java.lang.Object
-
- com.macrofocus.molap.dataframe.AbstractDataFrame<java.lang.Integer,Column,V>
-
- com.macrofocus.molap.dataframe.AppendAndReindexDataFrame<Row,Column,V>
-
- All Implemented Interfaces:
DataFrame<java.lang.Integer,Column,V>
public class AppendAndReindexDataFrame<Row,Column,V> extends AbstractDataFrame<java.lang.Integer,Column,V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame
AbstractDataFrame.ColumnSeries
-
-
Constructor Summary
Constructors Constructor Description AppendAndReindexDataFrame()
AppendAndReindexDataFrame(DataFrame<Row,Column,V> first, DataFrame<Row,Column,V> second)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataFrame<java.lang.Integer,Column,V>
add(DataFrame<Row,Column,V> dataFrame)
java.lang.Class
getColumnClass(Column column)
Returns the most specific superclass for all cell values in a columnUniqueIndex<Column>
getColumnIndex()
Gets the index used to access the columns.Series<Column,?>
getRow(java.lang.Integer integer)
Returns a series of all the values of a given row.java.lang.Class
getRowClass(java.lang.Integer integer)
Returns the most specific superclass for all cell values in a row.UniqueIndex<java.lang.Integer>
getRowIndex()
Gets the index used to access the rows.java.util.NavigableMap<java.lang.Integer,DataFrame<Row,Column,V>>
getRowMap()
V
getValueAt(java.lang.Integer integer, Column column)
Returns the value for the cell at the intersection of thecolumn
key androw
key.DataFrame
join(Series series, Column[] columns)
-
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, reindexRows, reindexRows, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
-
-
-
-
Method Detail
-
getRowClass
public java.lang.Class getRowClass(java.lang.Integer integer)
Description copied from interface:DataFrame
Returns the most specific superclass for all cell values in a row.- Parameters:
integer
- the key of the row- Returns:
- the common ancestor class of the object values in the row.
-
getColumnClass
public java.lang.Class getColumnClass(Column column)
Description copied from interface:DataFrame
Returns the most specific superclass for all cell values in a column- Parameters:
column
- the key of the column- Returns:
- the common ancestor class of the object values in the column.
-
getValueAt
public V getValueAt(java.lang.Integer integer, Column column)
Description copied from interface:DataFrame
Returns the value for the cell at the intersection of thecolumn
key androw
key.- Parameters:
integer
- the row key whose value is to be queriedcolumn
- the column key whose value is to be queried- Returns:
- the value Object at the specified cell
-
getRow
public Series<Column,?> getRow(java.lang.Integer integer)
Description copied from interface:DataFrame
Returns a series of all the values of a given row.- Parameters:
integer
- the row key- Returns:
- a Series object
-
getRowIndex
public UniqueIndex<java.lang.Integer> getRowIndex()
Description copied from interface:DataFrame
Gets the index used to access the rows.- Returns:
- the row index
-
getColumnIndex
public UniqueIndex<Column> getColumnIndex()
Description copied from interface:DataFrame
Gets the index used to access the columns.- Returns:
- the column index
-
-