Package com.yahoo.search.query.profile
Class ModelObjectMap
- java.lang.Object
-
- com.yahoo.processing.request.Properties
-
- com.yahoo.search.query.Properties
-
- com.yahoo.search.query.properties.PropertyMap
-
- com.yahoo.search.query.profile.ModelObjectMap
-
- All Implemented Interfaces:
java.lang.Cloneable
public class ModelObjectMap extends PropertyMap
A map which stores all types which cannot be stored in a query profile that is rich model objects.This map will deep copy not only the model object map, but also each clonable member in the map.
- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description ModelObjectMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
shouldSet(com.yahoo.processing.request.CompoundName name, java.lang.Object value)
Returns true if the class of the value is *not* acceptable as a query profile value, and therefore should be set in this.-
Methods inherited from class com.yahoo.search.query.properties.PropertyMap
clone, clone, get, listProperties, propertyMap, set
-
Methods inherited from class com.yahoo.search.query.Properties
chained, getParentQuery, setParentQuery
-
Methods inherited from class com.yahoo.processing.request.Properties
asBoolean, asDouble, asInteger, asLong, asString, chain, clearAll, clearAll, clearAll, clearAll, cloneMap, get, get, get, get, get, get, get, getBoolean, getBoolean, getBoolean, getBoolean, getDouble, getDouble, getDouble, getDouble, getInstance, getInteger, getInteger, getInteger, getInteger, getLong, getLong, getLong, getLong, getString, getString, getString, getString, listProperties, listProperties, listProperties, listProperties, listProperties, listProperties, listProperties, set, set, set
-
-
-
-
Method Detail
-
shouldSet
protected boolean shouldSet(com.yahoo.processing.request.CompoundName name, java.lang.Object value)
Returns true if the class of the value is *not* acceptable as a query profile value, and therefore should be set in this.- Overrides:
shouldSet
in classPropertyMap
-
-