Class Sorting
- java.lang.Object
-
- com.yahoo.searchdefinition.document.Sorting
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public final class Sorting extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable
A search-time document attribute sort specification(per-document in-memory value). This belongs to the attribute or field(implicitt attribute).- Author:
- baldersheim
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Sorting.Function
static class
Sorting.Strength
-
Constructor Summary
Constructors Constructor Description Sorting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sorting
clone()
boolean
equals(java.lang.Object object)
Sorting.Function
getFunction()
java.lang.String
getLocale()
Sorting.Strength
getStrength()
int
hashCode()
boolean
isAscending()
boolean
isDescending()
void
setAscending()
void
setDescending()
void
setFunction(Sorting.Function function)
void
setLocale(java.lang.String locale)
void
setStrength(Sorting.Strength strength)
java.lang.String
toString()
-
-
-
Method Detail
-
isAscending
public boolean isAscending()
-
isDescending
public boolean isDescending()
-
getLocale
public java.lang.String getLocale()
-
getFunction
public Sorting.Function getFunction()
-
getStrength
public Sorting.Strength getStrength()
-
setAscending
public void setAscending()
-
setDescending
public void setDescending()
-
setFunction
public void setFunction(Sorting.Function function)
-
setLocale
public void setLocale(java.lang.String locale)
-
setStrength
public void setStrength(Sorting.Strength strength)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
clone
public Sorting clone()
- Overrides:
clone
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-