Package com.macrofocus.molap.dataframe
Class EmptyDataFrame
- java.lang.Object
-
- com.macrofocus.molap.dataframe.AbstractDataFrame
-
- com.macrofocus.molap.dataframe.EmptyDataFrame
-
- All Implemented Interfaces:
DataFrame
public class EmptyDataFrame extends AbstractDataFrame
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame
AbstractDataFrame.ColumnSeries
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getColumnClass(java.lang.Object o)
Returns the most specific superclass for all cell values in a columnUniqueIndex
getColumnIndex()
Gets the index used to access the columns.static EmptyDataFrame
getInstance()
Series
getRow(java.lang.Object o)
Returns a series of all the values of a given row.java.lang.Class
getRowClass(java.lang.Object o)
Returns the most specific superclass for all cell values in a row.UniqueIndex
getRowIndex()
Gets the index used to access the rows.java.lang.Object
getValueAt(java.lang.Object o, java.lang.Object o2)
Returns the value for the cell at the intersection of thecolumn
key androw
key.DataFrame
join(Series series, java.lang.Object[] objects)
-
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
-
getInstance
public static EmptyDataFrame getInstance()
-
getRowClass
public java.lang.Class getRowClass(java.lang.Object o)
Description copied from interface:DataFrame
Returns the most specific superclass for all cell values in a row.- Parameters:
o
- the key of the row- Returns:
- the common ancestor class of the object values in the row.
-
getColumnClass
public java.lang.Class getColumnClass(java.lang.Object o)
Description copied from interface:DataFrame
Returns the most specific superclass for all cell values in a column- Parameters:
o
- the key of the column- Returns:
- the common ancestor class of the object values in the column.
-
getValueAt
public java.lang.Object getValueAt(java.lang.Object o, java.lang.Object o2)
Description copied from interface:DataFrame
Returns the value for the cell at the intersection of thecolumn
key androw
key.- Parameters:
o
- the row key whose value is to be queriedo2
- the column key whose value is to be queried- Returns:
- the value Object at the specified cell
-
getRow
public Series getRow(java.lang.Object o)
Description copied from interface:DataFrame
Returns a series of all the values of a given row.- Parameters:
o
- the row key- Returns:
- a Series object
-
getRowIndex
public UniqueIndex getRowIndex()
Description copied from interface:DataFrame
Gets the index used to access the rows.- Returns:
- the row index
-
getColumnIndex
public UniqueIndex getColumnIndex()
Description copied from interface:DataFrame
Gets the index used to access the columns.- Returns:
- the column index
-
-