public interface RecordSerializerFactory
RecordSerializer.| Modifier and Type | Method and Description |
|---|---|
RecordSerializer |
createSerializer(int ver)
Factory method for creation
RecordSerializer. |
RecordSerializerFactory |
marshalledMode(boolean marshalledMode)
If marshalledMode is on, created serializer will read
MarshalledRecord with raw binary data instead of
actual record. |
RecordSerializerFactory |
recordDeserializeFilter(IgniteBiPredicate<WALRecord.RecordType,WALPointer> readTypeFilter)
Specifies deserialization filter.
|
RecordSerializerFactory |
skipPositionCheck(boolean skipPositionCheck)
If skipPositionCheck is true, created serializer won't check that actual position of record in file is equal to
position in saved record's WALPointer.
|
RecordSerializerFactory |
writePointer(boolean writePointer)
TODO: This flag was added under IGNITE-6029, but still unused.
|
RecordSerializer createSerializer(int ver) throws IgniteCheckedException
RecordSerializer.ver - Serializer version.IgniteCheckedExceptionRecordSerializerFactory writePointer(boolean writePointer)
writePointer - Write pointer flag.RecordSerializerFactory recordDeserializeFilter(IgniteBiPredicate<WALRecord.RecordType,WALPointer> readTypeFilter)
FilteredRecord instead of actual
record if record type/pointer doesn't satisfy filter.readTypeFilter - Read type filter.RecordSerializerFactory marshalledMode(boolean marshalledMode)
MarshalledRecord with raw binary data instead of
actual record.
Useful for copying binary data from WAL.marshalledMode - Marshalled mode.RecordSerializerFactory skipPositionCheck(boolean skipPositionCheck)
skipPositionCheck - Skip position check.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019