Class SortingOperation
- java.lang.Object
-
- com.yahoo.searchdefinition.fieldoperation.SortingOperation
-
- All Implemented Interfaces:
FieldOperation
,java.lang.Comparable<FieldOperation>
public class SortingOperation extends java.lang.Object implements FieldOperation
- Author:
- Einar M R Rosenvinge
-
-
Constructor Summary
Constructors Constructor Description SortingOperation(java.lang.String attributeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(SDField field)
Apply this operation on the given fieldjava.lang.Boolean
getAscending()
java.lang.String
getAttributeName()
java.lang.Boolean
getDescending()
Sorting.Function
getFunction()
java.lang.String
getLocale()
Sorting.Strength
getStrength()
void
setAscending()
void
setDescending()
void
setFunction(Sorting.Function function)
void
setLocale(java.lang.String locale)
void
setStrength(Sorting.Strength strength)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.yahoo.searchdefinition.fieldoperation.FieldOperation
compareTo
-
-
-
-
Method Detail
-
getAttributeName
public java.lang.String getAttributeName()
-
getAscending
public java.lang.Boolean getAscending()
-
setAscending
public void setAscending()
-
getDescending
public java.lang.Boolean getDescending()
-
setDescending
public void setDescending()
-
getFunction
public Sorting.Function getFunction()
-
setFunction
public void setFunction(Sorting.Function function)
-
getStrength
public Sorting.Strength getStrength()
-
setStrength
public void setStrength(Sorting.Strength strength)
-
getLocale
public java.lang.String getLocale()
-
setLocale
public void setLocale(java.lang.String locale)
-
apply
public void apply(SDField field)
Description copied from interface:FieldOperation
Apply this operation on the given field- Specified by:
apply
in interfaceFieldOperation
-
-