Package org.apache.druid.catalog.model
Class ModelProperties.GranularityPropertyDefn
java.lang.Object
org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn<T>
org.apache.druid.catalog.model.ModelProperties.SimplePropertyDefn<String>
org.apache.druid.catalog.model.ModelProperties.StringPropertyDefn
org.apache.druid.catalog.model.ModelProperties.GranularityPropertyDefn
- All Implemented Interfaces:
ModelProperties.PropertyDefn<String>
- Direct Known Subclasses:
DatasourceDefn.SegmentGranularityFieldDefn
- Enclosing interface:
- ModelProperties
public static class ModelProperties.GranularityPropertyDefn
extends ModelProperties.StringPropertyDefn
-
Field Summary
Fields inherited from class org.apache.druid.catalog.model.ModelProperties.SimplePropertyDefn
valueClassFields inherited from class org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn
name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.druid.catalog.model.ModelProperties.SimplePropertyDefn
decode, decodeJson, typeNameMethods inherited from class org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn
merge, name, toString
-
Constructor Details
-
GranularityPropertyDefn
-
-
Method Details
-
validate
Description copied from class:ModelProperties.SimplePropertyDefnValidate that the given value is valid for this property. By default, does a value conversion and discards the value.- Specified by:
validatein interfaceModelProperties.PropertyDefn<String>- Overrides:
validatein classModelProperties.SimplePropertyDefn<String>
-