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
Verifies and converts properties according to any input declarations in the rank profile set on the query.
- Author:
- bratseth
-
Constructor Summary
ConstructorDescriptionRankProfileInputProperties
(SchemaInfo schemaInfo, Query query, Map<String, com.yahoo.language.process.Embedder> embedders) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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
-
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 classcom.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 classProperties
-