Packages

c

com.couchbase.spark

RDDFunctions

class RDDFunctions[T] extends Serializable

Functions which can be performed on an RDD if the evidence matches.

T

the generic RDD type to operate on.

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RDDFunctions
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RDDFunctions(rdd: RDD[T])

    rdd

    the rdd on which the operations are performed on.

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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def couchbaseInsert[V](keyspace: Keyspace = Keyspace(), insertOptions: InsertOptions = null, ignoreIfExists: Boolean = false, connectionIdentifier: String = null)(implicit evidence: <:<[RDD[T], RDD[Insert[V]]], serializer: JsonSerializer[V]): RDD[MutationResult]

    Inserts documents into couchbase.

    Inserts documents into couchbase.

    V

    the generic type to use.

    keyspace

    the optional keyspace to override the implicit configuration.

    insertOptions

    optional parameters to customize the behavior.

    ignoreIfExists

    set to true if individual DocumentExistsException should be ignored.

    evidence

    the generic type for which this method is made available on the RDD.

    serializer

    the JSON serializer to use when encoding the documents.

    returns

    the RDD result.

  7. def couchbaseMutateIn(keyspace: Keyspace = Keyspace(), mutateInOptions: MutateInOptions = null, connectionIdentifier: String = null)(implicit evidence: <:<[RDD[T], RDD[MutateIn]]): RDD[MutateInResult]

    Mutates sub-documents in couchbase.

    Mutates sub-documents in couchbase.

    keyspace

    the optional keyspace to override the implicit configuration.

    mutateInOptions

    optional parameters to customize the behavior.

    evidence

    the generic type for which this method is made available on the RDD.

    returns

    the RDD result.

  8. def couchbaseRemove(keyspace: Keyspace = Keyspace(), removeOptions: RemoveOptions = null, ignoreIfNotFound: Boolean = false, connectionIdentifier: String = null)(implicit evidence: <:<[RDD[T], RDD[Remove]]): RDD[MutationResult]

    Removes documents from couchbase.

    Removes documents from couchbase.

    keyspace

    the optional keyspace to override the implicit configuration.

    removeOptions

    optional parameters to customize the behavior.

    ignoreIfNotFound

    set to true if individual DocumentNotFoundException should be ignored.

    evidence

    the generic type for which this method is made available on the RDD.

    returns

    the RDD result.

  9. def couchbaseReplace[V](keyspace: Keyspace = Keyspace(), replaceOptions: ReplaceOptions = null, ignoreIfNotFound: Boolean = false, connectionIdentifier: String = null)(implicit evidence: <:<[RDD[T], RDD[Replace[V]]], serializer: JsonSerializer[V]): RDD[MutationResult]

    Replaces documents in couchbase.

    Replaces documents in couchbase.

    V

    the generic type to use.

    keyspace

    the optional keyspace to override the implicit configuration.

    replaceOptions

    optional parameters to customize the behavior.

    ignoreIfNotFound

    set to true if individual DocumentNotFoundException should be ignored.

    evidence

    the generic type for which this method is made available on the RDD.

    serializer

    the JSON serializer to use when encoding the documents.

    returns

    the RDD result.

  10. def couchbaseUpsert[V](keyspace: Keyspace = Keyspace(), upsertOptions: UpsertOptions = null, connectionIdentifier: String = null)(implicit evidence: <:<[RDD[T], RDD[Upsert[V]]], serializer: JsonSerializer[V]): RDD[MutationResult]

    Upserts documents into couchbase.

    Upserts documents into couchbase.

    V

    the generic type to use.

    keyspace

    the optional keyspace to override the implicit configuration.

    upsertOptions

    optional parameters to customize the behavior.

    evidence

    the generic type for which this method is made available on the RDD.

    serializer

    the JSON serializer to use when encoding the documents.

    returns

    the RDD result.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped