Class StructuredQuery.OrderBy (2.14.1)

public static final class StructuredQuery.OrderBy implements Serializable

Inheritance

Object > StructuredQuery.OrderBy

Implements

Serializable

Static Methods

asc(String property)

public static StructuredQuery.OrderBy asc(String property)
Parameter
NameDescription
propertyString
Returns
TypeDescription
StructuredQuery.OrderBy

desc(String property)

public static StructuredQuery.OrderBy desc(String property)
Parameter
NameDescription
propertyString
Returns
TypeDescription
StructuredQuery.OrderBy

Constructors

OrderBy(String property, StructuredQuery.OrderBy.Direction direction)

public OrderBy(String property, StructuredQuery.OrderBy.Direction direction)
Parameters
NameDescription
propertyString
directionStructuredQuery.OrderBy.Direction

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDirection()

public StructuredQuery.OrderBy.Direction getDirection()

Returns the order's direction.

Returns
TypeDescription
StructuredQuery.OrderBy.Direction

getProperty()

public String getProperty()

Returns the property according to which the query result should be ordered.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides