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 TransformedDataIndexfrom(@NotNull DataIndex index, @NotNull DataIndexTransformer transformer) booleanWhether the indexBasicDataIndex.table()is refreshing.Get a list of the key column names for the indextable.@NotNull Map<ColumnSource<?>,String> Get a map from indexedColumnSourcesto key column names for the indextable.protected TablemaybeSortByFirstKey(@NotNull Table indexTable) Sort the input index table by the first row key of its RowSet column, if specified.@NotNull String@NotNull Tabletable(DataIndexOptions unused) Get theTablebacking this data index.Methods 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, toString, tryDecrementReferenceCount, tryIncrementReferenceCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.engine.table.BasicDataIndex
keyColumns, keyColumns, rowSetColumn, rowSetColumn, tableMethods inherited from interface io.deephaven.engine.liveness.LivenessManager
manage, unmanage, unmanageMethods 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:BasicDataIndexGet a list of the key column names for the indextable.- Specified by:
keyColumnNamesin interfaceBasicDataIndex- Returns:
- The key column names
-
keyColumnNamesByIndexedColumn
Description copied from interface:BasicDataIndexGet a map from indexedColumnSourcesto 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:
keyColumnNamesByIndexedColumnin interfaceBasicDataIndex- Returns:
- A map designating the key column names for each indexed
ColumnSource
-
rowSetColumnName
Description copied from interface:BasicDataIndex- Specified by:
rowSetColumnNamein interfaceBasicDataIndex- Returns:
- The
RowSetcolumn name
-
table
Description copied from interface:BasicDataIndexGet theTablebacking this data index.- Specified by:
tablein interfaceBasicDataIndex- Parameters:
unused- parameters to control the returned table- Returns:
- The
Table
-
isRefreshing
public boolean isRefreshing()Description copied from interface:BasicDataIndexWhether the indexBasicDataIndex.table()is refreshing. Some transformations will force the index to become static even when the source table is refreshing.- Specified by:
isRefreshingin interfaceBasicDataIndex- Returns:
trueif the indexBasicDataIndex.table()is refreshing,falseotherwise
-
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
-