Object

com.outworkers.phantom.builder.QueryBuilder

Create

Related Doc: package QueryBuilder

Permalink

object Create extends CreateTableBuilder with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, CreateTableBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Create
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CreateTableBuilder
  7. AnyRef
  8. 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. object Caching extends CachingQueryBuilder

    Permalink
    Definition Classes
    CreateTableBuilder
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bloom_filter_fp_chance(st: String): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  7. def caching(qb: CQLQuery): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  8. def caching(qb: String, wrapped: Boolean): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def clusteringKey(keys: List[String]): CQLQuery

    Permalink

    This method will filter the columns from a Clustering Order definition.

    This method will filter the columns from a Clustering Order definition. It is used to define TimeSeries tables, using the ClusteringOrder trait combined with a directional trait, either Ascending or Descending.

    This method will simply add to the trailing of a query.

    returns

    The clustering key, defined as a string or the empty string.

    Definition Classes
    CreateTableBuilder
  11. def clusteringOrder(orderings: List[(String, String)]): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  12. def comment(qb: String): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  13. def compaction(qb: CQLQuery): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  14. def compression(qb: CQLQuery): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  15. def createIfNotExists(keyspace: String, table: String, tableKey: String, columns: Seq[CQLQuery]): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  16. def dclocal_read_repair_chance(st: String): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  17. def defaultCreateQuery(keyspace: String, table: String, tableKey: String, columns: Seq[CQLQuery]): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  18. def default_time_to_live(st: String): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  19. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def gc_grace_seconds(st: String): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def index(table: String, keySpace: String, column: String): CQLQuery

    Permalink

    Creates an index on the keys on any column except for a Map column which requires special handling.

    Creates an index on the keys on any column except for a Map column which requires special handling. By default, mixing an index in a column will result in an index created on the values of the column.

    table

    The name of the table to create the index on.

    keySpace

    The keyspace to whom the table belongs to.

    column

    The name of the column to create the secondary index on.

    returns

    A CQLQuery containing the valid CQL of creating a secondary index on a Cassandra column.

    Definition Classes
    CreateTableBuilder
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def mapEntries(table: String, keySpace: String, column: String): CQLQuery

    Permalink

    Creates an index on the entries of a Map column.

    Creates an index on the entries of a Map column. By default, mixing an index in a column will result in an index created on the values of the map. To allow secondary indexing on entries, Cassandra appends a ENTRIES($column) wrapper to the CQL query.

    table

    The name of the table to create the index on.

    keySpace

    The keyspace to whom the table belongs to.

    column

    The name of the column to create the secondary index on.

    returns

    A CQLQuery containing the valid CQL of creating a secondary index for the entries of a Map column.

    Definition Classes
    CreateTableBuilder
  27. def mapIndex(table: String, keySpace: String, column: String): CQLQuery

    Permalink

    Creates an index on the keys of a Map column.

    Creates an index on the keys of a Map column. By default, mixing an index in a column will result in an index created on the values of the map. To allow secondary indexing on Keys, Cassandra appends a KEYS($column) wrapper to the CQL query.

    table

    The name of the table to create the index on.

    keySpace

    The keyspace to whom the table belongs to.

    column

    The name of the column to create the secondary index on.

    returns

    A CQLQuery containing the valid CQL of creating a secondary index for the keys of a Map column.e

    Definition Classes
    CreateTableBuilder
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def partitionKey(keys: List[String]): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  32. def populate_io_cache_on_flush(st: String): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  33. def primaryKey(partitions: List[String], primaries: List[String] = Nil, clusteringKeys: List[String] = Nil): CQLQuery

    Permalink

    This method will define the PRIMARY_KEY of the table.

    This method will define the PRIMARY_KEY of the table.

    - For more than one partition key, it will define a Composite Key. Example: PRIMARY_KEY((partition_key_1, partition_key2), primary_key_1, etc..)

    - For a single partition key, it will define a Compound Key. Example: PRIMARY_KEY(partition_key_1, primary_key_1, primary_key_2)

    - For no partition key, it will throw an exception.

    returns

    A string value representing the primary key of the table.

    Definition Classes
    CreateTableBuilder
  34. def read_repair_chance(st: String): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  35. def replicate_on_write(st: String): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def with(clause: CQLQuery): CQLQuery

    Permalink
    Definition Classes
    CreateTableBuilder

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CreateTableBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped