Class DatasourceDefn.SegmentGranularityFieldDefn
- 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
-
- org.apache.druid.catalog.model.table.DatasourceDefn.SegmentGranularityFieldDefn
-
- All Implemented Interfaces:
ModelProperties.PropertyDefn<String>
- Enclosing class:
- DatasourceDefn
public static class DatasourceDefn.SegmentGranularityFieldDefn extends ModelProperties.GranularityPropertyDefn
-
-
Field Summary
-
Fields inherited from class org.apache.druid.catalog.model.ModelProperties.SimplePropertyDefn
valueClass
-
Fields inherited from class org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn
name
-
-
Constructor Summary
Constructors Constructor Description SegmentGranularityFieldDefn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(Object value, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)Validate that the given value is valid for this property.-
Methods inherited from class org.apache.druid.catalog.model.ModelProperties.SimplePropertyDefn
decode, decodeJson, typeName
-
Methods inherited from class org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn
merge, name, toString
-
-
-
-
Method Detail
-
validate
public void validate(Object value, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
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.GranularityPropertyDefn
-
-