Package io.deephaven.kafka.ingest
Class JsonRecordUtil.JsonIntSetter
java.lang.Object
io.deephaven.kafka.ingest.JsonRecordUtil.JsonIntSetter
- All Implemented Interfaces:
JsonRecordSetter
- Enclosing class:
- JsonRecordUtil
public static class JsonRecordUtil.JsonIntSetter extends Object implements JsonRecordSetter
Provides a Deephaven int-typed set method to call a
RowSetter set method and populate it with a
value from a JsonRecord.-
Constructor Summary
Constructors Constructor Description JsonIntSetter() -
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
-
JsonIntSetter
public JsonIntSetter()
-
-
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.
-