Package io.deephaven.qst.table
Class TicketTable
java.lang.Object
io.deephaven.qst.table.TableBase
io.deephaven.qst.table.TicketTable
- All Implemented Interfaces:
TableOperations<TableSpec,
,TableSpec> TableOperationsDefaults<TableSpec,
,TableSpec> TableSchema
,TableSpec
A ticket table is a byte format that allows callers to reference an existing table via ticket. The ticket bytes are
opaque; the byte-format may change from release to release.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.qst.table.TableSpec
TableSpec.Visitor<T>
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TicketTable
fromApplicationField
(String applicationId, String fieldName) Create a ticket table from the providedapplicationId
andfieldName
.static TicketTable
fromQueryScopeField
(String fieldName) Create a ticket table from the providedfieldName
.static TicketTable
of
(byte[] ticket) Create a ticket table with theticket
bytes.static TicketTable
Deprecated.abstract byte[]
ticket()
The ticket.final <T> T
walk
(TableSpec.Visitor<T> visitor) Methods inherited from class io.deephaven.qst.table.TableBase
aggAllBy, aggBy, asOfJoin, dropColumns, exactJoin, head, join, join, lazyUpdate, logic, naturalJoin, rangeJoin, reverse, select, select, selectDistinct, selectDistinct, snapshot, snapshotWhen, snapshotWhen, snapshotWhen, sort, tail, toString, ungroup, update, updateBy, updateView, view, walk, where, whereIn, whereNotIn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, 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
-
Constructor Details
-
TicketTable
public TicketTable()
-
-
Method Details
-
of
Create a ticket table with theticket
bytes.- Parameters:
ticket
- the ticket- Returns:
- the ticket table
-
of
Deprecated.prefer to be explicit and either useof(byte[])
orfromQueryScopeField(String)
Create a ticket table with the UTF-8 bytes from theticket
string.- Parameters:
ticket
- the ticket string- Returns:
- the ticket table
-
fromQueryScopeField
Create a ticket table from the providedfieldName
.- Parameters:
fieldName
- the query scope field name- Returns:
- the ticket table
-
fromApplicationField
Create a ticket table from the providedapplicationId
andfieldName
.- Parameters:
applicationId
- the application idfieldName
- the application field name- Returns:
- the ticket table
-
ticket
@Parameter public abstract byte[] ticket()The ticket.- Returns:
- the ticket
-
walk
-
of(byte[])
orfromQueryScopeField(String)