public static class LogicalTypes.TimeMicros extends LogicalType
LOGICAL_TYPE_PROP
Modifier and Type | Method and Description |
---|---|
void |
validate(Schema schema)
Validate this logical type for the given Schema.
|
addToSchema, getName
public void validate(Schema schema)
LogicalType
This 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 LogicalType
schema
- a SchemaCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.