public static class LogicalTypes.TimestampMicros extends LogicalType
LOGICAL_TYPE_PROP| Modifier and Type | Method and Description |
|---|---|
void |
validate(Schema schema)
Validate this logical type for the given Schema.
|
addToSchema, getNamepublic void validate(Schema schema)
LogicalTypeThis will throw an exception if the Schema is incompatible with this type. For example, a date is stored as an int and is incompatible with a fixed Schema.
validate in class LogicalTypeschema - a SchemaCopyright © 2009–2023 The Apache Software Foundation. All rights reserved.