Package io.deephaven.qst.table
Interface TableSpec
- All Superinterfaces:
TableOperations<TableSpec,
,TableSpec> TableOperationsDefaults<TableSpec,
,TableSpec> TableSchema
- All Known Subinterfaces:
InputTable
,Join
,SelectableTable
,SingleParentTable
- All Known Implementing Classes:
AggregateAllTable
,AggregateTable
,AsOfJoinTable
,BlinkInputTable
,ByTableBase
,DropColumnsTable
,EmptyTable
,ExactJoinTable
,HeadTable
,InMemoryAppendOnlyInputTable
,InMemoryKeyBackedInputTable
,InputTableBase
,JoinBase
,JoinTable
,LazyUpdateTable
,MergeTable
,MultiJoinTable
,NaturalJoinTable
,NewTable
,RangeJoinTable
,ReverseTable
,SelectDistinctTable
,SelectTable
,SliceTable
,SnapshotTable
,SnapshotWhenTable
,SortTable
,TableBase
,TailTable
,TicketTable
,TimeTable
,UngroupTable
,UpdateByTable
,UpdateTable
,UpdateViewTable
,ViewTable
,WhereInTable
,WhereTable
A table specification is a declarative description of a table query. Part of a "query syntax tree".
A table specification may be built-up explicitly via the individual implementation class build patterns, or may be
built-up in a fluent-manner via the TableOperations
interface.
A table specification can be "replayed" against the fluent interfaces, see
TableCreator.create(TableCreator, TableToOperations, OperationsToTable, TableSpec)
.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from interface io.deephaven.api.TableOperations
AGG_BY_PRESERVE_EMPTY_DEFAULT
Fields inherited from interface io.deephaven.api.TableOperationsDefaults
ZERO_LENGTH_COLUMNNAME_ARRAY, ZERO_LENGTH_FILTER_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
depth()
The depth of the table is the maximum depth of its dependencies plus one.static EmptyTable
empty
(long size) logic()
static MergeTable
static TableSpec
merge
(Collection<? extends TableSpec> tables) static TableSpec
of
(TableCreationLogic logic) static TicketTable
ticket
(byte[] ticket) Create a ticket table with theticket
bytes.static TicketTable
Deprecated.<T> T
walk
(TableSpec.Visitor<T> visitor) Methods inherited from interface io.deephaven.api.TableOperations
aggAllBy, aggBy, asOfJoin, dropColumns, exactJoin, head, join, join, lazyUpdate, naturalJoin, rangeJoin, reverse, select, selectDistinct, selectDistinct, slice, snapshot, snapshotWhen, snapshotWhen, snapshotWhen, sort, tail, ungroup, update, updateBy, updateView, view, where, whereIn, whereNotIn
Methods inherited from interface io.deephaven.api.TableOperationsDefaults
absSumBy, absSumBy, absSumBy, absSumBy, aggAllBy, aggAllBy, aggAllBy, aggBy, aggBy, aggBy, aggBy, aggBy, aggBy, aggBy, aj, aj, avgBy, avgBy, avgBy, avgBy, countBy, countBy, countBy, countBy, dropColumns, dropColumns, exactJoin, exactJoin, firstBy, firstBy, firstBy, firstBy, groupBy, groupBy, groupBy, join, join, join, lastBy, lastBy, lastBy, lastBy, lazyUpdate, maxBy, maxBy, maxBy, maxBy, medianBy, medianBy, medianBy, medianBy, minBy, minBy, minBy, minBy, naturalJoin, naturalJoin, raj, raj, rangeJoin, select, select, selectDistinct, sort, sortDescending, stdBy, stdBy, stdBy, stdBy, sumBy, sumBy, sumBy, sumBy, ungroup, ungroup, ungroup, ungroup, update, updateBy, updateBy, updateBy, updateBy, updateBy, updateBy, updateBy, updateBy, updateView, varBy, varBy, varBy, varBy, view, wavgBy, wavgBy, wavgBy, wavgBy, where, whereIn, whereNotIn, wsumBy, wsumBy, wsumBy, wsumBy
Methods inherited from interface io.deephaven.qst.table.TableSchema
walk
-
Method Details
-
empty
-
merge
-
merge
-
of
-
ticket
Deprecated.preferticket(byte[])
Create a ticket table with the UTF-8 bytes from theticket
string.- Parameters:
ticket
- the ticket- Returns:
- the ticket table
-
ticket
Create a ticket table with theticket
bytes.- Parameters:
ticket
- the ticket- Returns:
- the ticket table
-
logic
TableCreationLogic logic() -
depth
@Derived default int depth()The depth of the table is the maximum depth of its dependencies plus one. A table with no dependencies has a depth of zero.- Returns:
- the depth
-
walk
-
ticket(byte[])