hasDataIndex
Checks if a data index exists for a given table and specified key column(s).
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 to check for an existing 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 true if a data index exists for the table and key column(s); false otherwise.
Examples
The following example demonstrates how to use hasDataIndex to check for the existence of data indexes on a source table.
Related documentation
- Create data indexes
getDataIndexgetOrCreateDataIndex(To be created)DataIndexerJavadoc