Class DataConversion
java.lang.Object
org.infinispan.encoding.DataConversion
Handle conversions for Keys or values.
- Since:
- 9.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataConversion
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0.static final DataConversion
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0. -
Method Summary
Modifier and TypeMethodDescriptionboolean
extractIndexable
(Object stored, boolean javaEmbeddedEntities) Convert the stored object in a format suitable to be indexed.fromStorage
(Object stored) Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0.int
hashCode()
static DataConversion
static DataConversion
toString()
withEncoding
(Class<? extends Encoder> encoderClass) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.1, to be removed in a future version.withRequestMediaType
(MediaType requestMediaType) withWrapping
(Class<? extends Wrapper> wrapperClass) Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0.
-
Field Details
-
IDENTITY_KEY
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0. To be removed in 14.0. For internal use only. -
IDENTITY_VALUE
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0. To be removed in 14.0. For internal use only.
-
-
Method Details
-
withRequestMediaType
-
withEncoding
@Deprecated(forRemoval=true, since="12.1") public DataConversion withEncoding(Class<? extends Encoder> encoderClass) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.1, to be removed in a future version. -
withWrapping
@Deprecated(forRemoval=true, since="11.0") public DataConversion withWrapping(Class<? extends Wrapper> wrapperClass) Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0. To be removed in 14.0, with no replacement. -
fromStorage
-
toStorage
-
extractIndexable
-
getRequestMediaType
-
getStorageMediaType
-
getEncoder
-
getWrapper
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0. To be removed in 14.0, with no replacement. -
getEncoderClass
-
newKeyDataConversion
- Returns:
- A new instance with an
IdentityEncoder
and request typeMediaType.APPLICATION_OBJECT
. - Since:
- 11.0
-
newValueDataConversion
- Returns:
- A new instance with an
IdentityEncoder
and request typeMediaType.APPLICATION_OBJECT
. - Since:
- 11.0
-
equals
-
toString
-
hashCode
-