Object

com.mongodb.spark.rdd.partitioner

PartitionerHelper

Related Doc: package partitioner

Permalink

object PartitionerHelper

:: DeveloperApi ::

Helper methods for partitioner implementations

Annotations
@DeveloperApi()
Since

1.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PartitionerHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def collStats(connector: MongoConnector, readConfig: ReadConfig): BsonDocument

    Permalink

    Runs the collStats command and returns the results

    Runs the collStats command and returns the results

    connector

    the MongoConnector

    readConfig

    the readConfig

    returns

    the collStats result

  7. def createBoundaryQuery(key: String, lower: BsonValue, upper: BsonValue): BsonDocument

    Permalink

    Creates the upper and lower boundary query for the given key

    Creates the upper and lower boundary query for the given key

    key

    the key that represents the values that can be partitioned

    lower

    the value of the lower bound

    upper

    the value of the upper bound

    returns

    the document containing the partition bounds

  8. def createPartitions(partitionKey: String, partitions: Seq[BsonValue], locations: Seq[String] = Nil): Array[MongoPartition]

    Permalink

    Creates partitions using a single Seq of documents representing the right handside of partitions

    Creates partitions using a single Seq of documents representing the right handside of partitions

    partitionKey

    the key representing the partition most likely the _id.

    partitions

    the documents representing a split

    locations

    the optional server hostnames for the data

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  15. def locations(connector: MongoConnector): Seq[String]

    Permalink

    Get the locations of the Mongo hosts

    Get the locations of the Mongo hosts

    connector

    the MongoConnector

    returns

    the locations

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped