Object

com.outworkers.phantom.builder.QueryBuilder

Collections

Related Doc: package QueryBuilder

Permalink

object Collections extends CollectionModifiers with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, CollectionModifiers, SetModifiers, ListModifiers, BaseModifiers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Collections
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CollectionModifiers
  7. SetModifiers
  8. ListModifiers
  9. BaseModifiers
  10. AnyRef
  11. 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. final def add(column: String, mark: PrepareMark): CQLQuery

    Permalink
    Definition Classes
    SetModifiers
  5. def add(column: String, values: Set[String]): CQLQuery

    Permalink
    Definition Classes
    SetModifiers
  6. def append(column: String, valueDef: String): CQLQuery

    Permalink
    Definition Classes
    ListModifiers
  7. final def append(column: String, mark: PrepareMark): CQLQuery

    Permalink
    Definition Classes
    ListModifiers
  8. def append(column: String, values: String*): CQLQuery

    Permalink
    Definition Classes
    ListModifiers
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def collectionModifier(left: String, op: String, right: String): CQLQuery

    Permalink
    Attributes
    protected[this]
    Definition Classes
    BaseModifiers
  12. def collectionModifier(left: String, op: String, right: CQLQuery): CQLQuery

    Permalink
    Attributes
    protected[this]
    Definition Classes
    BaseModifiers
  13. def collectionType(colType: String, cassandraType: String, shouldFreeze: Boolean, freezeInner: Boolean, static: Boolean): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  14. def diamond(collection: String, value: String): CQLQuery

    Permalink

    This will pre-fix and post-fix the given value with the "<>" diamond syntax.

    This will pre-fix and post-fix the given value with the "<>" diamond syntax. It is used to define the collection type of a column.

    Sample outputs would be:

    dimond("list", "int") = list<int>
    dimond("set", "varchar") = set<varchar>
    collection

    The name of the collection in use.

    value

    The value, usually the type of the CQL collection.

    returns

    A CQL query serialising the CQL collection column definition syntax.

    Definition Classes
    CollectionModifiers
  15. def discard(column: String, valueDef: String): CQLQuery

    Permalink
    Definition Classes
    ListModifiers
  16. def discard(column: String, values: String*): CQLQuery

    Permalink
    Definition Classes
    ListModifiers
  17. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def frozen(name: String, cassandraType: CQLQuery): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  21. def frozen(cassandraType: CQLQuery): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  22. def frozen(cassandraType: String): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  23. def frozen(cassandraType: String, shouldFreeze: Boolean): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  24. def frozen[V](p: Primitive[V]): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  25. def frozen(column: String, definition: String): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  26. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  28. def listType(valueType: String): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  29. def mapColumnType(column: String, key: String): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  30. def mapSet(column: String, key: String, value: String): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  31. def mapType[K, V](key: Primitive[K], value: Primitive[V]): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  32. def modifier(column: String, op: String, value: CQLQuery): CQLQuery

    Permalink
    Attributes
    protected[this]
    Definition Classes
    BaseModifiers
  33. def modifier(column: String, op: String, value: String): CQLQuery

    Permalink
    Attributes
    protected[this]
    Definition Classes
    BaseModifiers
  34. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  37. def prepend(column: String, valueDef: String): CQLQuery

    Permalink
    Definition Classes
    ListModifiers
  38. def prepend(column: String, values: String*): CQLQuery

    Permalink
    Definition Classes
    ListModifiers
  39. final def prepend(column: String, mark: PrepareMark): CQLQuery

    Permalink
    Definition Classes
    ListModifiers
  40. def put(column: String, pairs: (String, String)*): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  41. def put(column: String, mark: PrepareMark): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  42. val queryBuilder: QueryBuilder

    Permalink
    Definition Classes
    CollectionModifiers → SetModifiersListModifiers
  43. def remove(column: String, values: Set[String]): CQLQuery

    Permalink

    Creates a set removal query, to remove the given values from the name set column.

    Creates a set removal query, to remove the given values from the name set column. Assumes values are already serialised to their CQL form and escaped.

    setColumn = setColumn - {`test`, `test2`}
    column

    The name of the set column.

    values

    The set of values, pre-serialized and escaped.

    returns

    A CQLQuery set remove query as described above.

    Definition Classes
    SetModifiers
  44. def removeAll(column: String, keys: Seq[String]): CQLQuery

    Permalink

    Used to generate a query that allows removing one or more keys from a map.

    Used to generate a query that allows removing one or more keys from a map. Example:

    UPDATE db.table WHERE a = b SET mapColumn -= {"a", "b", "c"}
    column

    The name of the map column to remove from.

    keys

    The keys to remove from the map column.

    Definition Classes
    SetModifiers
  45. final def removePrepared(column: String, value: PrepareMark): CQLQuery

    Permalink

    Creates a set removal query, to remove the given values from the name set column.

    Creates a set removal query, to remove the given values from the name set column. Assumes values are already serialised to their CQL form and escaped.

    setColumn = setColumn - {`test`, `test2`}
    column

    The name of the set column.

    value

    The set of values, pre-serialized and escaped.

    returns

    A CQLQuery set remove query as described above.

    Definition Classes
    SetModifiers
  46. def serialize(col: Map[String, String]): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  47. def serialize(set: Set[String]): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  48. def serialize(list: Seq[String]): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  49. def setIdX(column: String, index: String, value: String): CQLQuery

    Permalink
    Definition Classes
    ListModifiers
  50. def setType(valueType: String): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  52. def tuple(name: String, tuples: String*): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  53. def tupleType(types: String*): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  54. def tupled(tuples: String*): CQLQuery

    Permalink
    Definition Classes
    CollectionModifiers
  55. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CollectionModifiers

Inherited from SetModifiers

Inherited from ListModifiers

Inherited from BaseModifiers

Inherited from AnyRef

Inherited from Any

Ungrouped