uniqueKeys

The uniqueKeys method returns a boolean indicating whether the keys (key column values for a row considered as a tuple) in the underlying partitioned table are unique.

If keys are unique, one can expect that table().selectDistinct(keyColumnNames.toArray(String[]::new)) is equivalent to table().view(keyColumnNames.toArray(String[]::new)).

Syntax

Parameters

This function does not take any parameters.

Returns

A boolean indicating whether the keys in the underlying partitioned table are unique.

Examples