Class/Object

unicorn.unibase

Unibase

Related Docs: object Unibase | package unibase

Permalink

class Unibase[+T <: BigTable] extends AnyRef

A Unibase is a database of documents. A collection of documents are called table.

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

Instance Constructors

  1. new Unibase(db: Database[T])

    Permalink

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. def apply(name: String): Table

    Permalink

    Returns a document table.

    Returns a document table.

    name

    The name of table.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compactTable(name: String): Unit

    Permalink

    Major compacts a table.

    Major compacts a table. Asynchronous operation.

    name

    the name of table.

  8. def createGraph(name: String): Unit

    Permalink

    Creates a graph table.

    Creates a graph table.

    name

    the name of graph table.

  9. def createTable(name: String, families: Seq[String] = Seq(DocumentColumnFamily), locality: Map[String, String] = ..., appendOnly: Boolean = false): Unit

    Permalink

    Creates a document table.

    Creates a document table.

    name

    the name of table.

    families

    the column family that documents resident.

    locality

    a map of document fields to column families for storing of sets of fields in column families separately to allow clients to scan over fields that are frequently used together efficient and to avoid scanning over column families that are not requested.

  10. def dropGraph(name: String): Unit

    Permalink

    Drops a graph.

    Drops a graph. All tables related to the graph will be dropped.

  11. def dropTable(name: String): Unit

    Permalink

    Drops a document table.

    Drops a document table. All column families in the table will be dropped.

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def graph(name: String, idgen: LongIdGenerator): Graph

    Permalink

    Returns a graph.

    Returns a graph.

    name

    The name of graph table.

    idgen

    Vertex ID generator.

  17. def graph(name: String, zookeeper: String, group: String): Graph

    Permalink

    Returns a graph with Snowflake ID generator.

    Returns a graph with Snowflake ID generator. The Snowflake worker id is coordinated by zookeeper.

    name

    The name of graph table.

    zookeeper

    ZooKeeper connection string.

    group

    The ZooKeeper group node of Snowflake workers.

  18. def graph(name: String, zookeeper: String): Graph

    Permalink

    Returns a graph with Snowflake ID generator.

    Returns a graph with Snowflake ID generator. The Snowflake worker id is coordinated by zookeeper.

    name

    The name of graph table.

    zookeeper

    ZooKeeper connection string.

  19. def graph(name: String): ReadOnlyGraph

    Permalink

    Returns a read only graph, which doesn't need an ID generator.

    Returns a read only graph, which doesn't need an ID generator. This is sufficient for graph traversal and analytics.

    name

    The name of graph table.

  20. def hashCode(): Int

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def tableExists(name: String): Boolean

    Permalink

    Tests if a table exists.

    Tests if a table exists.

    name

    the name of table.

  27. def tables: Set[String]

    Permalink

    Returns the list of tables.

  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def truncateTable(name: String): Unit

    Permalink

    Truncates a table

    Truncates a table

    name

    the name of table.

  30. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped