public interface URIBuilder
Modifier and Type | Method and Description |
---|---|
URIBuilder |
addCustomQueryOption(String paramName,
Object paramValue)
Adds custom query option
|
URIBuilder |
addQueryOption(QueryOption option,
String value)
Adds the specified query option to the URI.
|
URIBuilder |
appendCountSegment()
Appends count segment to the URI.
|
URIBuilder |
appendEntitySetSegment(String entitySet)
Appends EntitySet segment to the URI.
|
URIBuilder |
appendFunctionImportParameters(Map<String,Object> functionImportParams)
Appends function import parameters to the uri
|
URIBuilder |
appendFunctionImportSegment(String functionImport)
Appends function import to the uri
|
URIBuilder |
appendKeySegment(Map<String,Object> segmentValues)
Appends key segment to the URI, for multiple keys.
|
URIBuilder |
appendKeySegment(Object val)
Appends key segment to the URI.
|
URIBuilder |
appendMetadataSegment()
Appends metadata segment to the URI.
|
URIBuilder |
appendNavigationSegment(String navigationProperty)
Appends navigation segment to the URI.
|
URIBuilder |
appendPropertySegment(String segmentValue)
Appends property segment to the URI.
|
URIBuilder |
appendValueSegment()
Appends value segment to the URI.
|
URI |
build()
Build OData URI.
|
URIBuilder |
expand(String... expandItems)
Adds expand query option.
|
URIBuilder |
filter(String filter)
Adds filter query option.
|
URIBuilder |
format(String format)
Adds format query option.
|
URIBuilder |
orderBy(String order)
Adds orderby query option.
|
URIBuilder |
select(String... selectItems)
Adds select query option.
|
URIBuilder |
skip(int skip)
Adds skip query option.
|
URIBuilder |
top(int top)
Adds top query option.
|
URIBuilder appendEntitySetSegment(String entitySet)
entitySet
- String entity set.URIBuilder appendNavigationSegment(String navigationProperty)
navigationProperty
- String navigation property.URIBuilder appendKeySegment(Object val)
val
- segment value.URIBuilder appendKeySegment(Map<String,Object> segmentValues)
segmentValues
- segment values.URIBuilder appendPropertySegment(String segmentValue)
segmentValue
- String segment value.URIBuilder expand(String... expandItems)
expandItems
- items to be expanded in-lineQueryOption.EXPAND
URIBuilder select(String... selectItems)
selectItems
- select itemsQueryOption.SELECT
URIBuilder orderBy(String order)
order
- order string.QueryOption.ORDERBY
URIBuilder appendCountSegment()
URIBuilder appendMetadataSegment()
URIBuilder format(String format)
format
- media type acceptable in a response.QueryOption.FORMAT
URIBuilder appendValueSegment()
URIBuilder addQueryOption(QueryOption option, String value)
option
- query option.value
- query option value.URIBuilder filter(String filter)
filter
- filter string.QueryOption.FILTER
URIBuilder top(int top)
top
- maximum number of entities to be returned.QueryOption.TOP
URIBuilder skip(int skip)
skip
- number of entities to be skipped into the response.QueryOption.SKIP
URIBuilder addCustomQueryOption(String paramName, Object paramValue)
paramName
- parameter nameparamValue
- parameter valueURIBuilder appendFunctionImportSegment(String functionImport)
functionImport
- URIBuilder appendFunctionImportParameters(Map<String,Object> functionImportParams)
functionImportParams
- URI build()
Copyright © 2013-2019 The Apache Software Foundation. All Rights Reserved.