Class TransformedDataIndex
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.TransformedDataIndex
- All Implemented Interfaces:
LogOutputAppendable
,LivenessManager
,LivenessNode
,LivenessReferent
,BasicDataIndex
,Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic TransformedDataIndex
from
(@NotNull DataIndex index, @NotNull DataIndexTransformer transformer) 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
.protected Table
maybeSortByFirstKey
(@NotNull Table indexTable) Sort the input index table by the first row key of its RowSet column, if specified.@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 TransformedDataIndex from(@NotNull @NotNull DataIndex index, @NotNull @NotNull DataIndexTransformer transformer) -
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
-
maybeSortByFirstKey
Sort the input index table by the first row key of its RowSet column, if specified.- Parameters:
indexTable
- The input index table- Returns:
- The table sorted by first row key, if requested, else the input index table
-