Class WrappedDataFrame<R,​C,​V>

    • Constructor Detail

      • WrappedDataFrame

        public WrappedDataFrame​(DataFrame<R,​C,​V> dataFrame)
    • Method Detail

      • getColumnName

        public java.lang.String getColumnName​(C c)
        Description copied from interface: DataFrame
        Returns the name of the column. This is a convenience method for labeling purpose.
        Specified by:
        getColumnName in interface DataFrame<R,​C,​V>
        Overrides:
        getColumnName in class AbstractDataFrame<R,​C,​V>
        Parameters:
        c - the key of the column
        Returns:
        the name of the column
      • 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
        Specified by:
        getColumnClass in interface DataFrame<R,​C,​V>
        Overrides:
        getColumnClass in class ReMappedDataFrame<R,​C,​V>
        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 the column key and row key.
        Specified by:
        getValueAt in interface DataFrame<R,​C,​V>
        Overrides:
        getValueAt in class ReMappedDataFrame<R,​C,​V>
        Parameters:
        r - the row key whose value is to be queried
        c - the column key whose value is to be queried
        Returns:
        the value Object at the specified cell
      • addOriginalColumns

        public void addOriginalColumns()
      • addOriginalColumn

        public void addOriginalColumn​(C... columns)
      • addRenamedColumn

        public void addRenamedColumn​(C column,
                                     C name)
      • addRenamedColumn

        public void addRenamedColumn​(C column,
                                     C name,
                                     boolean checkExists)