Package io.deephaven.client.impl
Class TableHandleManagerDelegate
java.lang.Object
io.deephaven.client.impl.TableHandleManagerDelegate
- All Implemented Interfaces:
TableHandleManager
,TableCreator<TableHandle>
- Direct Known Subclasses:
SessionBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.qst.TableCreator
TableCreator.OperationsToTable<TOPS extends TableOperations<TOPS,
TABLE>, TABLE>, TableCreator.TableToOperations<TOPS extends TableOperations<TOPS, TABLE>, TABLE> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TableHandleManager
delegate()
final TableHandle
emptyTable
(long size) Equivalent toof(EmptyTable.of(size))
.final LabeledValues<TableHandle>
execute
(LabeledTables tables) final TableHandle
Executes the giventable
, waiting for the export to complete successfully before returning.final List<TableHandle>
Executes the giventables
, waiting for all of the exports to complete successfully before returning.final TableHandle
executeInputs
(TableCreationLogic1Input logic, TableHandle t1) final TableHandle
executeInputs
(TableCreationLogic2Inputs logic, TableHandle t1, TableHandle t2) final LabeledValues<TableHandle>
final TableHandle
executeLogic
(TableCreationLogic logic) final List<TableHandle>
executeLogic
(Iterable<TableCreationLogic> logics) final TableHandle
merge
(TableHandle[] tableHandles) final TableHandle
merge
(TableHandle t1, TableHandle t2) final TableHandle
merge
(TableHandle t1, TableHandle t2, TableHandle t3) final TableHandle
merge
(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4) final TableHandle
merge
(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5) final TableHandle
merge
(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6) final TableHandle
merge
(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6, TableHandle t7) final TableHandle
merge
(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6, TableHandle t7, TableHandle t8) final TableHandle
merge
(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6, TableHandle t7, TableHandle t8, TableHandle t9) final TableHandle
merge
(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6, TableHandle t7, TableHandle t8, TableHandle t9, TableHandle... remaining) final TableHandle
merge
(Iterable<TableHandle> tableHandles) Merges the giventables
.final TableHandle
multiJoin
(List<MultiJoinInput<TableHandle>> multiJoinInputs) Creates a multi join table.final TableHandle
Equivalent toof(NewTable.of(columns))
.final TableHandle
Equivalent toof(NewTable.of(columns))
.final TableHandle
of
(EmptyTable emptyTable) Creates an empty table.final TableHandle
of
(InputTable inputTable) Creates an input table.final TableHandle
Creates a new table.final TableHandle
of
(TicketTable ticketTable) Creates a ticket table.final TableHandle
Creates a time table.final TableHandle
Equivalent toof(TimeTable.of(interval))
.final TableHandle
Equivalent toof(TimeTable.of(interval, startTime))
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.qst.TableCreator
ticket, ticket
-
Constructor Details
-
TableHandleManagerDelegate
public TableHandleManagerDelegate()
-
-
Method Details
-
delegate
-
execute
public final TableHandle execute(TableSpec table) throws TableHandle.TableHandleException, InterruptedException Description copied from interface:TableHandleManager
Executes the giventable
, waiting for the export to complete successfully before returning. If applicable, the request will build off of the existing exports.- Specified by:
execute
in interfaceTableHandleManager
- Parameters:
table
- the table spec- Returns:
- the table handle
- Throws:
TableHandle.TableHandleException
- if there was an exception on the exported table creation response or an RPC exceptionInterruptedException
- if the thread was interrupted while waiting- See Also:
-
execute
public final List<TableHandle> execute(Iterable<TableSpec> tables) throws TableHandle.TableHandleException, InterruptedException Description copied from interface:TableHandleManager
Executes the giventables
, waiting for all of the exports to complete successfully before returning. If applicable, the request will build off of the existing exports.- Specified by:
execute
in interfaceTableHandleManager
- Parameters:
tables
- the table spec- Returns:
- the table handles
- Throws:
TableHandle.TableHandleException
- if there was an exception in any of the exported table creation response or an RPC exceptionInterruptedException
- if the thread was interrupted while waiting- See Also:
-
execute
public final LabeledValues<TableHandle> execute(LabeledTables tables) throws TableHandle.TableHandleException, InterruptedException - Specified by:
execute
in interfaceTableHandleManager
- Throws:
TableHandle.TableHandleException
InterruptedException
-
executeLogic
public final TableHandle executeLogic(TableCreationLogic logic) throws TableHandle.TableHandleException, InterruptedException - Specified by:
executeLogic
in interfaceTableHandleManager
- Throws:
TableHandle.TableHandleException
InterruptedException
-
executeLogic
public final List<TableHandle> executeLogic(Iterable<TableCreationLogic> logics) throws TableHandle.TableHandleException, InterruptedException - Specified by:
executeLogic
in interfaceTableHandleManager
- Throws:
TableHandle.TableHandleException
InterruptedException
-
executeLogic
public final LabeledValues<TableHandle> executeLogic(TableCreationLabeledLogic logic) throws TableHandle.TableHandleException, InterruptedException - Specified by:
executeLogic
in interfaceTableHandleManager
- Throws:
TableHandle.TableHandleException
InterruptedException
-
executeInputs
public final TableHandle executeInputs(TableCreationLogic1Input logic, TableHandle t1) throws TableHandle.TableHandleException, InterruptedException - Specified by:
executeInputs
in interfaceTableHandleManager
- Throws:
TableHandle.TableHandleException
InterruptedException
-
executeInputs
public final TableHandle executeInputs(TableCreationLogic2Inputs logic, TableHandle t1, TableHandle t2) throws TableHandle.TableHandleException, InterruptedException - Specified by:
executeInputs
in interfaceTableHandleManager
- Throws:
TableHandle.TableHandleException
InterruptedException
-
of
Description copied from interface:TableCreator
Creates a new table.- Specified by:
of
in interfaceTableCreator<TableHandle>
- Parameters:
newTable
- the new table specification- Returns:
- the new table
-
of
Description copied from interface:TableCreator
Creates an empty table.- Specified by:
of
in interfaceTableCreator<TableHandle>
- Parameters:
emptyTable
- the empty table specification- Returns:
- the empty table
-
of
Description copied from interface:TableCreator
Creates a time table.- Specified by:
of
in interfaceTableCreator<TableHandle>
- Parameters:
timeTable
- the time table specifications- Returns:
- the time table
-
of
Description copied from interface:TableCreator
Creates a ticket table.- Specified by:
of
in interfaceTableCreator<TableHandle>
- Parameters:
ticketTable
- the ticket table- Returns:
- the ticket table
-
of
Description copied from interface:TableCreator
Creates an input table.- Specified by:
of
in interfaceTableCreator<TableHandle>
- Parameters:
inputTable
- the input table specifications- Returns:
- the input table
-
multiJoin
Description copied from interface:TableCreator
Creates a multi join table.- Specified by:
multiJoin
in interfaceTableCreator<TableHandle>
- Parameters:
multiJoinInputs
- the inputs- Returns:
- the multi join table
-
merge
Description copied from interface:TableCreator
Merges the giventables
.- Specified by:
merge
in interfaceTableCreator<TableHandle>
- Parameters:
tableHandles
- the tables- Returns:
- the merged results
- See Also:
-
emptyTable
Description copied from interface:TableCreator
Equivalent toof(EmptyTable.of(size))
.- Specified by:
emptyTable
in interfaceTableCreator<TableHandle>
- Parameters:
size
- the size- Returns:
- the empty table
- See Also:
-
newTable
Description copied from interface:TableCreator
Equivalent toof(NewTable.of(columns))
.- Specified by:
newTable
in interfaceTableCreator<TableHandle>
- Parameters:
columns
- the columns- Returns:
- the new table
- See Also:
-
newTable
Description copied from interface:TableCreator
Equivalent toof(NewTable.of(columns))
.- Specified by:
newTable
in interfaceTableCreator<TableHandle>
- Parameters:
columns
- the columns- Returns:
- the new table
- See Also:
-
timeTable
Description copied from interface:TableCreator
Equivalent toof(TimeTable.of(interval))
.- Specified by:
timeTable
in interfaceTableCreator<TableHandle>
- Parameters:
interval
- the interval- Returns:
- the time table
- See Also:
-
timeTable
Description copied from interface:TableCreator
Equivalent toof(TimeTable.of(interval, startTime))
.- Specified by:
timeTable
in interfaceTableCreator<TableHandle>
- Parameters:
interval
- the intervalstartTime
- the start time- Returns:
- the time table
- See Also:
-
merge
- Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-
merge
- Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-
merge
- Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-
merge
public final TableHandle merge(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5) - Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-
merge
public final TableHandle merge(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6) - Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-
merge
public final TableHandle merge(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6, TableHandle t7) - Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-
merge
public final TableHandle merge(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6, TableHandle t7, TableHandle t8) - Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-
merge
public final TableHandle merge(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6, TableHandle t7, TableHandle t8, TableHandle t9) - Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-
merge
public final TableHandle merge(TableHandle t1, TableHandle t2, TableHandle t3, TableHandle t4, TableHandle t5, TableHandle t6, TableHandle t7, TableHandle t8, TableHandle t9, TableHandle... remaining) - Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-
merge
- Specified by:
merge
in interfaceTableCreator<TableHandle>
- See Also:
-