Interface ODataLiteralSerializer
- All Known Subinterfaces:
ODataProtocol
- All Known Implementing Classes:
ODataProtocol.ODataProtocolV2
,ODataProtocol.ODataProtocolV4
public interface ODataLiteralSerializer
Descriptor for protocol specific information on serializing type literals for filter expressions and entity keys.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a function to convert a givenOffsetDateTime
into aString
that conforms with the protocol specification.Returns a function to convert a givenLocalDateTime
into aString
that conforms with the protocol specification.
-
Method Details
-
getNumberSerializer
Returns a function to convert a givenNumber
into aString
that conforms with the protocol specification.- Returns:
- A serializer for
Number
s.
-
getUUIDSerializer
Returns a function to convert a givenUUID
into aString
that conforms with the protocol specification.- Returns:
- A serializer for
UUID
s.
-
getDateTimeOffsetSerializer
Returns a function to convert a givenOffsetDateTime
into aString
that conforms with the protocol specification.- Returns:
- A serializer for
OffsetDateTime
s.
-
getTimeOfDaySerializer
Returns a function to convert a givenLocalTime
into aString
that conforms with the protocol specification.- Returns:
- A serializer for
LocalTime
s.
-
getDateTimeSerializer
Returns a function to convert a givenLocalDateTime
into aString
that conforms with the protocol specification.- Returns:
- A serializer for
LocalDateTime
s.
-