com.websudos.phantom.builder.QueryBuilder

Alter

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def add(qb: CQLQuery, definition: CQLQuery): CQLQuery

    Definition Classes
    AlterQueryBuilder
  7. def add(qb: CQLQuery, column: String, columnType: String): CQLQuery

    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.
    qb

    The existing built query to append to.

    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
  8. def addStatic(qb: CQLQuery, column: String, columnType: String): CQLQuery

    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.
    qb

    The existing built query to append to.

    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
  9. def alter(tableName: String): CQLQuery

    Definition Classes
    AlterQueryBuilder
  10. def alter(qb: CQLQuery, column: String, columnType: String): CQLQuery

    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
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  24. def rename(qb: CQLQuery, column: String, newColumn: String): CQLQuery

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

    Definition Classes
    AnyRef
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def with(qb: CQLQuery, clause: CQLQuery): CQLQuery

    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..

    qb

    The init query clause.

    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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AlterQueryBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped