@Beta public static final class ODataProtocol.ODataProtocolV2 extends Object implements ODataProtocol
ODataProtocol.ODataProtocolV2, ODataProtocol.ODataProtocolV4
V2, V4
Constructor and Description |
---|
ODataProtocolV2() |
Modifier and Type | Method and Description |
---|---|
Function<OffsetDateTime,String> |
getDateTimeOffsetSerializer() |
Function<LocalDateTime,String> |
getDateTimeSerializer() |
Function<Number,String> |
getNumberSerializer() |
JsonLookup |
getPathToInlineCount()
The JSON path(s) to an inline count.
|
JsonLookup |
getPathToNextLink()
The JSON path(s) to the next link of a multi page response.
|
JsonLookup |
getPathToResultPrimitive()
The JSON path(s) to a result primitive.
|
JsonLookup |
getPathToResultSet()
The JSON path(s) to a set of result elements.
|
JsonLookup |
getPathToResultSingle()
The JSON path(s) to a result object.
|
String |
getProtocolVersion()
The version number of this protocol.
|
Map.Entry<String,String> |
getQueryOptionInlineCount(boolean optionEnabled)
Build the (inline) count query option for this protocol version.
|
Function<LocalTime,String> |
getTimeOfDaySerializer() |
Function<UUID,String> |
getUUIDSerializer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEqualTo
@Nonnull public Map.Entry<String,String> getQueryOptionInlineCount(boolean optionEnabled)
ODataProtocol
getQueryOptionInlineCount
in interface ODataProtocol
optionEnabled
- Determines the value of the query option.public String getProtocolVersion()
ODataProtocol
getProtocolVersion
in interface ODataProtocol
public JsonLookup getPathToResultSet()
ODataResponseDescriptor
getPathToResultSet
in interface ODataResponseDescriptor
public JsonLookup getPathToResultSingle()
ODataResponseDescriptor
getPathToResultSingle
in interface ODataResponseDescriptor
public JsonLookup getPathToResultPrimitive()
ODataResponseDescriptor
getPathToResultPrimitive
in interface ODataResponseDescriptor
public JsonLookup getPathToInlineCount()
ODataResponseDescriptor
getPathToInlineCount
in interface ODataResponseDescriptor
public JsonLookup getPathToNextLink()
ODataResponseDescriptor
getPathToNextLink
in interface ODataResponseDescriptor
public Function<Number,String> getNumberSerializer()
getNumberSerializer
in interface ODataLiteralSerializer
public Function<UUID,String> getUUIDSerializer()
getUUIDSerializer
in interface ODataLiteralSerializer
public Function<OffsetDateTime,String> getDateTimeOffsetSerializer()
getDateTimeOffsetSerializer
in interface ODataLiteralSerializer
public Function<LocalTime,String> getTimeOfDaySerializer()
getTimeOfDaySerializer
in interface ODataLiteralSerializer
public Function<LocalDateTime,String> getDateTimeSerializer()
getDateTimeSerializer
in interface ODataLiteralSerializer
Copyright © 2021 SAP SE. All rights reserved.