getDataIndex
Retrieves an existing data index for a table and key column(s), or returns null if none exists. It never creates an index. To create one, use getOrCreateDataIndex.
This method is part of the io.deephaven.engine.table.impl.indexer.DataIndexer class and is typically used via a static import.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| table | Table | The table from which to retrieve the data index. |
| keyColumnNames | String... | The name(s) of the key column(s) defining the index (varargs). |
| keyColumnNames | Collection<String> | The name(s) of the key column(s) defining the index (collection). |
Returns
The DataIndex, or null if no usable index exists.