Package com.google.cloud.datastore
Class StructuredQuery.OrderBy
- java.lang.Object
-
- com.google.cloud.datastore.StructuredQuery.OrderBy
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StructuredQuery<V>
public static final class StructuredQuery.OrderBy extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StructuredQuery.OrderBy.Direction
-
Constructor Summary
Constructors Constructor Description OrderBy(String property, StructuredQuery.OrderBy.Direction direction)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructuredQuery.OrderBy
asc(String property)
static StructuredQuery.OrderBy
desc(String property)
boolean
equals(Object obj)
StructuredQuery.OrderBy.Direction
getDirection()
Returns the order's direction.String
getProperty()
Returns the property according to which the query result should be ordered.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
OrderBy
public OrderBy(String property, StructuredQuery.OrderBy.Direction direction)
-
-
Method Detail
-
getProperty
public String getProperty()
Returns the property according to which the query result should be ordered.
-
getDirection
public StructuredQuery.OrderBy.Direction getDirection()
Returns the order's direction.
-
asc
public static StructuredQuery.OrderBy asc(String property)
-
desc
public static StructuredQuery.OrderBy desc(String property)
-
-