Package io.deephaven.engine.table.impl
Class SourcePartitionedTable
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.table.impl.partitioned.PartitionedTableImpl
io.deephaven.engine.table.impl.SourcePartitionedTable
- All Implemented Interfaces:
LogOutputAppendable,LivenessManager,LivenessNode,LivenessReferent,PartitionedTable,Serializable
PartitionedTable of single-location SourceTables keyed by TableLocationKey. Refer to
TableLocationKey for an explanation of partitioning.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.table.PartitionedTable
PartitionedTable.Proxy -
Constructor Summary
ConstructorsConstructorDescriptionSourcePartitionedTable(@NotNull TableDefinition constituentDefinition, @Nullable UnaryOperator<Table> constituentTransformer, @NotNull TableLocationProvider tableLocationProvider, boolean subscribeToTableLocationProvider, boolean subscribeToTableLocations, @Nullable Predicate<ImmutableTableLocationKey> locationKeyMatcher) Construct aSourcePartitionedTablefrom the supplied parameters, excluding empty locations. -
Method Summary
Methods inherited from class io.deephaven.engine.table.impl.partitioned.PartitionedTableImpl
constituentChangesPermitted, constituentColumnName, constituentDefinition, constituentFor, constituents, filter, keyColumnNames, merge, partitionedTransform, proxy, sort, table, toString, transform, uniqueKeysMethods inherited from class io.deephaven.engine.liveness.LivenessArtifact
manageWithCurrentScopeMethods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessNode
getWeakReference, initializeTransientFieldsForLiveness, onReferenceCountAtZero, tryManage, tryUnmanage, tryUnmanageMethods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessReferent
destroy, dropReference, tryRetainReferenceMethods inherited from class io.deephaven.util.referencecounting.ReferenceCounted
append, decrementReferenceCount, forceReferenceCountToZero, getReferenceCountDebug, incrementReferenceCount, resetReferenceCount, tryDecrementReferenceCount, tryIncrementReferenceCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.engine.liveness.LivenessManager
manage, tryManage, tryUnmanage, tryUnmanage, unmanage, unmanageMethods inherited from interface io.deephaven.engine.liveness.LivenessReferent
dropReference, getReferentDescription, getWeakReference, retainReference, tryRetainReferenceMethods inherited from interface io.deephaven.base.log.LogOutputAppendable
appendMethods inherited from interface io.deephaven.engine.table.PartitionedTable
partitionedTransform, proxy, transform
-
Constructor Details
-
SourcePartitionedTable
public SourcePartitionedTable(@NotNull @NotNull TableDefinition constituentDefinition, @Nullable @Nullable UnaryOperator<Table> constituentTransformer, @NotNull @NotNull TableLocationProvider tableLocationProvider, boolean subscribeToTableLocationProvider, boolean subscribeToTableLocations, @Nullable @Nullable Predicate<ImmutableTableLocationKey> locationKeyMatcher) Construct aSourcePartitionedTablefrom the supplied parameters, excluding empty locations.Note that
subscribeToTableLocationProviderandsubscribeToTableLocationsare distinct because there may be use cases that supply their ownRowSetfor constituents. Others might care to observe changes to constituent rows, but only the initially-available set of locations.- Parameters:
constituentDefinition- TheTableDefinitionexpected of constituenttablesconstituentTransformer- Function to apply to each "raw" constituent before making the result available to downstream consumers. This may be used, for example, in order to correctly restrict the visible result rows in constituent tables. May benullif no transformations are needed. Must not returnnulltables, or tables with adefinitionthat does not matchconstituentDefinition.tableLocationProvider- Source for table locationssubscribeToTableLocationProvider- Whether changes to the set of available locations after instantiation should be reflected in the result SourcePartitionedTable; that is, whether constituents should be added or removedsubscribeToTableLocations- Whether constituents should be updated to reflect changes in their available rowslocationKeyMatcher- Function to filter desired location keys; only locations for whichtestreturnstruewill be included; may benullto include all
-