Class IdentityEncoder
java.lang.Object
org.infinispan.commons.dataconversion.IdentityEncoder
- All Implemented Interfaces:
Encoder
Deprecated.
since 12.1. to be removed in a future version.
Encoder that does not change the content.
- Since:
- 9.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromStorage(Object content) Deprecated.Convert from storage format to the read/write format.Deprecated.Returns theMediaTypeproduced by this encoder or null if the storage format is not known.shortid()Deprecated.Each encoder is associated with an unique id in order to optimize serialization.booleanDeprecated.Deprecated.Convert data in the read/write format to the storage format.
-
Field Details
-
INSTANCE
Deprecated.
-
-
Constructor Details
-
IdentityEncoder
public IdentityEncoder()Deprecated.
-
-
Method Details
-
toStorage
Deprecated.Description copied from interface:EncoderConvert data in the read/write format to the storage format. -
fromStorage
Deprecated.Description copied from interface:EncoderConvert from storage format to the read/write format.- Specified by:
fromStoragein interfaceEncoder- Parameters:
content- data as stored in the cache, never null.- Returns:
- data in the read/write format
-
isStorageFormatFilterable
public boolean isStorageFormatFilterable()Deprecated.- Specified by:
isStorageFormatFilterablein interfaceEncoder- Returns:
- if true, will perform stream and related operation in the storage format.
-
getStorageFormat
Deprecated.Description copied from interface:EncoderReturns theMediaTypeproduced by this encoder or null if the storage format is not known.- Specified by:
getStorageFormatin interfaceEncoder
-
id
public short id()Deprecated.Description copied from interface:EncoderEach encoder is associated with an unique id in order to optimize serialization. Known ids are kept inEncoderIds.
-