Skip to main content
Version: Java (Groovy)

getAttributeKeys

The getAttributeKeys method returns an immutable set of all the attributes that have values in the source table's AttributeMap.

Syntax

table.getAttributeKeys()

Parameters

This method has no parameters.

Returns

An immutable set of all the attributes that have values in the source table's AttributeMap.

Examples

import io.deephaven.engine.table.impl.util.AppendOnlyArrayBackedInputTable
import io.deephaven.engine.table.AttributeMap

source = newTable(
doubleCol("Doubles", 3.1, 5.45, -1.0),
stringCol("Strings", "Creating", "New", "Tables")
)

result = AppendOnlyArrayBackedInputTable.make(source)

println source.getAttributeKeys()
println result.getAttributeKeys()