|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.search.SortSpec
public final class SortSpec
Sorting specification for a single dimension. Multi-dimensional sorting is supported by a collection of SortSpecs.
Nested Class Summary | |
---|---|
static class |
SortSpec.Builder
A builder that constructs SortSpecs . |
static class |
SortSpec.SortDirection
The direction search results are sorted by, either ascending or descending. |
static class |
SortSpec.SortType
The type of sorting to order documents in a search. |
Method Summary | |
---|---|
java.lang.String |
getDefaultValue()
|
java.lang.Double |
getDefaultValueNumeric()
|
SortSpec.SortDirection |
getDirection()
|
java.lang.String |
getExpression()
|
int |
getLimit()
|
SortSpec.SortType |
getType()
|
static SortSpec.Builder |
newBuilder()
Creates and returns a SortSpec Builder. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public SortSpec.SortType getType()
public int getLimit()
public java.lang.String getExpression()
public SortSpec.SortDirection getDirection()
public java.lang.String getDefaultValue()
public java.lang.Double getDefaultValueNumeric()
public static SortSpec.Builder newBuilder()
SortSpec.Builder
. Set the parameters for the sort
specification on the Builder, and use the SortSpec.Builder.build()
method
to create a concrete instance of SortSpecpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |