Class/Object

com.outworkers.phantom.builder.query

InsertQuery

Related Docs: object InsertQuery | package query

Permalink

case class InsertQuery[Table <: CassandraTable[Table, Record], Record, Status <: ConsistencyBound, PS <: HList](table: Table, init: CQLQuery, columnsPart: ColumnsPart = ColumnsPart.empty, valuePart: ValuePart = ValuePart.empty, usingPart: UsingPart = UsingPart.empty, lightweightPart: LightweightPart = LightweightPart.empty, options: QueryOptions = QueryOptions.empty) extends RootQuery[Table, Record, Status] with Batchable with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Batchable, RootQuery[Table, Record, Status], SessionAugmenterImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InsertQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Batchable
  7. RootQuery
  8. SessionAugmenterImplicits
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InsertQuery(table: Table, init: CQLQuery, columnsPart: ColumnsPart = ColumnsPart.empty, valuePart: ValuePart = ValuePart.empty, usingPart: UsingPart = UsingPart.empty, lightweightPart: LightweightPart = LightweightPart.empty, options: QueryOptions = QueryOptions.empty)

    Permalink

Type Members

  1. implicit class RichSession extends SessionAugmenter

    Permalink
    Definition Classes
    SessionAugmenterImplicits

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 asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def consistencyLevel_=(level: ConsistencyLevel)(implicit session: Session): InsertQuery[Table, Record, Specified, PS]

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def executableQuery: ExecutableCqlQuery

    Permalink
    Definition Classes
    InsertQuery → Batchable → RootQuery
  9. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def ifNotExists(): InsertQuery[Table, Record, Status, PS]

    Permalink
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def json(value: PrepareMark): InsertJsonQuery[Table, Record, Status, ::[String, PS]]

    Permalink
  14. final def json(value: String): InsertJsonQuery[Table, Record, Status, PS]

    Permalink
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val options: QueryOptions

    Permalink
  19. final def p_value[RR](col: (Table) ⇒ AbstractColumn[RR], value: PrepareMark): InsertQuery[Table, Record, Status, ::[RR, PS]]

    Permalink
  20. def prepare[Rev <: HList]()(implicit session: Session, keySpace: KeySpace, ev: =:!=[PS, HNil], rev: Aux[PS, Rev]): PreparedBlock[Rev]

    Permalink
  21. def prepareAsync[P[_], F[_], Rev <: HList]()(implicit session: Session, executor: ExecutionContextExecutor, keySpace: KeySpace, ev: =:!=[PS, HNil], rev: Aux[PS, Rev], fMonad: FutureMonad[F], interface: PromiseInterface[P, F]): F[PreparedBlock[Rev]]

    Permalink
  22. val qb: CQLQuery

    Permalink
  23. def queryString: String

    Permalink
    Definition Classes
    RootQuery
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. final def timestamp(value: DateTime): InsertQuery[Table, Record, Status, PS]

    Permalink
  26. final def timestamp(value: Long): InsertQuery[Table, Record, Status, PS]

    Permalink
  27. def ttl(seconds: FiniteDuration): InsertQuery[Table, Record, Status, PS]

    Permalink
  28. def ttl(seconds: Long): InsertQuery[Table, Record, Status, PS]

    Permalink
  29. def ttl(seconds: Int): InsertQuery[Table, Record, Status, PS]

    Permalink
  30. final def ttl(value: PrepareMark): InsertQuery[Table, Record, Status, ::[Int, PS]]

    Permalink
  31. def using(clause: Condition): InsertQuery[Table, Record, Status, PS]

    Permalink
  32. def value[RR](col: (Table) ⇒ AbstractColumn[RR], value: RR)(): InsertQuery[Table, Record, Status, PS]

    Permalink
  33. def valueOp(col: (Table) ⇒ AbstractColumn[_], value: Condition): InsertQuery[Table, Record, Status, PS]

    Permalink

    Insert function adding the ability to specify operator values as the value of an insert.

    Insert function adding the ability to specify operator values as the value of an insert. This is useful when we want to use functions to generate the CQL, such as using the "now()" operator when inserting the value of a date.

    col

    The function that selects a specific column from the table.

    value

    The value to insert in the column, based on the output of the operator.

    returns

    A new instance of insert query, with the clause added.

  34. final def valueOrNull[RR](col: (Table) ⇒ AbstractColumn[RR], value: RR): InsertQuery[Table, Record, Status, PS]

    Permalink
  35. def values[RR](insertions: (CQLQuery, CQLQuery)*): InsertQuery[Table, Record, Status, PS]

    Permalink
  36. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. 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 Batchable

Inherited from RootQuery[Table, Record, Status]

Inherited from SessionAugmenterImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped