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

ParameterTypeDescription
tableTable

The table to check for an existing data index.

keyColumnNamesString...

The name(s) of the key column(s) defining the index (varargs).

keyColumnNamesString[]

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.