Class ColumnLong.Renamed

java.lang.Object
app.babylon.table.column.ColumnLong.Renamed
All Implemented Interfaces:
Column, ColumnLong
Enclosing interface:
ColumnLong

public static final class ColumnLong.Renamed extends Object implements ColumnLong
  • Method Details

    • getName

      public ColumnName getName()
      Description copied from interface: Column
      Returns the logical column name.
      Specified by:
      getName in interface Column
      Returns:
      the column name
    • size

      public int size()
      Description copied from interface: Column
      Returns the number of rows in the column.
      Specified by:
      size in interface Column
      Returns:
      the row count
    • get

      public long get(int i)
      Description copied from interface: ColumnLong
      Returns the long value at the supplied row.
      Specified by:
      get in interface ColumnLong
      Parameters:
      i - the zero-based row index
      Returns:
      the long value
    • isSet

      public boolean isSet(int i)
      Description copied from interface: Column
      Indicates whether the value at the supplied row is present.
      Specified by:
      isSet in interface Column
      Specified by:
      isSet in interface ColumnLong
      Parameters:
      i - the zero-based row index
      Returns:
      true when the row contains a value
    • toArray

      public long[] toArray(long[] x)
      Description copied from interface: ColumnLong
      Copies the values into the provided array, allocating a new array when necessary.
      Specified by:
      toArray in interface ColumnLong
      Parameters:
      x - the destination array, or null
      Returns:
      an array containing the column values
    • isConstant

      public boolean isConstant()
      Description copied from interface: Column
      Indicates whether the column represents the same value for every row.Unset values are part of the value pattern, so an all-unset column is constant, while a mix of unset and set values is not constant unless the implementation explicitly defines that pattern as constant.
      Specified by:
      isConstant in interface Column
      Returns:
      true when the column is constant
    • isAllSet

      public boolean isAllSet()
      Description copied from interface: Column
      Indicates whether every row in the column contains a value.
      Specified by:
      isAllSet in interface Column
      Returns:
      true when all rows are set
    • isNoneSet

      public boolean isNoneSet()
      Description copied from interface: Column
      Indicates whether no row in the column contains a value.
      Specified by:
      isNoneSet in interface Column
      Returns:
      true when every row is unset
    • view

      public Column view(ViewIndex rowIndex)
      Description copied from interface: Column
      Returns a projected view of this column using the supplied row mapping.
      Specified by:
      view in interface Column
      Parameters:
      rowIndex - the row mapping to apply
      Returns:
      a column view over the selected rows