Class NonexistentTableLocation
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregator<TableLocation.Listener>
io.deephaven.engine.table.impl.locations.impl.AbstractTableLocation
io.deephaven.engine.table.impl.locations.impl.NonexistentTableLocation
- All Implemented Interfaces:
LogOutputAppendable,DelegatingLivenessReferent,LivenessReferent,TableLocation,TableLocationState,PushdownFilterMatcher,NamedImplementation
TableLocation implementation for locations that are found to not actually exist when accessed.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.locations.TableLocation
TableLocation.Listener -
Field Summary
Fields inherited from class io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregator
subscriptionsFields inherited from interface io.deephaven.engine.table.impl.locations.TableLocationState
NULL_SIZE, NULL_TIME -
Constructor Summary
ConstructorsConstructorDescriptionNonexistentTableLocation(@NotNull TableKey tableKey, @NotNull TableLocationKey tableLocationKey) -
Method Summary
Modifier and TypeMethodDescriptionGet a list of the columns by which this location is indexedGet a name for the implementing class.@NotNull List<SortColumn>Get an ordered list of columns this location is sorted by.booleanhasDataIndex(@NotNull String... columns) Check if this TableLocation has a data index for the specified columns.@Nullable BasicDataIndexloadDataIndex(@NotNull String... columns) Load the data index from the location implementation.protected @NotNull ColumnLocationmakeColumnLocation(@NotNull String name) voidrefresh()Initialize or run state information.Methods inherited from class io.deephaven.engine.table.impl.locations.impl.AbstractTableLocation
asLivenessReferent, clearColumnLocations, deliverInitialSnapshot, destroy, estimatePushdownFilterCost, getColumnLocation, getDataIndex, getKey, getLastModifiedTimeMillis, getRowSet, getSize, getStateLock, getTableKey, handleUpdate, handleUpdate, handleUpdateInternal, handleUpdateInternal, hasAnyCachedDataIndex, hasCachedDataIndex, initializeState, makePushdownFilterContext, pushdownFilter, toStringMethods inherited from class io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregator
activateUnderlyingDataSource, activationFailed, activationSuccessful, checkHasSubscribers, deactivateUnderlyingDataSource, matchSubscriptionToken, postActivationHook, subscribe, supportsSubscriptions, unsubscribeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.engine.liveness.DelegatingLivenessReferent
dropReference, getWeakReference, tryRetainReferenceMethods inherited from interface io.deephaven.engine.liveness.LivenessReferent
getReferentDescription, retainReferenceMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocation
append, subscribe, supportsSubscriptions, toGenericString, toStringDetailed, toStringHelper, unsubscribeMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationState
copyStateValuesTo
-
Constructor Details
-
NonexistentTableLocation
public NonexistentTableLocation(@NotNull @NotNull TableKey tableKey, @NotNull @NotNull TableLocationKey tableLocationKey)
-
-
Method Details
-
getImplementationName
Description copied from interface:NamedImplementationGet a name for the implementing class. Useful for abstract classes that implement
LogOutputAppendableor overridetoString.The default implementation is correct, but not suitable for high-frequency usage.
- Returns:
- A name for the implementing class
-
refresh
public void refresh()Description copied from interface:TableLocationInitialize or run state information. -
getSortedColumns
Description copied from interface:TableLocationGet an ordered list of columns this location is sorted by.- Returns:
- A non-null ordered list of
SortColumns
-
getDataIndexColumns
Description copied from interface:TableLocationGet a list of the columns by which this location is indexed- Returns:
- A non-null list of
String[]arrays containing the key column names for each existing index
-
hasDataIndex
Description copied from interface:TableLocationCheck if this TableLocation has a data index for the specified columns.- Parameters:
columns- The set of columns to check for- Returns:
- Whether the TableLocation has an index for the specified columns
-
makeColumnLocation
- Specified by:
makeColumnLocationin classAbstractTableLocation
-
loadDataIndex
Description copied from class:AbstractTableLocationLoad the data index from the location implementation. Implementations of this method should not perform any result caching.- Specified by:
loadDataIndexin classAbstractTableLocation- Parameters:
columns- The columns to load an index for- Returns:
- The data index, or
nullif none exists
-