public enum QueryOption extends Enum<QueryOption>
| Enum Constant and Description | 
|---|
| COUNTThe $count system query option allows clients to request a count of the matching resources included with the
 resources in the response. | 
| EXPANDThis option indicates entities associated with the EntityType instance or EntitySet, identified by the resource
 path section of the URI, and MUST be represented inline in the data service's response. | 
| FILTERThis option specifies a predicate used to filter the elements from the EntitySet identified by the resource path
 section of the URI. | 
| FORMATThis option specifies the media type acceptable in a response. | 
| IDThe entity-id specified by $id may be expressed absolute or relative to the request URL. | 
| LEVELSCyclic navigation properties (whose target type is identical or can be cast to its source type) can be recursively
 expanded using the special $levels option. | 
| ORDERBYThis option specifies the sort properties and sort direction (ascending or descending) that the data service MUST
 use to order the entities in the EntitySet, identified by the resource path section of the URI. | 
| SEARCHSearch expressions are used within the $search system query option to request entities matching the specified
 expression. | 
| SELECTThis option is used to specify that a subset of the properties of the entities identified by the path of the
 request URI and $expand query option SHOULD be returned in the response from the data service. | 
| SKIPThis option specifies a positive integer N that represents the number of entities, counted from the first entity in
 the EntitySet and ordered as specified by the $orderby option, that the data service should skip when returning the
 entities in the EntitySet, which is identified by the resource path section of the URI. | 
| SKIPTOKENThe value of a $skiptoken query option is an opaque token which identifies an index into the collection
 of entities identified by the URI containing the $skiptoken parameter. | 
| TOPThis option specifies a positive integer N that is the maximum number of entities in the EntitySet, identified by
 the resource path section of the URI, that the data service MUST return. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | toString() | 
| static QueryOption | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static QueryOption[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final QueryOption ID
public static final QueryOption COUNT
public static final QueryOption EXPAND
public static final QueryOption LEVELS
public static final QueryOption FORMAT
public static final QueryOption SELECT
public static final QueryOption ORDERBY
public static final QueryOption TOP
public static final QueryOption SKIP
public static final QueryOption SKIPTOKEN
public static final QueryOption FILTER
public static final QueryOption SEARCH
public static QueryOption[] values()
for (QueryOption c : QueryOption.values()) System.out.println(c);
public static QueryOption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<QueryOption>Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.