org.apache.hadoop.hbase.spark

ScanRange

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
Learn more about member selection
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: 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. 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

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

    returns

  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. 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

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

    The leftRange.

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

    returns

    Whether two ranges have overlap.

  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. var isLowerBoundEqualTo: Boolean

    Include lower bound value in the results

  19. var isUpperBoundEqualTo: Boolean

    Include upper bound value in the results

  20. var lowerBound: Array[Byte]

    Lower bound of scan

  21. 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

  22. 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

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    ScanRange → AnyRef → Any
  28. var upperBound: Array[Byte]

    Upper bound of scan

  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped