public class SearchRequest extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
contentSources |
protected String |
contentSourcesNextLink |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Boolean |
enableTopResults |
protected List<EntityType> |
entityTypes |
protected String |
entityTypesNextLink |
protected Integer |
from |
protected String |
odataType |
protected SearchQuery |
query |
protected Integer |
size |
protected List<String> |
stored_fields |
protected String |
stored_fieldsNextLink |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
SearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
static SearchRequest.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getContentSources() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getContentSources(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<Boolean> |
getEnableTopResults() |
com.github.davidmoten.odata.client.CollectionPage<EntityType> |
getEntityTypes() |
com.github.davidmoten.odata.client.CollectionPage<EntityType> |
getEntityTypes(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<Integer> |
getFrom() |
Optional<SearchQuery> |
getQuery() |
Optional<Integer> |
getSize() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getStored_fields() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getStored_fields(com.github.davidmoten.odata.client.HttpRequestOptions options) |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
SearchRequest |
withEnableTopResults(Boolean enableTopResults) |
SearchRequest |
withFrom(Integer from) |
SearchRequest |
withQuery(SearchQuery query) |
SearchRequest |
withSize(Integer size) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected List<EntityType> entityTypes
protected String entityTypesNextLink
protected String contentSourcesNextLink
protected SearchQuery query
protected Integer from
protected Integer size
protected String stored_fieldsNextLink
protected Boolean enableTopResults
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic com.github.davidmoten.odata.client.CollectionPage<EntityType> getEntityTypes()
public com.github.davidmoten.odata.client.CollectionPage<EntityType> getEntityTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<String> getContentSources()
public com.github.davidmoten.odata.client.CollectionPage<String> getContentSources(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<SearchQuery> getQuery()
public SearchRequest withQuery(SearchQuery query)
public SearchRequest withFrom(Integer from)
public SearchRequest withSize(Integer size)
public com.github.davidmoten.odata.client.CollectionPage<String> getStored_fields()
public com.github.davidmoten.odata.client.CollectionPage<String> getStored_fields(com.github.davidmoten.odata.client.HttpRequestOptions options)
public SearchRequest withEnableTopResults(Boolean enableTopResults)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static SearchRequest.Builder builder()
Copyright © 2018–2020. All rights reserved.