Object

scray.cassandra.util

CassandraUtils

Related Doc: package util

Permalink

object CassandraUtils extends LazyLogging with Serializable

Linear Supertypes
Serializable, Serializable, LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CassandraUtils
  2. Serializable
  3. Serializable
  4. LazyLogging
  5. AnyRef
  6. 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 createKeyspaceCreationStatement[T <: AbstractRow](table: Table[T], replicationSettings: String): Option[String]

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

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

    Permalink
  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 getComptRow(rows: Iterator[Row], comp: (Long, Long) ⇒ Boolean, columnName: String): Option[Row]

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

    Permalink

    convenience method to retrieve KeyspaceMetadata from a StoreColumnFamily object

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

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

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

    Permalink

    convenience method to retrieve KeyspaceMetadata from a StoreColumnFamily object

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

    Permalink

    convenience method to retrieve KeyspaceMetadata from a StoreColumnFamily object

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

    Permalink

    *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.

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

    Permalink

    *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.

  21. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  23. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  24. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

    Permalink

    *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 AnyRef

Inherited from Any

Ungrouped