Interface ColumnByte

All Superinterfaces:
Column

public interface ColumnByte extends Column
A column of byte values used for compact storage of byte-oriented data and file-signature style checks.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder for nullable byte columns.

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

    Column.Type
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Column.Type
    Column type descriptor for primitive byte columns.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a byte column builder for the supplied column name.
    byte
    get(int i)
    Returns the byte value at the supplied row.
    boolean
    Indicates whether the byte values match the legacy XLS file signature.
    boolean
    Indicates whether the byte values match the XLSX file signature.

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

    compare, copy, getAsColumn, getName, getType, isAllSet, isNoneSet, isSet, size, toString, toString, view
  • Field Details

    • TYPE

      static final Column.Type TYPE
      Column type descriptor for primitive byte columns.
  • Method Details

    • builder

      static ColumnByte.Builder builder(ColumnName name)
      Creates a byte column builder for the supplied column name.
      Parameters:
      name - the column name
      Returns:
      a new byte column builder
    • get

      byte get(int i)
      Returns the byte value at the supplied row.
      Parameters:
      i - the zero-based row index
      Returns:
      the byte value
    • isXls

      boolean isXls()
      Indicates whether the byte values match the legacy XLS file signature.
      Returns:
      true when the column contents look like XLS bytes
    • isXlsx

      boolean isXlsx()
      Indicates whether the byte values match the XLSX file signature.
      Returns:
      true when the column contents look like XLSX bytes