com.datastax.spark.connector.rdd.reader

KeyValueRowReader

Related Doc: package reader

class KeyValueRowReader[K, V] extends RowReader[(K, V)]

Linear Supertypes
RowReader[(K, V)], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. KeyValueRowReader
  2. RowReader
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KeyValueRowReader(keyReader: RowReader[K], valueReader: RowReader[V])

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from KeyValueRowReader[K, V] to any2stringadd[KeyValueRowReader[K, V]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (KeyValueRowReader[K, V], B)

    Implicit information
    This member is added by an implicit conversion from KeyValueRowReader[K, V] to ArrowAssoc[KeyValueRowReader[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → 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 columnNames: Option[Seq[String]]

    List of columns this RowReader is going to read.

    List of columns this RowReader is going to read. Useful to avoid fetching the columns that are not needed.

    Definition Classes
    KeyValueRowReaderRowReader
  9. def consumedColumns: Option[Int]

    This method should be implemented by those row readers which reads fields in the consecutive positions from a CassandraRow.

    This method should be implemented by those row readers which reads fields in the consecutive positions from a CassandraRow. When a row reader implements it so that it returns a non-empty, it denotes the number of columns this reader moves the column cursor forward for compound row readers (such as com.datastax.spark.connector.rdd.reader.KeyValueRowReader).

    Definition Classes
    KeyValueRowReaderRowReader
  10. def ensuring(cond: (KeyValueRowReader[K, V]) ⇒ Boolean, msg: ⇒ Any): KeyValueRowReader[K, V]

    Implicit information
    This member is added by an implicit conversion from KeyValueRowReader[K, V] to Ensuring[KeyValueRowReader[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (KeyValueRowReader[K, V]) ⇒ Boolean): KeyValueRowReader[K, V]

    Implicit information
    This member is added by an implicit conversion from KeyValueRowReader[K, V] to Ensuring[KeyValueRowReader[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): KeyValueRowReader[K, V]

    Implicit information
    This member is added by an implicit conversion from KeyValueRowReader[K, V] to Ensuring[KeyValueRowReader[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): KeyValueRowReader[K, V]

    Implicit information
    This member is added by an implicit conversion from KeyValueRowReader[K, V] to Ensuring[KeyValueRowReader[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  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. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from KeyValueRowReader[K, V] to StringFormat[KeyValueRowReader[K, V]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  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 read(row: Row, columnNames: Array[String])(implicit protocolVersion: ProtocolVersion): (K, V)

    Reads column values from low-level Row and turns them into higher level representation.

    Reads column values from low-level Row and turns them into higher level representation.

    row

    row fetched from Cassandra

    columnNames

    column names available in the row

    protocolVersion

    java driver protocol version to be used for deserialization

    Definition Classes
    KeyValueRowReaderRowReader
  25. def requiredColumns: Option[Int]

    The number of columns that need to be fetched from C*.

    The number of columns that need to be fetched from C*.

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

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def [B](y: B): (KeyValueRowReader[K, V], B)

    Implicit information
    This member is added by an implicit conversion from KeyValueRowReader[K, V] to ArrowAssoc[KeyValueRowReader[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from RowReader[(K, V)]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from KeyValueRowReader[K, V] to any2stringadd[KeyValueRowReader[K, V]]

Inherited by implicit conversion StringFormat from KeyValueRowReader[K, V] to StringFormat[KeyValueRowReader[K, V]]

Inherited by implicit conversion Ensuring from KeyValueRowReader[K, V] to Ensuring[KeyValueRowReader[K, V]]

Inherited by implicit conversion ArrowAssoc from KeyValueRowReader[K, V] to ArrowAssoc[KeyValueRowReader[K, V]]

Ungrouped