Package io.deephaven.kafka.ingest
Class JsonRecordUtil.JsonBigDecimalSetter
java.lang.Object
io.deephaven.kafka.ingest.JsonRecordUtil.JsonBigDecimalSetter
- All Implemented Interfaces:
JsonRecordSetter
- Enclosing class:
- JsonRecordUtil
public static class JsonRecordUtil.JsonBigDecimalSetter extends Object implements JsonRecordSetter
Provides a BigDecimal-typed set method to call a
RowSetter set method and populate it with a
value from a JsonRecord.-
Constructor Summary
Constructors Constructor Description JsonBigDecimalSetter() -
Method Summary
Modifier and Type Method Description voidset(JsonRecord record, String key, RowSetter setter)A RowSetter that will set a value obtained from aJsonRecordas indicated in the record by the key.
-
Constructor Details
-
JsonBigDecimalSetter
public JsonBigDecimalSetter()
-
-
Method Details
-
set
Description copied from interface:JsonRecordSetterA RowSetter that will set a value obtained from aJsonRecordas 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:
setin interfaceJsonRecordSetter- Parameters:
record- TheJsonRecordfrom which to get the value.key- The property name by which to retrieve the value from the record.setter- TheRowSetterfor which the set method will be called.
-