org.odata4j.producer
Class QueryInfo

java.lang.Object
  extended by org.odata4j.producer.QueryInfo

public class QueryInfo
extends Object

QueryInfo represents an OData query as a strongly-typed immutable data structure.


Field Summary
 Map<String,String> customOptions
          Custom name-value pairs, if present.
 List<EntitySimpleProperty> expand
          Expand expressions, if present.
 BoolCommonExpression filter
          The filter expression to apply, if present.
 InlineCount inlineCount
          The $inlinecount value, if present.
 List<OrderByExpression> orderBy
          The ordering expressions to apply, if present.
 List<EntitySimpleProperty> select
          Selection clauses, if present.
 Integer skip
          The number of items to skip, if present.
 String skipToken
          The continuation token to use as a starting point, if present.
 Integer top
          The number of items to return, if present.
 
Constructor Summary
QueryInfo(InlineCount inlineCount, Integer top, Integer skip, BoolCommonExpression filter, List<OrderByExpression> orderBy, String skipToken, Map<String,String> customOptions, List<EntitySimpleProperty> expand, List<EntitySimpleProperty> select)
          Creates a new QueryInfo instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customOptions

public final Map<String,String> customOptions
Custom name-value pairs, if present.

See Also:
[odata.org] Custom Query Options

expand

public final List<EntitySimpleProperty> expand
Expand expressions, if present.

See Also:
[odata.org] Expand System Query Option ($expand)

filter

public final BoolCommonExpression filter
The filter expression to apply, if present.

See Also:
[odata.org] Filter System Query Option ($filter)

inlineCount

public final InlineCount inlineCount
The $inlinecount value, if present.

See Also:
[odata.org] Inlinecount System Query Option ($inlinecount)

orderBy

public final List<OrderByExpression> orderBy
The ordering expressions to apply, if present.

See Also:
[odata.org] Orderby System Query Option ($orderby)

select

public final List<EntitySimpleProperty> select
Selection clauses, if present.

See Also:
[odata.org] Select System Query Option ($select)

skip

public final Integer skip
The number of items to skip, if present.

See Also:
[odata.org] Skip System Query Option ($skip)

skipToken

public final String skipToken
The continuation token to use as a starting point, if present.


top

public final Integer top
The number of items to return, if present.

See Also:
[odata.org] Top System Query Option ($top)
Constructor Detail

QueryInfo

public QueryInfo(InlineCount inlineCount,
                 Integer top,
                 Integer skip,
                 BoolCommonExpression filter,
                 List<OrderByExpression> orderBy,
                 String skipToken,
                 Map<String,String> customOptions,
                 List<EntitySimpleProperty> expand,
                 List<EntitySimpleProperty> select)
Creates a new QueryInfo instance.



http://odata4j.org