Package app.babylon.table.column
Interface ColumnByte
- All Superinterfaces:
Column
A column of byte values used for compact storage of byte-oriented data and
file-signature style checks.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder for nullable byte columns.Nested classes/interfaces inherited from interface app.babylon.table.column.Column
Column.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Column.TypeColumn type descriptor for primitive byte columns. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnByte.Builderbuilder(ColumnName name) Creates a byte column builder for the supplied column name.byteget(int i) Returns the byte value at the supplied row.booleanisXls()Indicates whether the byte values match the legacy XLS file signature.booleanisXlsx()Indicates whether the byte values match the XLSX file signature.
-
Field Details
-
TYPE
Column type descriptor for primitive byte columns.
-
-
Method Details
-
builder
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:
truewhen the column contents look like XLS bytes
-
isXlsx
boolean isXlsx()Indicates whether the byte values match the XLSX file signature.- Returns:
truewhen the column contents look like XLSX bytes
-