Class RankProfileInputProperties

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

public class RankProfileInputProperties extends Properties
Verifies and converts properties according to any input declarations in the rank profile set on the query.
Author:
bratseth
  • Constructor Summary

    Constructors
    Constructor
    Description
    RankProfileInputProperties(SchemaInfo schemaInfo, Query query, Map<String,com.yahoo.language.process.Embedder> embedders)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    requireSettable(com.yahoo.processing.request.CompoundName name, Object value, Map<String,String> context)
    Throws IllegalInputException if the given key cannot be set to the given value.
    void
    set(com.yahoo.processing.request.CompoundName name, Object value, Map<String,String> context)
     

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

    chained, clone, getParentQuery, 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, 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, listProperties, set, set, set

    Methods inherited from class java.lang.Object

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

    • RankProfileInputProperties

      public RankProfileInputProperties(SchemaInfo schemaInfo, Query query, Map<String,com.yahoo.language.process.Embedder> embedders)
  • Method Details

    • set

      public void set(com.yahoo.processing.request.CompoundName name, Object value, Map<String,String> context)
      Overrides:
      set in class com.yahoo.processing.request.Properties
    • requireSettable

      public void requireSettable(com.yahoo.processing.request.CompoundName name, Object value, Map<String,String> context)
      Description copied from class: Properties
      Throws IllegalInputException if the given key cannot be set to the given value. This default implementation just passes to the chained properties, if any.
      Overrides:
      requireSettable in class Properties