class ScanRange extends Serializable

Construct to contain a single scan ranges information. Also provide functions to merge with other scan ranges through AND or OR operators

Annotations
@Private()
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScanRange
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScanRange(upperBound: Array[Byte], isUpperBoundEqualTo: Boolean, lowerBound: Array[Byte], isLowerBoundEqualTo: Boolean)

    upperBound

    Upper bound of scan

    isUpperBoundEqualTo

    Include upper bound value in the results

    lowerBound

    Lower bound of scan

    isLowerBoundEqualTo

    Include lower bound value in the results

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def compareRange(left: Array[Byte], right: Array[Byte]): Int

    Special compare logic because we can have null values for left or right bound

    Special compare logic because we can have null values for left or right bound

    left

    Left byte array

    right

    Right byte array

    returns

    0 for equals 1 is left is greater and -1 is right is greater

  7. def containsPoint(point: Array[Byte]): Boolean

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getOverLapScanRange(other: ScanRange): ScanRange

    Common function to see if this scan over laps with another

    Common function to see if this scan over laps with another

    Reference Visual

    A B

    ---------------------------

    LL--------------LU RL--------------RU

    A = lowest value is byte[0] B = highest value is null LL = Left Lower Bound LU = Left Upper Bound RL = Right Lower Bound RU = Right Upper Bound

    other

    Other scan object

    returns

    True is overlap false is not overlap

  13. def hasOverlap(left: ScanRange, right: ScanRange): Boolean

    The leftRange.upperBound has to be larger than the rightRange's lowerBound.

    The leftRange.upperBound has to be larger than the rightRange's lowerBound. Otherwise, there is no overlap.

    left

    : The range with the smaller lowBound

    right

    : The range with the larger lowBound

    returns

    Whether two ranges have overlap.

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. var isLowerBoundEqualTo: Boolean
  17. var isUpperBoundEqualTo: Boolean
  18. var lowerBound: Array[Byte]
  19. def mergeIntersect(other: ScanRange): Unit

    Function to merge another scan object through a AND operation

    Function to merge another scan object through a AND operation

    other

    Other scan object

  20. def mergeUnion(other: ScanRange): Unit

    Function to merge another scan object through a OR operation

    Function to merge another scan object through a OR operation

    other

    Other scan object

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    ScanRange → AnyRef → Any
  26. var upperBound: Array[Byte]
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped