Package

unicorn

unibase

Permalink

package unibase

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

Type Members

  1. class DocumentSerializer extends AnyRef

    Permalink

    Document serializer.

    Document serializer. By default, document key size is up to 64KB, column size is up to 10MB.

  2. class Table extends UpdateOps

    Permalink

    Tables are the data containers of documents.

    Tables are the data containers of documents. A document is simply a JSON object with a unique id (the _id field), which is similar to the primary key in relational database. The key can be arbitrary JSON value including Object and Array. However, they are some limitations in practice:

    • The size limitation. The id of document serves as the row key in the underlying BigTable implementation. Most BigTable implementations have the upper limit of row key (often as 64KB).
    • For compound primary key (i.e. multiple fields), it is better use Array instead of Object as the container because it maintains the order of fields, which is important in the scan operations. When serializing an Object, the order of fields may be undefined (because of hashing) or simply ascending in field name.
    • The fields of compound primary key should be fixed size. In database with schema (e.g. relational database). The variable length field is padded to the maximum size. However, Unibase is schemaless database and thus we are lack of this type information. It is the developer's responsibility to make sure the proper use of primary key. Otherwise, the index and scan operations won't work correctly.
  3. class Unibase[+T <: BigTable] extends AnyRef

    Permalink

    A Unibase is a database of documents.

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

  4. trait UpdateOps extends AnyRef

    Permalink

    Document update operators for columnar JSON serialization.

Value Members

  1. val $id: String

    Permalink
  2. val $tenant: String

    Permalink
  3. object Unibase

    Permalink
  4. package graph

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped