Package org.apache.druid.catalog.model
Class ModelProperties.ObjectPropertyDefn<T>
java.lang.Object
org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn<T>
org.apache.druid.catalog.model.ModelProperties.ObjectPropertyDefn<T>
- All Implemented Interfaces:
ModelProperties.PropertyDefn<T>
- Enclosing interface:
- ModelProperties
public static class ModelProperties.ObjectPropertyDefn<T>
extends ModelProperties.BasePropertyDefn<T>
-
Field Summary
FieldsFields inherited from class org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert the value from the deserialized JSON format to the type required by this field data type.typeName()The name of the type of this property to be displayed in error messages.voidValidate that the given value is valid for this property.Methods inherited from class org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn
merge, name, toString
-
Field Details
-
valueClass
-
-
Constructor Details
-
ObjectPropertyDefn
-
-
Method Details
-
typeName
Description copied from interface:ModelProperties.PropertyDefnThe name of the type of this property to be displayed in error messages. -
decode
Convert the value from the deserialized JSON format to the type required by this field data type. Also used to decode values from SQL parameters. As a side effect, verifies that the value is of the correct type. -
validate
Validate that the given value is valid for this property. By default, does a value conversion and discards the value.
-