Vertica documentation is moving! Use our new documentation site at https://docs.rocketsoftware.com/bundle/vertica_12.0/page/index.html

com.vertica.sdk.vmap.v1.KeySelector Interface Reference

Inheritance diagram for com.vertica.sdk.vmap.v1.KeySelector:

Collaboration diagram for com.vertica.sdk.vmap.v1.KeySelector:

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

  • ident: A 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.