Trait

unicorn.bigtable

Database

Related Doc: package bigtable

Permalink

trait Database[+T <: BigTable] extends AutoCloseable

A BigTable database.

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

Abstract Value Members

  1. abstract def apply(name: String): T

    Permalink

    Returns a table.

    Returns a table.

    name

    the name of table.

  2. abstract def close(): Unit

    Permalink
    Definition Classes
    AutoCloseable
    Annotations
    @throws( classOf[java.lang.Exception] )
  3. abstract def compactTable(name: String): Unit

    Permalink

    Major compacts a table.

    Major compacts a table. Asynchronous operation.

    name

    the name of table.

  4. abstract def createTable(name: String, props: Properties, families: String*): T

    Permalink

    Creates a table.

    Creates a table.

    name

    the name of table.

    props

    table configurations.

    families

    the column families in the table. A column family name must be printable -- digit or letter -- and may not contain a :. In analogy with relational databases, a column family is as a "table". In some NoSQL solutions (e.g. HBase), column families are static and should be created when creating the table.

  5. abstract def dropTable(name: String): Unit

    Permalink

    Drops a table.

    Drops a table.

    name

    the name of table.

  6. abstract def tableExists(name: String): Boolean

    Permalink

    Tests if a table exists.

    Tests if a table exists.

    name

    the name of table.

  7. abstract def tables: Set[String]

    Permalink

    Returns the list of tables.

  8. abstract def truncateTable(name: String): Unit

    Permalink

    Truncates a table

    Truncates a table

    name

    the name of table.

Concrete 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 createTable(name: String, families: String*): T

    Permalink

    Creates a table.

    Creates a table.

    name

    the name of table.

    families

    the column families in the table. A column family name must be printable -- digit or letter -- and may not contain a :. In analogy with relational databases, a column family is as a "table". In some NoSQL solutions (e.g. HBase), column families are static and should be created when creating the table.

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped