Package io.deephaven.kafka.ingest
Class JsonRecordUtil.JsonIntGetter
java.lang.Object
io.deephaven.kafka.ingest.JsonRecordUtil.JsonIntGetter
- All Implemented Interfaces:
JsonRecordGetter<Integer>
- Enclosing class:
- JsonRecordUtil
public static class JsonRecordUtil.JsonIntGetter
extends Object
implements JsonRecordGetter<Integer>
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 -
Method Summary
Modifier and TypeMethodDescriptionget(io.deephaven.shadow.jackson.com.fasterxml.jackson.databind.JsonNode node) A RecordGetter that will get a value obtained from aJsonRecordas indicated in the record by the key.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.kafka.ingest.JsonRecordGetter
get
-
Constructor Details
-
JsonIntGetter
public JsonIntGetter()
-
-
Method Details
-
get
public Object get(@Nullable io.deephaven.shadow.jackson.com.fasterxml.jackson.databind.JsonNode node) Description copied from interface:JsonRecordGetterA RecordGetter that will get a value obtained from aJsonRecordas indicated in the record by the key. The getter will be matched to the type of the column.- Specified by:
getin interfaceJsonRecordGetter<Integer>- Parameters:
node- TheJsonNodefrom which to get the value.
-