Package org.apache.druid.catalog.model
Class ModelProperties.ListPropertyDefn<T>
java.lang.Object
org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn<T>
org.apache.druid.catalog.model.ModelProperties.TypeRefPropertyDefn<List<T>>
org.apache.druid.catalog.model.ModelProperties.ListPropertyDefn<T>
- All Implemented Interfaces:
ModelProperties.PropertyDefn<List<T>>
- Direct Known Subclasses:
DatasourceDefn.ClusterKeysDefn,ModelProperties.StringListPropertyDefn
- Enclosing interface:
- ModelProperties
public static class ModelProperties.ListPropertyDefn<T>
extends ModelProperties.TypeRefPropertyDefn<List<T>>
-
Field Summary
Fields inherited from class org.apache.druid.catalog.model.ModelProperties.TypeRefPropertyDefn
typeName, valueTypeFields inherited from class org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn
name -
Constructor Summary
ConstructorsConstructorDescriptionListPropertyDefn(String name, String typeName, com.fasterxml.jackson.core.type.TypeReference<List<T>> valueType) -
Method Summary
Methods inherited from class org.apache.druid.catalog.model.ModelProperties.TypeRefPropertyDefn
decode, typeName, validateMethods inherited from class org.apache.druid.catalog.model.ModelProperties.BasePropertyDefn
name, toString
-
Constructor Details
-
ListPropertyDefn
-
-
Method Details
-
merge
Description copied from interface:ModelProperties.PropertyDefnMerge a property value with an update. Validation of the update is typically done later, once all the updates are applied. The most typical merge is just: use the new value if provided, else the old value.- Specified by:
mergein interfaceModelProperties.PropertyDefn<T>- Overrides:
mergein classModelProperties.BasePropertyDefn<List<T>>
-