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