scray.cassandra.util

CassandraUtils

object CassandraUtils extends LazyLogging with Serializable

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

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 createKeyspaceCreationStatement[T <: AbstractRow](table: Table[T]): Option[String]

  9. def createTableStatement[T <: AbstractRow](table: Table[T]): Option[String]

  10. def createYaml(property: String, value: String, currentMap: Option[Map[String, String]] = None): String

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

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

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

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

    Definition Classes
    AnyRef → Any
  15. def getComptRow(rows: Iterator[Row], comp: (Long, Long) ⇒ Boolean, columnName: String): Option[Row]

  16. def getKeyspaceMetadata(session: Session, keyspace: String): KeyspaceMetadata

    convenience method to retrieve KeyspaceMetadata from a StoreColumnFamily object

  17. def getNewestRow(rows: Iterator[Row], columnName: String): Option[Row]

  18. def getOldestRow(rows: Iterator[Row], columnName: String): Option[Row]

  19. def getTableMetadata(ti: TableIdentifier, session: Session, km: Option[KeyspaceMetadata] = None): TableMetadata

    convenience method to retrieve KeyspaceMetadata from a StoreColumnFamily object

  20. def getTableMetadata(cf: String, km: KeyspaceMetadata): TableMetadata

    convenience method to retrieve KeyspaceMetadata from a StoreColumnFamily object

  21. def getTablePropertiesFromCassandra(ti: TableIdentifier, session: Session): Option[Map[String, String]]

    *not so fast* method to read all table properties stored in a comment of a column family from Cassandra.

    *not so fast* method to read all table properties stored in a comment of a column family from Cassandra. Uses YAML to store properties in a string. If you need synchronization to sync with writers please use external synchronization, e.g. Zookeeper.

  22. def getTablePropertyFromCassandra(ti: TableIdentifier, session: Session, property: String): Option[String]

    *not so fast* method to read a table property stored in a comment of a column family from Cassandra.

    *not so fast* method to read a table property stored in a comment of a column family from Cassandra. Uses YAML to store properties in a string. If you need synchronization to sync with writers please use external synchronization, e.g. Zookeeper.

  23. def hashCode(): Int

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

    Definition Classes
    Any
  25. lazy val logger: Logger

    Attributes
    protected
    Definition Classes
    LazyLogging → Logging
  26. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def writeTablePropertyToCassandra(ti: TableIdentifier, session: Session, property: String, value: String): ResultSet

    *not so fast* and *not thread-safe* method to write a property into the table comment of Cassandra.

    *not so fast* and *not thread-safe* method to write a property into the table comment of Cassandra. If s.th. else is in the table comment, it will be overwritten. Uses YAML to store properties in a string. If you need synchronization please use external synchronization, e.g. Zookeeper.

Inherited from Serializable

Inherited from Serializable

Inherited from LazyLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped