Class SimpleQuery
java.lang.Object
com.microsoft.store.partnercenter.models.query.BaseQuery
com.microsoft.store.partnercenter.models.query.SimpleQuery
- All Implemented Interfaces:
IQuery
- Direct Known Subclasses:
IndexedQuery
public class SimpleQuery extends BaseQuery
A standard query that returns entities according to sort and filter options (Does not do paging).
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimpleQuery()protectedSimpleQuery(Object token) -
Method Summary
Modifier and Type Method Description FieldFiltergetFilter()Gets or sets the query filter.SortgetSort()Gets or sets the query sorting options.QueryTypegetType()Gets the query type.voidsetFilter(FieldFilter value)The query filter.voidsetSort(Sort value)Sets the query sorting options.StringtoString()Returns a string representation of the query.Methods inherited from class com.microsoft.store.partnercenter.models.query.BaseQuery
getIndex, getPageSize, getSeekOperation, getToken, setIndex, setPageSize, setSeekOperation, setToken
-
Constructor Details
-
SimpleQuery
protected SimpleQuery() -
SimpleQuery
-
-
Method Details
-
getType
Gets the query type. -
getFilter
Description copied from class:BaseQueryGets or sets the query filter. -
setFilter
Description copied from interface:IQueryThe query filter. -
getSort
Description copied from class:BaseQueryGets or sets the query sorting options. -
setSort
Description copied from interface:IQuerySets the query sorting options. -
toString
Returns a string representation of the query.
-