Object

com.outworkers.phantom.builder.QueryBuilder

Select

Related Doc: package QueryBuilder

Permalink

object Select extends SelectQueryBuilder with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, SelectQueryBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Select
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SelectQueryBuilder
  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 Ordering extends OrderingModifier with Product with Serializable

    Permalink
    Definition Classes
    SelectQueryBuilder
  5. def aggregation(operator: String, column: String): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  6. def allowFiltering(qb: CQLQuery): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  7. def allowFiltering(): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def blobAsText(column: String): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  10. def blobAsText(qb: CQLQuery): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def count(tableName: String, keyspace: String, columnName: String = CQLSyntax.Symbols.`*`): CQLQuery

    Permalink

    Creates a select count query builder from a table name, a keyspace, and a list of names.

    Creates a select count query builder from a table name, a keyspace, and a list of names. The result of a count returns the number of matches, so the argument to count is fixed. It can either be the ALL symbol(*) or 1, as per the CQL spec.

    Will return a query in the following format:

    SELECT COUNT(*) FROM $keyspace.$tableName
    tableName

    The name of the table.

    keyspace

    The name of the keyspace.

    Definition Classes
    SelectQueryBuilder
  13. def dateOf(column: String): CQLQuery

    Permalink

    Creates a select clause chaining the "dateOf" operator.

    Creates a select clause chaining the "dateOf" operator.

    Example output:

    dateOf("columnName")
    column

    The name of the column to apply the operation to.

    returns

    A CQL query wrapping the "dateOf" clause and the column.

    Definition Classes
    SelectQueryBuilder
  14. def distinct(tableName: String, keyspace: String, names: String*): CQLQuery

    Permalink

    Creates a select distinct query builder from a table name, a keyspace, and a list of names.

    Creates a select distinct query builder from a table name, a keyspace, and a list of names. Will return a query in the following format:

    SELECT DISTINCT ($name1, $name2, ..) FROM $keyspace.$tableName
    tableName

    The name of the table.

    keyspace

    The name of the keyspace.

    names

    The names of the columns to include in the select.

    Definition Classes
    SelectQueryBuilder
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    Any
  20. def maxTimeuuid(dateString: String): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  21. def minTimeuuid(dateString: String): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  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. def now(): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  26. def select(tableName: String, keyspace: String, clause: CQLQuery): CQLQuery

    Permalink

    Creates a select query builder from a table name, a keyspace, and an arbitrary clause.

    Creates a select query builder from a table name, a keyspace, and an arbitrary clause. This is used to serialise SELECT functions, such as WRITETIME or other valid expressions. Will return a query in the following format:

    SELECT $clause FROM $keyspace.$tableName
    tableName

    The name of the table.

    keyspace

    The name of the keyspace.

    clause

    The CQL clause to use as the select list value.

    Definition Classes
    SelectQueryBuilder
  27. def select(tableName: String, keyspace: String, names: String*): CQLQuery

    Permalink

    Selects an arbitrary number of columns given a table name and a keyspace.

    Selects an arbitrary number of columns given a table name and a keyspace. Will return a query in the following format:

    SELECT ($name1, $name2, ..) FROM $keyspace.$tableName
    tableName

    The name of the table.

    keyspace

    The name of the keyspace.

    names

    The names of the columns to include in the select.

    returns

    A CQLQuery matching the described pattern.

    Definition Classes
    SelectQueryBuilder
  28. def select(tableName: String, keyspace: String): CQLQuery

    Permalink

    Creates a select all query from a table name and a keyspace.

    Creates a select all query from a table name and a keyspace. Will return a query in the following format:

    SELECT * FROM keyspace.tableName
    tableName

    The name of the table.

    keyspace

    The name of the keyspace.

    returns

    A CQLQuery matching the described pattern.

    Definition Classes
    SelectQueryBuilder
  29. def selectJson(tableName: String, keyspace: String, names: String*): CQLQuery

    Permalink

    Selects an arbitrary number of columns given a table name and a keyspace.

    Selects an arbitrary number of columns given a table name and a keyspace. Return all the columns as JSON. Will return a query in the following format:

    SELECT JSON ($name1, $name2, ..) FROM $keyspace.$tableName
    tableName

    The name of the table.

    keyspace

    The name of the keyspace.

    names

    The names of the columns to include in the select.

    returns

    A CQLQuery matching the described pattern.

    Definition Classes
    SelectQueryBuilder
  30. def selectJson(tableName: String, keyspace: String, clause: CQLQuery): CQLQuery

    Permalink

    Creates a select JSON query builder from a table name, a keyspace, and an arbitrary clause.

    Creates a select JSON query builder from a table name, a keyspace, and an arbitrary clause. This is used to serialise SELECT functions, such as WRITETIME or other valid expressions. Will return a query in the following format:

    SELECT JSON $clause FROM $keyspace.$tableName
    tableName

    The name of the table.

    keyspace

    The name of the keyspace.

    clause

    The CQL clause to use as the select list value.

    Definition Classes
    SelectQueryBuilder
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def ttl(column: String): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  33. def unixTimestampOf(column: String): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder
  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def writetime(col: String): CQLQuery

    Permalink
    Definition Classes
    SelectQueryBuilder

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SelectQueryBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped