public static final class ODataProtocol.ODataProtocolV2 extends Object implements ODataProtocol
ODataProtocol.ODataProtocolV2, ODataProtocol.ODataProtocolV4V2, V4| Constructor and Description |
|---|
ODataProtocolV2() |
| Modifier and Type | Method and Description |
|---|---|
Function<OffsetDateTime,String> |
getDateTimeOffsetSerializer() |
Function<LocalDateTime,String> |
getDateTimeSerializer() |
Function<Number,String> |
getNumberSerializer() |
JsonLookup |
getPathToDeltaLink()
The JSON path(s) to the delta link of a versioned response.
|
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() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisEqualTo@Nonnull public Map.Entry<String,String> getQueryOptionInlineCount(boolean optionEnabled)
ODataProtocolgetQueryOptionInlineCount in interface ODataProtocoloptionEnabled - Determines the value of the query option.public String getProtocolVersion()
ODataProtocolgetProtocolVersion in interface ODataProtocolpublic JsonLookup getPathToResultSet()
ODataResponseDescriptorgetPathToResultSet in interface ODataResponseDescriptorpublic JsonLookup getPathToResultSingle()
ODataResponseDescriptorgetPathToResultSingle in interface ODataResponseDescriptorpublic JsonLookup getPathToResultPrimitive()
ODataResponseDescriptorgetPathToResultPrimitive in interface ODataResponseDescriptorpublic JsonLookup getPathToInlineCount()
ODataResponseDescriptorgetPathToInlineCount in interface ODataResponseDescriptorpublic JsonLookup getPathToNextLink()
ODataResponseDescriptorgetPathToNextLink in interface ODataResponseDescriptorpublic JsonLookup getPathToDeltaLink()
ODataResponseDescriptorgetPathToDeltaLink in interface ODataResponseDescriptorpublic Function<Number,String> getNumberSerializer()
getNumberSerializer in interface ODataLiteralSerializerpublic Function<UUID,String> getUUIDSerializer()
getUUIDSerializer in interface ODataLiteralSerializerpublic Function<OffsetDateTime,String> getDateTimeOffsetSerializer()
getDateTimeOffsetSerializer in interface ODataLiteralSerializerpublic Function<LocalTime,String> getTimeOfDaySerializer()
getTimeOfDaySerializer in interface ODataLiteralSerializerpublic Function<LocalDateTime,String> getDateTimeSerializer()
getDateTimeSerializer in interface ODataLiteralSerializerCopyright © 2022 SAP SE. All rights reserved.