Java SDK Documentation
12.0.0
|
Public Member Functions | |
MatchingKeySelector () | |
void | consume (Map< String,?> data) |
String | keyForIdent (String ident) |
A class that mimics the exact behavior of Encoder#keyForIdent(String) without having to pay the full performance cost of Encoder#consume(Map).
com.vertica.sdk.vmap.v1.Encoder.MatchingKeySelector.MatchingKeySelector | ( | ) |
Create a MatchingKeySelector instance.
void com.vertica.sdk.vmap.v1.Encoder.MatchingKeySelector.consume | ( | Map< String,?> | data | ) |
Consumes a map of data, looking only at the keys. This is necessary before calling keyForIdent(String).
data | A map of data specified with String keys. |
String com.vertica.sdk.vmap.v1.Encoder.MatchingKeySelector.keyForIdent | ( | String | ident | ) |
Returns the key name of the first key that matches ident
according to identifier comparison. Requires that data already be consumed.
Implements com.vertica.sdk.vmap.v1.KeySelector.