Package microsoft.dynamics.crm.complex
Class QueryExpression
- java.lang.Object
-
- microsoft.dynamics.crm.complex.QueryBase
-
- microsoft.dynamics.crm.complex.QueryExpression
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class QueryExpression extends QueryBase implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryExpression.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ColumnSetcolumnSetprotected FilterExpressioncriteriaprotected Booleandistinctprotected StringentityNameprotected List<LinkEntity>linkEntitiesprotected StringlinkEntitiesNextLinkprotected BooleannoLockprotected List<OrderExpression>ordersprotected StringordersNextLinkprotected PagingInfopageInfoprotected StringqueryHintsprotected QueryExpressionsubQueryExpressionprotected IntegertopCount-
Fields inherited from class microsoft.dynamics.crm.complex.QueryBase
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedQueryExpression()
-
Method Summary
-
-
-
Field Detail
-
distinct
protected Boolean distinct
-
noLock
protected Boolean noLock
-
subQueryExpression
protected QueryExpression subQueryExpression
-
pageInfo
protected PagingInfo pageInfo
-
queryHints
protected String queryHints
-
linkEntities
protected List<LinkEntity> linkEntities
-
linkEntitiesNextLink
protected String linkEntitiesNextLink
-
criteria
protected FilterExpression criteria
-
orders
protected List<OrderExpression> orders
-
ordersNextLink
protected String ordersNextLink
-
entityName
protected String entityName
-
columnSet
protected ColumnSet columnSet
-
topCount
protected Integer topCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classQueryBase
-
withDistinct
public QueryExpression withDistinct(Boolean distinct)
-
withNoLock
public QueryExpression withNoLock(Boolean noLock)
-
getSubQueryExpression
public Optional<QueryExpression> getSubQueryExpression()
-
withSubQueryExpression
public QueryExpression withSubQueryExpression(QueryExpression subQueryExpression)
-
getPageInfo
public Optional<PagingInfo> getPageInfo()
-
withPageInfo
public QueryExpression withPageInfo(PagingInfo pageInfo)
-
withQueryHints
public QueryExpression withQueryHints(String queryHints)
-
getLinkEntities
public com.github.davidmoten.odata.client.CollectionPage<LinkEntity> getLinkEntities()
-
getLinkEntities
public com.github.davidmoten.odata.client.CollectionPage<LinkEntity> getLinkEntities(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCriteria
public Optional<FilterExpression> getCriteria()
-
withCriteria
public QueryExpression withCriteria(FilterExpression criteria)
-
getOrders
public com.github.davidmoten.odata.client.CollectionPage<OrderExpression> getOrders()
-
getOrders
public com.github.davidmoten.odata.client.CollectionPage<OrderExpression> getOrders(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withEntityName
public QueryExpression withEntityName(String entityName)
-
withColumnSet
public QueryExpression withColumnSet(ColumnSet columnSet)
-
withTopCount
public QueryExpression withTopCount(Integer topCount)
-
withUnmappedField
public QueryExpression withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classQueryBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classQueryBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classQueryBase
-
builderQueryExpression
public static QueryExpression.Builder builderQueryExpression()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-