Package io.deephaven.qst
Interface TableCreator<TABLE>
- Type Parameters:
TABLE
- the table type
- All Known Subinterfaces:
Session
,TableHandleManager
,TableService
- All Known Implementing Classes:
SessionBase
,SessionImpl
,StackTraceMixInCreator
,TableCreatorImpl
,TableCreatorImpl
,TableHandleManagerDelegate
public interface TableCreator<TABLE>
Provides methods for building source tables.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Transform a table operation into a table.static interface
Transform a table into a table operation. -
Method Summary
Modifier and TypeMethodDescriptionstatic <TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
TableAdapterResults<TOPS,TABLE> create
(TableCreator<TABLE> creation, TableCreator.TableToOperations<TOPS, TABLE> toOps, TableCreator.OperationsToTable<TOPS, TABLE> toTable, TableSpec table) "Replay" thetable
against the given interfaces.static <TOPS extends TableOperations<TOPS,
TABLE>, TABLE>
TableAdapterResults<TOPS,TABLE> create
(TableCreator<TABLE> creation, TableCreator.TableToOperations<TOPS, TABLE> toOps, TableCreator.OperationsToTable<TOPS, TABLE> toTable, Iterable<TableSpec> tables) "Replay" thetable
against the given interfaces.default TABLE
emptyTable
(long size) Equivalent toof(EmptyTable.of(size))
.Merges the giventables
.default TABLE
default TABLE
default TABLE
default TABLE
default TABLE
default TABLE
default TABLE
default TABLE
default TABLE
default TABLE
merge
(TABLE t1, TABLE t2, TABLE t3, TABLE t4, TABLE t5, TABLE t6, TABLE t7, TABLE t8, TABLE t9, TABLE... remaining) multiJoin
(List<MultiJoinInput<TABLE>> inputs) Creates a multi join table.default TABLE
Equivalent toof(NewTable.of(columns))
.default TABLE
Equivalent toof(NewTable.of(columns))
.of
(EmptyTable emptyTable) Creates an empty table.of
(InputTable inputTable) Creates an input table.Creates a new table.of
(TicketTable ticketTable) Creates a ticket table.Creates a time table.default TABLE
ticket
(byte[] ticket) Create a ticket table with theticket
bytes.default TABLE
Deprecated.default TABLE
Equivalent toof(TimeTable.of(interval))
.default TABLE
Equivalent toof(TimeTable.of(interval, startTime))
.
-
Method Details
-
create
static <TOPS extends TableOperations<TOPS,TABLE>, TableAdapterResults<TOPS,TABLE> TABLE> create(TableCreator<TABLE> creation, TableCreator.TableToOperations<TOPS, TABLE> toOps, TableCreator.OperationsToTable<TOPS, TABLE> toTable, TableSpec table) "Replay" thetable
against the given interfaces.- Type Parameters:
TOPS
- the table operations typeTABLE
- the output table type- Parameters:
creation
- the table creationtoOps
- the table to operationstoTable
- the operations to tabletable
- the table specification- Returns:
- the output results
-
create
static <TOPS extends TableOperations<TOPS,TABLE>, TableAdapterResults<TOPS,TABLE> TABLE> create(TableCreator<TABLE> creation, TableCreator.TableToOperations<TOPS, TABLE> toOps, TableCreator.OperationsToTable<TOPS, TABLE> toTable, Iterable<TableSpec> tables) "Replay" thetable
against the given interfaces.- Type Parameters:
TOPS
- the table operations typeTABLE
- the output table type- Parameters:
creation
- the table creationtoOps
- the table to operationstoTable
- the operations to tabletables
- the table specifications- Returns:
- the output results
-
of
Creates a new table.- Parameters:
newTable
- the new table specification- Returns:
- the new table
-
of
Creates an empty table.- Parameters:
emptyTable
- the empty table specification- Returns:
- the empty table
-
of
Creates a time table.- Parameters:
timeTable
- the time table specifications- Returns:
- the time table
-
of
Creates a ticket table.- Parameters:
ticketTable
- the ticket table- Returns:
- the ticket table
-
of
Creates an input table.- Parameters:
inputTable
- the input table specifications- Returns:
- the input table
-
multiJoin
Creates a multi join table.- Parameters:
inputs
- the inputs- Returns:
- the multi join table
-
merge
Merges the giventables
.- Parameters:
tables
- the tables- Returns:
- the merged results
- See Also:
-
emptyTable
Equivalent toof(EmptyTable.of(size))
.- Parameters:
size
- the size- Returns:
- the empty table
- See Also:
-
newTable
Equivalent toof(NewTable.of(columns))
.- Parameters:
columns
- the columns- Returns:
- the new table
- See Also:
-
newTable
Equivalent toof(NewTable.of(columns))
.- Parameters:
columns
- the columns- Returns:
- the new table
- See Also:
-
timeTable
Equivalent toof(TimeTable.of(interval))
.- Parameters:
interval
- the interval- Returns:
- the time table
- See Also:
-
timeTable
Equivalent toof(TimeTable.of(interval, startTime))
.- Parameters:
interval
- the intervalstartTime
- the start time- Returns:
- the time table
- See Also:
-
merge
- See Also:
-
merge
- See Also:
-
merge
- See Also:
-
merge
- See Also:
-
merge
- See Also:
-
merge
- See Also:
-
merge
- See Also:
-
merge
default TABLE merge(TABLE t1, TABLE t2, TABLE t3, TABLE t4, TABLE t5, TABLE t6, TABLE t7, TABLE t8, TABLE t9) - See Also:
-
merge
default TABLE merge(TABLE t1, TABLE t2, TABLE t3, TABLE t4, TABLE t5, TABLE t6, TABLE t7, TABLE t8, TABLE t9, TABLE... remaining) - See Also:
-
merge
- See Also:
-
ticket
Deprecated.preferticket(byte[])
or other explicit methods onTicketTable
Create a ticket table with the UTF-8 bytes from theticket
string. Equivalent toof(TicketTable.of(ticket.getBytes(StandardCharsets.UTF_8)))
.- Parameters:
ticket
- the ticket string- Returns:
- the ticket table
- See Also:
-
ticket
Create a ticket table with theticket
bytes. Equivalent toof(TicketTable.of(ticket))
.- Parameters:
ticket
- the ticket- Returns:
- the ticket table
- See Also:
-
ticket(byte[])
or other explicit methods onTicketTable