Object

com.outworkers.phantom.builder.QueryBuilder

Alter

Related Doc: package QueryBuilder

Permalink

object Alter extends AlterQueryBuilder with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AlterQueryBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Alter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AlterQueryBuilder
  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. def add(column: String, columnType: String): CQLQuery

    Permalink

    Creates the ADD part of an alter query for a column name and a type.

    Creates the ADD part of an alter query for a column name and a type. This is used when new columns are added to an existing definitions. It will return only the last part of the clause, as follows:

    ADD $column $columnType.
    column

    The name of the column to add in the alter query.

    columnType

    The type of the new column.

    returns

    A CQLQuery enclosing the ADD part of an alter query.

    Definition Classes
    AlterQueryBuilder
  5. def addAll(definitions: Seq[CQLQuery]): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder
  6. def addStatic(column: String, columnType: String): CQLQuery

    Permalink

    Used to create the query string of a static column.

    Used to create the query string of a static column. Creates the ADD part of an alter query for a column name and a type. Appends a STATIC modifier to the column definition. This is used when new columns are added to an existing definitions. It will return only the last part of the clause, as follows:

    ADD $column $columnType.
    column

    The name of the column to add in the alter query.

    columnType

    The type of the new column.

    returns

    A CQLQuery enclosing the ADD part of an alter query.

    Definition Classes
    AlterQueryBuilder
  7. def alter(tableName: String): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder
  8. def alter(definitions: Seq[CQLQuery]): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder
  9. def alterType(column: String, columnType: String): CQLQuery

    Permalink

    Creates the alter part of an ALTER query, used when changing the type of existing columns.

    Creates the alter part of an ALTER query, used when changing the type of existing columns.

    ALTER $column TYPE $columnType.
    column

    The name of the column to add in the alter query.

    columnType

    The type of the new column.

    returns

    A CQLQuery enclosing the ALTER part of an alter query.

    Definition Classes
    AlterQueryBuilder
  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def drop(column: String): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder
  13. def dropAll(definitions: Seq[CQLQuery]): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder
  14. def dropTable(table: String, keyspace: String): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder
  15. def dropTableIfExist(table: String, keyspace: String): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder
  16. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def option(clause: CQLQuery): CQLQuery

    Permalink

    Adds an option to an ALTER query from the list of CREATE query options.

    Adds an option to an ALTER query from the list of CREATE query options. Inside an ALTER query, the with definition is a chainned query, not a multi-part query. That means every single option call will alter the init part of a query with no preservation of state or immutable state.

    This specific type of option refers to things like: - Compaction strategies - Compression strategies - etc..

    clause

    The clause or option to append to the root query.

    returns

    A new CQL query, where the underlying query contains an option clause.

    Definition Classes
    AlterQueryBuilder
  25. def option(qb: CQLQuery, clause: CQLQuery): CQLQuery

    Permalink

    Adds an option to an ALTER query from the list of CREATE query options.

    Adds an option to an ALTER query from the list of CREATE query options. Inside an ALTER query, the with definition is a chainned query, not a multi-part query. That means every single option call will alter the init part of a query with no preservation of state or immutable state.

    This specific type of option refers to things like: - Compaction strategies - Compression strategies - etc..

    clause

    The clause or option to append to the root query.

    returns

    A new CQL query, where the underlying query contains an option clause.

    Definition Classes
    AlterQueryBuilder
  26. def rename(column: String, newColumn: String): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder
  27. def rename(definitions: Seq[CQLQuery]): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def withOptions(clauses: Seq[CQLQuery]): CQLQuery

    Permalink
    Definition Classes
    AlterQueryBuilder

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AlterQueryBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped