public class SortedField extends Object
Constructor and Description |
---|
SortedField(String fieldWithPotentialPrefix)
Initializes a new instance of the
SortedField class. |
Modifier and Type | Method and Description |
---|---|
SortedField |
clone() |
String |
getField()
Index field name for sorting.
|
boolean |
isDescending()
Gets or sets a value indicating whether this
SortedField is descending. |
void |
setDescending(boolean descending)
Gets or sets a value indicating whether this
SortedField is descending. |
void |
setField(String field)
Index field name for sorting.
|
public SortedField(String fieldWithPotentialPrefix)
SortedField
class.fieldWithPotentialPrefix
- The field with potential prefix.public SortedField clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String getField()
public boolean isDescending()
SortedField
is descending.
public void setDescending(boolean descending)
SortedField
is descending.
descending
- public void setField(String field)
field
- Copyright © 2016. All Rights Reserved.