Class NativeRankTypeDefinitionSet
- java.lang.Object
-
- com.yahoo.searchdefinition.derived.NativeRankTypeDefinitionSet
-
public class NativeRankTypeDefinitionSet extends java.lang.Object
A set of rank type definitions used for native rank features.- Author:
- geirst
-
-
Constructor Summary
Constructors Constructor Description NativeRankTypeDefinitionSet(java.lang.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),java.lang.String
toString()
java.util.Map<RankType,NativeRankTypeDefinition>
types()
Returns an unmodifiable map of the type definitions in this
-
-
-
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 java.util.Map<RankType,NativeRankTypeDefinition> types()
Returns an unmodifiable map of the type definitions in this
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-