Class TableSupplier
java.lang.Object
io.deephaven.util.referencecounting.ReferenceCounted
io.deephaven.engine.liveness.ReferenceCountedLivenessReferent
io.deephaven.engine.liveness.ReferenceCountedLivenessNode
io.deephaven.engine.liveness.LivenessArtifact
io.deephaven.engine.util.parametrized.TableSupplier
- All Implemented Interfaces:
LogOutputAppendable
,LivenessManager
,LivenessNode
,LivenessReferent
,Serializable
,InvocationHandler
TableSupplier creates a Proxy to a Table with a list of Table operations to be applied when a filter method is
called.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Table
Use to start the construction of a Table Supplier.static Table
Sets a Table Supplier to be complete.static Table
getAppliedEmptyTable
(Table maybeSupplier) Gets an empty version of the supplied table with all current operations applied to it.Methods inherited from class io.deephaven.engine.liveness.LivenessArtifact
manageWithCurrentScope
Methods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessNode
getWeakReference, initializeTransientFieldsForLiveness, onReferenceCountAtZero, tryManage, tryUnmanage, tryUnmanage
Methods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessReferent
destroy, dropReference, tryRetainReference
Methods inherited from class io.deephaven.util.referencecounting.ReferenceCounted
append, decrementReferenceCount, forceReferenceCountToZero, getReferenceCountDebug, incrementReferenceCount, resetReferenceCount, toString, tryDecrementReferenceCount, tryIncrementReferenceCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.engine.liveness.LivenessManager
manage, unmanage, unmanage
Methods inherited from interface io.deephaven.engine.liveness.LivenessReferent
dropReference, getReferentDescription, retainReference, tryRetainReference
-
Method Details
-
build
Use to start the construction of a Table Supplier.- Parameters:
sourceTable
- the source table- Returns:
- a Proxy that will supply a table
-
complete
Sets a Table Supplier to be complete. This means that the supplier will generate a table the next time a filter operation is called. This method has no affect on Tables that are not suppliers.- Parameters:
maybeSupplier
- a Table that may be a supplier- Returns:
- a completed Supplier or unaltered Table
-
getAppliedEmptyTable
Gets an empty version of the supplied table with all current operations applied to it. If the Table is not a Table Supplier then this will return the table unaltered.- Parameters:
maybeSupplier
- a Table that may be a supplier- Returns:
- an applied empty table or an unaltered table
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-