Class SubProperties

java.lang.Object
com.yahoo.processing.request.Properties
com.yahoo.search.query.Properties
com.yahoo.search.query.properties.SubProperties
All Implemented Interfaces:
Cloneable

@Deprecated(forRemoval=true) public class SubProperties extends Properties
Deprecated, for removal: This API element is subject to removal in a future version.
Unused and will go away on vespa 9
A wrapper around a chain of property objects that prefixes all gets/sets with a given path
Author:
Arne Bergene Fossaa
  • Constructor Summary

    Constructors
    Constructor
    Description
    SubProperties(com.yahoo.processing.request.CompoundName pathPrefix, com.yahoo.processing.request.Properties properties)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    SubProperties(String pathPrefix, com.yahoo.processing.request.Properties properties)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(com.yahoo.processing.request.CompoundName key, Map<String,String> context, com.yahoo.processing.request.Properties substitution)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns getPatchPrefixCompound.toString()
    com.yahoo.processing.request.CompoundName
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    listProperties(com.yahoo.processing.request.CompoundName path, Map<String,String> context, com.yahoo.processing.request.Properties substitution)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    set(com.yahoo.processing.request.CompoundName key, Object obj, Map<String,String> context)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class com.yahoo.search.query.Properties

    chained, clone, getParentQuery, requireSettable, setParentQuery

    Methods inherited from class com.yahoo.processing.request.Properties

    asBoolean, asDouble, asInteger, asLong, asString, chain, clearAll, clearAll, clearAll, clearAll, clone, 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

    • SubProperties

      public SubProperties(String pathPrefix, com.yahoo.processing.request.Properties properties)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SubProperties

      public SubProperties(com.yahoo.processing.request.CompoundName pathPrefix, com.yahoo.processing.request.Properties properties)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • get

      public Object get(com.yahoo.processing.request.CompoundName key, Map<String,String> context, com.yahoo.processing.request.Properties substitution)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      get in class com.yahoo.processing.request.Properties
    • set

      public void set(com.yahoo.processing.request.CompoundName key, Object obj, Map<String,String> context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      set in class com.yahoo.processing.request.Properties
    • listProperties

      public Map<String,Object> listProperties(com.yahoo.processing.request.CompoundName path, Map<String,String> context, com.yahoo.processing.request.Properties substitution)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      listProperties in class com.yahoo.processing.request.Properties
    • getPathPrefixCompound

      public com.yahoo.processing.request.CompoundName getPathPrefixCompound()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPathPrefix

      public String getPathPrefix()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns getPatchPrefixCompound.toString()