Class DataConversion
java.lang.Object
org.infinispan.encoding.DataConversion
@ProtoTypeId(1066)
@ProtoReserved(numbers={2,3},
names={"encoderId","wrapperId"})
public final class DataConversion
extends Object
Handle conversions for Keys or values.
- Since:
- 9.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanextractIndexable(Object stored, boolean javaEmbeddedEntities) Convert the stored object in a format suitable to be indexed.fromStorage(Object stored) inthashCode()static DataConversionstatic DataConversiontoString()withRequestMediaType(MediaType requestMediaType)
-
Constructor Details
-
DataConversion
public DataConversion(boolean isKey)
-
-
Method Details
-
withRequestMediaType
-
fromStorage
-
toStorage
-
extractIndexable
-
getRequestMediaType
-
getStorageMediaType
-
wrap
-
unwrap
-
newKeyDataConversion
- Returns:
- A new instance with request type
MediaType.APPLICATION_OBJECT. - Since:
- 11.0
-
newValueDataConversion
- Returns:
- A new instance with request type
MediaType.APPLICATION_OBJECT. - Since:
- 11.0
-
equals
-
toString
-
hashCode
-