Java SDK Documentation  23.4.0
com.vertica.sdk.vmap.v1.KeySelector Interface Reference
Inheritance diagram for com.vertica.sdk.vmap.v1.KeySelector:
Inheritance graph
Collaboration diagram for com.vertica.sdk.vmap.v1.KeySelector:
Collaboration graph

Public Member Functions

String keyForIdent (String ident)
 

Detailed Description

An interface that provides deterministic resolution of identifiers to source data keys. See PartitionWriter#setRowFromMap(Map, com.vertica.sdk.TypeCoercion).

Member Function Documentation

String com.vertica.sdk.vmap.v1.KeySelector.keyForIdent ( String  ident)

Returns the key name of the first key that matches ident according to identifier comparison.

Parameters
identA SQL identifier or "key", similar to a column name.
Returns
A key from within the data that matches the ident, or null if not found.

Implemented in com.vertica.sdk.vmap.v1.Encoder.MatchingKeySelector, and com.vertica.sdk.vmap.v1.Encoder.