public static final class MetadataQuery.OrderBy extends Object
| Modifier and Type | Method and Description |
|---|---|
static MetadataQuery.OrderBy |
ascending(String fieldName)
Creates OrderBy for ascending sort with a specified field.
|
static MetadataQuery.OrderBy |
descending(String fieldName)
Creates OrderBy for descending sort with a specified field.
|
public static MetadataQuery.OrderBy ascending(String fieldName)
fieldName - Name of a fieldpublic static MetadataQuery.OrderBy descending(String fieldName)
fieldName - Name of a field