Class ModelObjectMap

java.lang.Object
com.yahoo.processing.request.Properties
All Implemented Interfaces:
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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    shouldSet(com.yahoo.processing.request.CompoundName name, 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, requireSettable, 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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ModelObjectMap

      public ModelObjectMap()
  • Method Details

    • shouldSet

      protected boolean shouldSet(com.yahoo.processing.request.CompoundName name, 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 class PropertyMap