com.tuplejump.calliope

Cql3CasBuilder

class Cql3CasBuilder extends CommonCasBuilder

Linear Supertypes
CommonCasBuilder, CasBuilder, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Cql3CasBuilder
  2. CommonCasBuilder
  3. CasBuilder
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cql3CasBuilder(keyspace: String, columnFamily: String, host: String = "localhost", port: String = "9160", partitioner: CasPartitioners.Value = CasPartitioners.Murmur3Partitioner, columns: Option[List[String]] = scala.None, username: Option[String] = scala.None, password: Option[String] = scala.None, pageSize: Option[Long] = scala.None, whereClause: Option[String] = scala.None, preparedSaveQuery: Option[String] = scala.None, readConsistencyLevel: Option[String] = scala.None, writeConsistencyLevel: Option[String] = scala.None, inputSplitSize: Option[Long] = scala.None, outputCompressionClass: Option[String] = scala.None, outputCompressionChunkLength: Option[String] = scala.None, customConfig: Option[Configuration] = scala.None)

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. def applyCustomConfig(config: Configuration): Cql3CasBuilder

    Apply the given hadoop configuration

    Apply the given hadoop configuration

    config

    Custom hadoop configuration

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def authAs(user: String): Cql3CasBuilder

    Set User to authenticate with to Cassandra

    Set User to authenticate with to Cassandra

    user

    The username to authenticate with Cassaandra

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def columns(columns: String*): Cql3CasBuilder

    Set The columns to be read from Cassandra

    Set The columns to be read from Cassandra

    columns

    The columns to select

  11. def columns(columns: List[String]): Cql3CasBuilder

    Set List of columns to be read

    Set List of columns to be read

    columns

    List of columns to select

  12. def configuration: Configuration

    Definition Classes
    Cql3CasBuilderCasBuilder
  13. def configure(): Job

    Attributes
    protected
    Definition Classes
    CommonCasBuilder
  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. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  19. def inputSplitSize(splitSize: Int): Cql3CasBuilder

    Set the number of keys to in split range that is processed per task

    Set the number of keys to in split range that is processed per task

    splitSize

  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 onHost(host: String): Cql3CasBuilder

    Set Cassandra node for initial connection.

    Set Cassandra node for initial connection. Must be reachable from Spark Context.

    host

    The Cassandra hostname or IP Address

  25. def onPort(port: String): Cql3CasBuilder

    Set Port to use for initial cassandra connection

    Set Port to use for initial cassandra connection

    port

    The Cassandra RPC port

  26. def patitionedUsing(partitioner: CasPartitioners.Value): Cql3CasBuilder

    Set The partitioner being used by this column family

    Set The partitioner being used by this column family

    partitioner

    The partitioner configured for your Cassandra Cluster

  27. def saveWithQuery(query: String): Cql3CasBuilder

    The CQL3 Update query to be used while persisting data to Cassandra

    The CQL3 Update query to be used while persisting data to Cassandra

    query

    The update query

  28. def setOutputCompressionChunkLength(chunkLength: String): Cql3CasBuilder

    Set the size of data to compress in a single chunk

    Set the size of data to compress in a single chunk

    chunkLength

    The size of the compression chunk

  29. def setPageSize(size: Long): Cql3CasBuilder

    The number of rows to be fetched from cassandra in a single iterator.

    The number of rows to be fetched from cassandra in a single iterator. This should be as large as possible but not larger.

    size

    The number of CQL rows to fetch in one page

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def useOutputCompressionClass(compressionClass: String): Cql3CasBuilder

    Set the compression class to use to output from maps job

    Set the compression class to use to output from maps job

    compressionClass

    Compression to use for output

  33. def useReadConsistencyLevel(consistencyLevel: String): Cql3CasBuilder

    Use this consistency level for read (do this only if you are sure that you need it, this may affect the performance)

    Use this consistency level for read (do this only if you are sure that you need it, this may affect the performance)

    consistencyLevel

    The consistency level to read at

  34. def useWriteConsistencyLevel(consistencyLevel: String): Cql3CasBuilder

    Use this consistency level for write (do this only if you are sure that you need it, this may affect the performance)

    Use this consistency level for write (do this only if you are sure that you need it, this may affect the performance)

    consistencyLevel

    The consistency level to write at

    returns

  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def where(clause: String): Cql3CasBuilder

    The CQL3 where predicate to use for filtering on secondary indexes in cassandra

    The CQL3 where predicate to use for filtering on secondary indexes in cassandra

    clause

    The where clause

  39. def withPassword(pass: String): Cql3CasBuilder

    Set Password to use for authenticating the user with cassandra

    Set Password to use for authenticating the user with cassandra

    pass

    The password to authenticate with Cassaandra

Inherited from CommonCasBuilder

Inherited from CasBuilder

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped