Class StandaloneDataIndex
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.dataindex.StandaloneDataIndex
- All Implemented Interfaces:
LogOutputAppendable
,LivenessManager
,LivenessNode
,LivenessReferent
,BasicDataIndex
,Serializable
BasicDataIndex
implementation that holds an index Table
and does not specify the ColumnSources
that were indexed, and hence cannot support keyColumnNamesByIndexedColumn()
. This is useful
for standalone indices that are not associated with a specific table, but rather used to accumulate a merged index
for a merged table over the indexed data.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic StandaloneDataIndex
boolean
Whether the indexBasicDataIndex.table()
is refreshing
.Get a list of the key column names for the indextable
.@NotNull Map<ColumnSource<?>,
String> Get a map from indexedColumnSources
to key column names for the indextable
.@NotNull String
@NotNull Table
table()
Get theTable
backing this data index.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.table.BasicDataIndex
keyColumns, keyColumns, rowSetColumn
Methods inherited from interface io.deephaven.engine.liveness.LivenessManager
manage
Methods inherited from interface io.deephaven.engine.liveness.LivenessNode
unmanage, unmanage
Methods inherited from interface io.deephaven.engine.liveness.LivenessReferent
dropReference, getReferentDescription, getWeakReference, retainReference, tryRetainReference
-
Method Details
-
from
public static StandaloneDataIndex from(@NotNull @NotNull Table table, @NotNull @NotNull String[] keyColumnNames, @NotNull @NotNull String rowSetColumnName) -
keyColumnNames
Description copied from interface:BasicDataIndex
Get a list of the key column names for the indextable
.- Specified by:
keyColumnNames
in interfaceBasicDataIndex
- Returns:
- The key column names
-
keyColumnNamesByIndexedColumn
Description copied from interface:BasicDataIndex
Get a map from indexedColumnSources
to key column names for the indextable
. This map must be ordered in the same order presented byBasicDataIndex.keyColumnNames()
and used for lookup keys.- Specified by:
keyColumnNamesByIndexedColumn
in interfaceBasicDataIndex
- Returns:
- A map designating the key column names for each indexed
ColumnSource
-
rowSetColumnName
Description copied from interface:BasicDataIndex
- Specified by:
rowSetColumnName
in interfaceBasicDataIndex
- Returns:
- The
RowSet
column name
-
table
Description copied from interface:BasicDataIndex
Get theTable
backing this data index.- Specified by:
table
in interfaceBasicDataIndex
- Returns:
- The
Table
-
isRefreshing
public boolean isRefreshing()Description copied from interface:BasicDataIndex
Whether the indexBasicDataIndex.table()
is refreshing
. Some transformations will force the index to become static even when the source table is refreshing.- Specified by:
isRefreshing
in interfaceBasicDataIndex
- Returns:
true
if the indexBasicDataIndex.table()
is refreshing
,false
otherwise
-