Package io.deephaven.kafka.ingest
Class JsonRecordUtil.JsonShortGetter
java.lang.Object
io.deephaven.kafka.ingest.JsonRecordUtil.JsonShortGetter
- All Implemented Interfaces:
JsonRecordGetter<Short>
- Enclosing class:
- JsonRecordUtil
public static class JsonRecordUtil.JsonShortGetter
extends Object
implements JsonRecordGetter<Short>
Provides a Deephaven short-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
-
JsonShortGetter
public JsonShortGetter()
-
-
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<Short>- Parameters:
node- TheJsonNodefrom which to get the value.
-