Class StructuredQuery.OrderBy (2.20.0)

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
Name Description
property String
Returns
Type Description
StructuredQuery.OrderBy

desc(String property)

public static StructuredQuery.OrderBy desc(String property)
Parameter
Name Description
property String
Returns
Type Description
StructuredQuery.OrderBy

Constructors

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

public OrderBy(String property, StructuredQuery.OrderBy.Direction direction)
Parameters
Name Description
property String
direction StructuredQuery.OrderBy.Direction

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDirection()

public StructuredQuery.OrderBy.Direction getDirection()

Returns the order's direction.

Returns
Type Description
StructuredQuery.OrderBy.Direction

getProperty()

public String getProperty()

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

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides