public class ODataQueryBuilder extends Object
This class provides parameters(supported Microsoft Graph) and builds a query that specifies and controls the amount of data returned in the response.
| Constructor and Description |
|---|
ODataQueryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getCount()
Retrieves the total count of matching resources.
|
String[] |
getExpand()
Retrieves related resources.
|
String |
getFilter()
Filters results (rows).
|
String |
getFormat()
Returns the results in the specified media format.
|
String |
getOrderBy()
Orders results.
|
String |
getSearch()
Returns results based on search criteria.
|
String[] |
getSelect()
Filters properties (columns).
|
Integer |
getSkip()
Indexes into a result set.
|
Integer |
getTop()
Sets the page size of results.
|
void |
setCount(Boolean value)
Retrieves the total count of matching resources.
|
void |
setExpand(String[] value)
Retrieves related resources.
|
void |
setFilter(String value)
Filters results (rows).
|
void |
setFormat(String value)
Returns the results in the specified media format.
|
void |
setOrderBy(String value)
Orders results.
|
void |
setSearch(String value)
Returns results based on search criteria.
|
void |
setSelect(String[] value)
Filters properties (columns).
|
void |
setSkip(Integer value)
Indexes into a result set.
|
void |
setTop(Integer value)
Sets the page size of results.
|
public final String getFilter()
Filters results (rows).
public final void setFilter(String value)
Filters results (rows).
public final String getOrderBy()
Orders results.
public final void setOrderBy(String value)
Orders results.
public final Integer getTop()
Sets the page size of results.
public final void setTop(Integer value)
Sets the page size of results.
public final Integer getSkip()
Indexes into a result set. Also used by some APIs to implement paging and can be used together with $top to manually page results.
public final void setSkip(Integer value)
Indexes into a result set. Also used by some APIs to implement paging and can be used together with $top to manually page results.
public final String[] getSelect()
Filters properties (columns).
public final void setSelect(String[] value)
Filters properties (columns).
public final String[] getExpand()
Retrieves related resources.
public final void setExpand(String[] value)
Retrieves related resources.
public final Boolean getCount()
Retrieves the total count of matching resources.
public final void setCount(Boolean value)
Retrieves the total count of matching resources.
public final String getSearch()
Returns results based on search criteria.
public final void setSearch(String value)
Returns results based on search criteria.
public final String getFormat()
Returns the results in the specified media format.
public final void setFormat(String value)
Returns the results in the specified media format.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.