Class ColumnByte.Renamed

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

public static final class ColumnByte.Renamed extends Object implements ColumnByte
  • Nested Class Summary

    Nested classes/interfaces inherited from interface app.babylon.table.column.Column

    Column.Operator, Column.Type

    Nested classes/interfaces inherited from interface app.babylon.table.column.ColumnByte

    ColumnByte.Builder, ColumnByte.Renamed
  • Field Summary

    Fields inherited from interface app.babylon.table.column.ColumnByte

    TYPE
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    get(int i)
    Returns the byte value at the supplied row.
    Returns the logical column name.
    boolean
    Indicates whether every row in the column contains a value.
    boolean
    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.
    boolean
    Indicates whether no row in the column contains a value.
    boolean
    isSet(int i)
    Indicates whether the value at the supplied row is present.
    boolean
    Indicates whether the byte values match the legacy XLS file signature.
    boolean
    Indicates whether the byte values match the XLSX file signature.
    int
    Returns the number of rows in the column.
    byte[]
    toArray(byte[] x)
    Copies the values into the provided array, allocating a new array when necessary.
    view(ViewIndex rowIndex)
    Returns a projected view of this column using the supplied row mapping.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface app.babylon.table.column.Column

    isEmpty, predicate, toString

    Methods inherited from interface app.babylon.table.column.ColumnByte

    appendTo, compare, copy, copy, getType, max, min, predicate, predicate, select, selectRow, toString
  • 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 byte get(int i)
      Description copied from interface: ColumnByte
      Returns the byte value at the supplied row.
      Specified by:
      get in interface ColumnByte
      Parameters:
      i - the zero-based row index
      Returns:
      the byte 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
      Parameters:
      i - the zero-based row index
      Returns:
      true when the row contains a value
    • toArray

      public byte[] toArray(byte[] x)
      Description copied from interface: ColumnByte
      Copies the values into the provided array, allocating a new array when necessary.
      Specified by:
      toArray in interface ColumnByte
      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
    • isXls

      public boolean isXls()
      Description copied from interface: ColumnByte
      Indicates whether the byte values match the legacy XLS file signature.
      Specified by:
      isXls in interface ColumnByte
      Returns:
      true when the column contents look like XLS bytes
    • isXlsx

      public boolean isXlsx()
      Description copied from interface: ColumnByte
      Indicates whether the byte values match the XLSX file signature.
      Specified by:
      isXlsx in interface ColumnByte
      Returns:
      true when the column contents look like XLSX bytes
    • 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