public static final class StructuredQuery.OrderBy extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
StructuredQuery.OrderBy.Direction |
Constructor and Description |
---|
OrderBy(String property,
StructuredQuery.OrderBy.Direction direction) |
Modifier and Type | Method and 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() |
public OrderBy(String property, StructuredQuery.OrderBy.Direction direction)
public String getProperty()
public StructuredQuery.OrderBy.Direction getDirection()
public static StructuredQuery.OrderBy asc(String property)
public static StructuredQuery.OrderBy desc(String property)
Copyright © 2019 Google LLC. All rights reserved.