public interface URIBuilder extends CommonURIBuilder<URIBuilder>
Modifier and Type | Method and Description |
---|---|
URIBuilder |
appendAllSegment()
Appends all segment to the URI.
|
URIBuilder |
appendCrossjoinSegment(String... segmentValues)
Appends cross join segment to the URI.
|
URIBuilder |
appendEntityIdSegment(String segmentValue)
Appends entity-id segment to the URI.
|
URIBuilder |
appendKeySegment(EdmEnumType enumType,
String memberName)
Appends enum key segment to the URI.
|
URIBuilder |
appendKeySegment(Map<String,org.apache.commons.lang3.tuple.Pair<EdmEnumType,String>> enumValues,
Map<String,Object> segmentValues)
Appends key segment to the URI, for multiple keys.
|
URIBuilder |
appendRefSegment()
Appends ref segment to the URI.
|
URIBuilder |
appendSingletonSegment(String segmentValue)
Appends Singleton segment to the URI.
|
URIBuilder |
count(boolean value)
Appends count query option.
|
URIBuilder |
expandWithOptions(String expandItem,
Map<QueryOption,Object> options)
The set of expanded entities can be refined through the application of expand options, expressed as a
semicolon-separated list of system query options, enclosed in parentheses, see [OData-URL].
|
URIBuilder |
expandWithSelect(String expandItem,
String... selectItems)
Properties of related entities can be specified by including the $select query option within the $expand.
|
URIBuilder |
id(String idValue)
Adds id query option.
|
URIBuilder |
search(String expression)
Appends search query option.
|
URIBuilder |
search(URISearch search)
Appends search query option.
|
addParameterAlias, addQueryOption, addQueryOption, appendBatchSegment, appendDerivedEntityTypeSegment, appendEntitySetSegment, appendKeySegment, appendKeySegment, appendMetadataSegment, appendNavigationSegment, appendOperationCallSegment, appendPropertySegment, appendValueSegment, build, count, expand, filter, filter, format, orderBy, replaceQueryOption, select, skip, skipToken, top
URIBuilder appendKeySegment(EdmEnumType enumType, String memberName)
enumType
- enum typememberName
- enum member nameURIBuilder appendKeySegment(Map<String,org.apache.commons.lang3.tuple.Pair<EdmEnumType,String>> enumValues, Map<String,Object> segmentValues)
enumValues
- enum segment values.segmentValues
- segment values.URIBuilder appendSingletonSegment(String segmentValue)
segmentValue
- segment value.URIBuilder appendEntityIdSegment(String segmentValue)
segmentValue
- segment valueURIBuilder appendRefSegment()
URIBuilder appendCrossjoinSegment(String... segmentValues)
segmentValues
- segment values.URIBuilder appendAllSegment()
URIBuilder id(String idValue)
idValue
- opaque token.QueryOption.ID
URIBuilder count(boolean value)
value
- true or falseQueryOption.COUNT
URIBuilder search(URISearch search)
search
- search expressionQueryOption.SEARCH
URIBuilder search(String expression)
expression
- search expressionQueryOption.SEARCH
URIBuilder expandWithOptions(String expandItem, Map<QueryOption,Object> options)
expandItem
- item to be expanded.options
- System query options. Allowed query options are: $filter, $select, $orderby, $skip, $top, $count,
$search, $expand, and $levels.QueryOption.EXPAND
URIBuilder expandWithSelect(String expandItem, String... selectItems)
expandItem
- related entity name.selectItems
- properties to be selected.QueryOption.EXPAND
,
QueryOption.SELECT
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.