shark.memstore2.column

IntDeltaEncoding

class IntDeltaEncoding extends CompressionAlgorithm

Delta encoding for 32-bit integers. The integers are encoded as follows:

The first byte is a delta byte. If the value of the delta byte is -128 (i.e. Byte.MinValue), we need to read the next 4 full bytes to get a new base value. If the value of the delta byte is anything else (i.e. from -127 inclusively to 127 inclusively), then its a delta value.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IntDeltaEncoding
  2. CompressionAlgorithm
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntDeltaEncoding()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var _compressedSize: Int

  7. var _uncompressedSize: Int

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compress[V](b: ByteBuffer, t: ColumnType[V, _]): ByteBuffer

    Compress the given buffer and return the compressed data as a new buffer.

    Compress the given buffer and return the compressed data as a new buffer.

    Definition Classes
    IntDeltaEncodingCompressionAlgorithm
  11. def compressedSize: Int

    Estimation of the data size once compressed.

    Estimation of the data size once compressed.

    Definition Classes
    IntDeltaEncodingCompressionAlgorithm
  12. def compressionRatio: Double

    Return compression ratio, smaller scores imply higher compressibility.

    Return compression ratio, smaller scores imply higher compressibility. Scores greater than 1.0 indicate that compressed data will take up more space than uncompressed data. This number is used to pick the compression algorithm to apply at runtime.

    Definition Classes
    CompressionAlgorithm
  13. def compressionType: IntDeltaCompressionType.type

    Definition Classes
    IntDeltaEncodingCompressionAlgorithm
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def gatherStatsForCompressibility[T](v: T, t: ColumnType[T, _]): Unit

    Collect a value so we can update the compression ratio for this compression algorithm.

    Collect a value so we can update the compression ratio for this compression algorithm.

    Definition Classes
    IntDeltaEncodingCompressionAlgorithm
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def supportsType(t: ColumnType[_, _]): Boolean

    Tests whether the compression algorithm supports a specific column type.

    Tests whether the compression algorithm supports a specific column type.

    Definition Classes
    IntDeltaEncodingCompressionAlgorithm
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. def uncompressedSize: Int

    The uncompressed size of the input data.

    The uncompressed size of the input data.

    Definition Classes
    IntDeltaEncodingCompressionAlgorithm
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CompressionAlgorithm

Inherited from AnyRef

Inherited from Any

Ungrouped