Package io.deephaven.qst.table
Class TableHeader
java.lang.Object
io.deephaven.qst.table.TableHeader
- All Implemented Interfaces:
TableSchema
,Iterable<ColumnHeader<?>>
@Immutable
public abstract class TableHeader
extends Object
implements TableSchema, Iterable<ColumnHeader<?>>
A table header is a list of
column headers
. Each column header will have a distinct name.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
Nested classes/interfaces inherited from interface io.deephaven.qst.table.TableSchema
TableSchema.Visitor<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TableHeader.Builder
builder()
static TableHeader
empty()
final void
forEach
(Consumer<? super ColumnHeader<?>> action) final Type<?>
final Iterator<ColumnHeader<?>>
iterator()
final int
static TableHeader
of
(ColumnHeader<?>... headers) static TableHeader
of
(Iterable<ColumnHeader<?>> headers) final Spliterator<ColumnHeader<?>>
final <T> T
walk
(TableSchema.Visitor<T> visitor)
-
Constructor Details
-
TableHeader
public TableHeader()
-
-
Method Details
-
builder
-
empty
-
of
-
of
-
numColumns
public final int numColumns() -
getHeader
-
columnNames
-
walk
- Specified by:
walk
in interfaceTableSchema
-
iterator
- Specified by:
iterator
in interfaceIterable<ColumnHeader<?>>
-
forEach
- Specified by:
forEach
in interfaceIterable<ColumnHeader<?>>
-
spliterator
- Specified by:
spliterator
in interfaceIterable<ColumnHeader<?>>
-