Java SDK Documentation  24.2.0
com.vertica.sdk.vmap.InvalidMapKeyException Class Reference
Inheritance diagram for com.vertica.sdk.vmap.InvalidMapKeyException:
Inheritance graph
Collaboration diagram for com.vertica.sdk.vmap.InvalidMapKeyException:
Collaboration graph

Public Member Functions

 InvalidMapKeyException (String msg, String key)
 
String getKey ()
 

Detailed Description

An Exception that is thrown when an invalid key is found when attempting to encode a vmap, Vertica's aggregate type that powers Flex tables.

Constructor & Destructor Documentation

◆ InvalidMapKeyException()

com.vertica.sdk.vmap.InvalidMapKeyException.InvalidMapKeyException ( String  msg,
String  key 
)

Create an exception caused by an invalid key, with associated message (reason).

Parameters
msgThe reason for the exception, or more details on its cause.
keyThe key that is invalid.

Member Function Documentation

◆ getKey()

String com.vertica.sdk.vmap.InvalidMapKeyException.getKey ( )

Get the key value that caused the exception (i.e. is invalid).

Returns
The invalid key