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 aJsonRecord
as indicated in the record by the key.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:JsonRecordGetter
A RecordGetter that will get a value obtained from aJsonRecord
as indicated in the record by the key. The getter will be matched to the type of the column.- Specified by:
get
in interfaceJsonRecordGetter<Integer>
- Parameters:
node
- TheJsonNode
from which to get the value.
-