public static class ProtoSchemaLogicalTypes.DurationNanos extends ProtoSchemaLogicalTypes.NanosType<Duration>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IDENTIFIER |
Constructor and Description |
---|
DurationNanos() |
Modifier and Type | Method and Description |
---|---|
Row |
toBaseType(Duration input) |
static Duration |
toDuration(Row row) |
Duration |
toInputType(Row base)
Convert the Java type used by the base
Schema.FieldType to the input type. |
static Row |
toRow(Duration input) |
getArgumentType, getBaseType, getIdentifier
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArgument
public static final java.lang.String IDENTIFIER
public Duration toInputType(Row base)
Schema.LogicalType
Schema.FieldType
to the input type.