Package io.deephaven.kafka.ingest
Class JsonRecordUtil.JsonBigIntegerSetter
java.lang.Object
io.deephaven.kafka.ingest.JsonRecordUtil.JsonBigIntegerSetter
- All Implemented Interfaces:
JsonRecordSetter
- Enclosing class:
- JsonRecordUtil
public static class JsonRecordUtil.JsonBigIntegerSetter extends Object implements JsonRecordSetter
Provides a BigInteger-typed set method to call a
RowSetter
set method and populate it with a
value from a JsonRecord
.-
Constructor Summary
Constructors Constructor Description JsonBigIntegerSetter()
-
Method Summary
Modifier and Type Method Description void
set(JsonRecord record, String key, RowSetter setter)
A RowSetter that will set a value obtained from aJsonRecord
as indicated in the record by the key.
-
Constructor Details
-
JsonBigIntegerSetter
public JsonBigIntegerSetter()
-
-
Method Details
-
set
Description copied from interface:JsonRecordSetter
A RowSetter that will set a value obtained from aJsonRecord
as indicated in the record by the key. The setter and the value it sets will be matched to the type of the column.- Specified by:
set
in interfaceJsonRecordSetter
- Parameters:
record
- TheJsonRecord
from which to get the value.key
- The property name by which to retrieve the value from the record.setter
- TheRowSetter
for which the set method will be called.
-