getOrCreateDataIndex
Retrieves an existing data index for a given table and specified key column(s), or creates the index if it does not already exist.
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 or create the data index. |
| keyColumnNames | String... | The name(s) of the key column(s) defining the index (varargs). |
| keyColumnNames | String[] | The name(s) of the key column(s) defining the index (array). |
Returns
Returns the existing or newly created DataIndex object.