Class NativeRankTypeDefinitionSet
- java.lang.Object
-
- com.yahoo.searchdefinition.derived.NativeRankTypeDefinitionSet
-
public class NativeRankTypeDefinitionSet extends Object
A set of rank type definitions used for native rank features.- Author:
- geirst
-
-
Constructor Summary
Constructors Constructor Description NativeRankTypeDefinitionSet(String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RankType
getDefaultRankType()
Returns the default rank type (about)NativeRankTypeDefinition
getRankTypeDefinition(RankType type)
Returns a rank type definition if given an existing rank type name, or null if given a rank type which has no native implementation (meaning somebody forgot to add it),String
toString()
Map<RankType,NativeRankTypeDefinition>
types()
Returns an unmodifiable map of the type definitions in this
-
-
-
Constructor Detail
-
NativeRankTypeDefinitionSet
public NativeRankTypeDefinitionSet(String name)
-
-
Method Detail
-
getDefaultRankType
public static RankType getDefaultRankType()
Returns the default rank type (about)
-
getRankTypeDefinition
public NativeRankTypeDefinition getRankTypeDefinition(RankType type)
Returns a rank type definition if given an existing rank type name, or null if given a rank type which has no native implementation (meaning somebody forgot to add it),
-
types
public Map<RankType,NativeRankTypeDefinition> types()
Returns an unmodifiable map of the type definitions in this
-
-