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