Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02

The BinaryDeltaCompressor type exposes the following members.

Constructors

  NameDescription
Public methodBinaryDeltaCompressor
Initializes a new instance of the BinaryDeltaCompressor class

Methods

  NameDescription
Public methodApplyDelta
Apply a delta to an old value in order to create a new value.
Protected methodCreateDelta
Actually create a delta in the binary delta format. This method is designed to be overridden by subclasses that have more intimate knowledge of the contents of the buffers.
Protected methodStatic memberEnsureWriter
Make sure that a DataWriter exists if one doesn't already.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExtractDelta
Compare an old value to a new value and generate a delta that represents the changes that must be made to the old value in order to transform it into the new value.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodStatic memberFinalizeDelta
Convert an open delta output stream into a finalized Binary delta.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodStatic memberWriteAppend
Encode a binary diff "append" operator to indicate that bytes should be appended from the delta stream to the new value.
Protected methodStatic memberWriteExtract
Encode a binary diff "extract" operator to indicate that bytes should be copied from the old value to the new value.

Fields

  NameDescription
Protected fieldStatic memberDELTA_TRUNCATE
A delta value that indicates an empty new value.
Protected fieldStatic memberFMT_BINDIFF
A format indicator (the first byte of the binary delta) that indicates that the new value is formed by applying a series of modifications to the old value. The possible modifications are defined by the OP_* constants.
Protected fieldStatic memberFMT_EMPTY
A format indicator (the first byte of the binary delta) that indicates that the new value is a zero-length binary value.
Protected fieldStatic memberFMT_REPLACE
A format indicator (the first byte of the binary delta) that indicates that the new value is found in its entirety in the delta value. In other words, other than the first byte, the delta is itself the new value.
Protected fieldStatic memberMIN_BLOCK
Minimum length of an "extract" block to encode.
Protected fieldStatic memberNO_BINARY
An empty Binary object.
Protected fieldStatic memberOP_APPEND
A binary delta operator that instructs the {@link #applyDelta} method to copy the following bytes from the delta value and append them to the new value. The format is the one-byte OP_APPEND indicator followed by a packed int length and then a series of bytes. The length indicates the length of the series of bytes to copy from the delta value and append to the new value.
Protected fieldStatic memberOP_EXTRACT
A binary delta operator that instructs the ApplyDelta(Binary, Binary) method to extract bytes from the old value and append them to the new value. The format is the one-byte OP_EXTRACT indicator followed by a packed int offset and packed int length. The offset and length indicate the region of the old value to extract and append to the new value.
Protected fieldStatic memberOP_TERM
A binary delta operator that instructs the {@link #applyDelta} method that the delta has been fully applied.

See Also