Trait

com.outworkers.phantom

DefaultImports

Related Doc: package phantom

Permalink

trait DefaultImports extends ImplicitMechanism with CreateImplicits with SelectImplicits with Operators with UsingClauseOperations with KeySpaceConstruction with DeleteImplicits with DefaultSASIOps

Linear Supertypes
DefaultSASIOps, DeleteImplicits, KeySpaceConstruction, TopologyStrategies, UsingClauseOperations, Operators, SelectImplicits, CreateImplicits, TablePropertyClauses, CompressionStrategies, CompactionStrategies, ImplicitMechanism, ModifyMechanism, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultImports
  2. DefaultSASIOps
  3. DeleteImplicits
  4. KeySpaceConstruction
  5. TopologyStrategies
  6. UsingClauseOperations
  7. Operators
  8. SelectImplicits
  9. CreateImplicits
  10. TablePropertyClauses
  11. CompressionStrategies
  12. CompactionStrategies
  13. ImplicitMechanism
  14. ModifyMechanism
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Analyzer[M <: Mode] = builder.query.sasi.Analyzer[M]

    Permalink
  2. type Ascending = keys.Ascending

    Permalink
  3. type CassandraConnection = connectors.CassandraConnection

    Permalink
  4. type CassandraTable[Owner <: CassandraTable[Owner, Record], Record] = phantom.CassandraTable[Owner, Record]

    Permalink
  5. type ClusteringOrder = keys.ClusteringOrder

    Permalink
  6. implicit class CounterOperations[Owner <: CassandraTable[Owner, Record], Record] extends AnyRef

    Permalink
  7. type CustomIndex[M <: Mode] = keys.SASIIndex[M]

    Permalink
  8. type Database[DB <: Database[DB]] = database.Database[DB]

    Permalink
  9. type DatabaseProvider[DB <: Database[DB]] = database.DatabaseProvider[DB]

    Permalink
  10. sealed class DateTieredCompactionStrategy extends CompactionProperties[DateTieredCompactionStrategy]

    Permalink
    Definition Classes
    CompactionStrategies
  11. type DateTime = org.joda.time.DateTime

    Permalink
  12. implicit class DateTimeAugmenter extends AnyRef

    Permalink
  13. class DeflateCompressor extends CompressionStrategy[DeflateCompressor]

    Permalink
    Definition Classes
    CompressionStrategies
  14. type Descending = keys.Descending

    Permalink
  15. type Entries = keys.Entries

    Permalink
  16. type Index = keys.Index

    Permalink
  17. type IteratorResult[R] = builder.query.execution.IteratorResult[R]

    Permalink
  18. type KeySpace = connectors.KeySpace

    Permalink
  19. implicit class KeySpaceAugmenter extends AnyRef

    Permalink

    Used when creating a ContactPoint to allow users to provide a single KeySpace derived query.

    Used when creating a ContactPoint to allow users to provide a single KeySpace derived query. When users want to provide a single argument to the ContactPoint#keySpace method, they can use the following syntax to generate a full keyspace initialisation query.

    KeySpace("test").builder.ifNotExists
  20. type KeySpaceDef = connectors.CassandraConnection

    Permalink
  21. type Keys = keys.Keys

    Permalink
  22. class LZ4Compressor extends CompressionStrategy[LZ4Compressor]

    Permalink
    Definition Classes
    CompressionStrategies
  23. sealed class LeveledCompactionStrategy extends CompactionProperties[LeveledCompactionStrategy]

    Permalink
    Definition Classes
    CompactionStrategies
  24. implicit final class ListLikeModifyColumn[Owner <: CassandraTable[Owner, Record], Record, RR] extends AnyRef

    Permalink
  25. type ListResult[R] = builder.query.execution.ListResult[R]

    Permalink
  26. type LocalDate = org.joda.time.LocalDate

    Permalink
  27. implicit class MapKeyConditionals[T <: CassandraTable[T, R], R, K, V] extends AnyRef

    Permalink

    Definition used to cast an index map column with keys indexed to a query-able definition.

    Definition used to cast an index map column with keys indexed to a query-able definition. This will allow users to use "CONTAINS KEY" clauses to search for matches based on map keys.

    T

    The Cassandra table inner type.

    R

    The record type of the table.

    K

    The type of the key held in the map.

    V

    The type of the value held in the map.

    returns

    A MapConditionals class with CONTAINS KEY support.

  28. implicit class MapLikeModifyColumn[Owner <: CassandraTable[Owner, Record], Record, A, B] extends AnyRef

    Permalink
  29. sealed class NetworkTopologyStrategy extends ReplicationStrategy[NetworkTopologyStrategy]

    Permalink
    Definition Classes
    TopologyStrategies
  30. type NonTokenizingAnalyzer[M <: Mode] = builder.query.sasi.Analyzer.NonTokenizingAnalyzer[M]

    Permalink
  31. type PartitionKey = keys.PartitionKey

    Permalink
  32. implicit class PartitionTokenHelper[T] extends AnyRef

    Permalink
  33. type PrimaryKey = keys.PrimaryKey

    Permalink
  34. type Primitive[RR] = builder.primitives.Primitive[RR]

    Permalink
  35. type RecordResult[R] = builder.query.execution.RecordResult[R]

    Permalink
  36. type ResultSet = phantom.ResultSet

    Permalink
  37. implicit class RichNumber extends AnyRef

    Permalink
  38. type RootConnector = connectors.RootConnector

    Permalink
  39. type Row = phantom.Row

    Permalink
  40. type SASIIndex[M <: Mode] = keys.SASIIndex[M]

    Permalink
  41. implicit class SelectColumnOptional[Owner <: CassandraTable[Owner, Record], Record, T] extends SelectColumn[Option[T]]

    Permalink
  42. implicit class SelectColumnRequired[Owner <: CassandraTable[Owner, Record], Record, T] extends SelectColumn[T]

    Permalink
  43. type Session = datastax.driver.core.Session

    Permalink
  44. implicit class SetConditionals[T <: CassandraTable[T, R], R, RR] extends AnyRef

    Permalink
  45. implicit final class SetLikeModifyColumn[Owner <: CassandraTable[Owner, Record], Record, RR] extends AnyRef

    Permalink
  46. sealed class SimpleStrategy extends ReplicationStrategy[SimpleStrategy]

    Permalink
    Definition Classes
    TopologyStrategies
  47. sealed class SizeTieredCompactionStrategy extends CompactionProperties[SizeTieredCompactionStrategy]

    Permalink
    Definition Classes
    CompactionStrategies
  48. class SnappyCompressor extends CompressionStrategy[SnappyCompressor]

    Permalink
    Definition Classes
    CompressionStrategies
  49. type StandardAnalyzer[M <: Mode] = builder.query.sasi.Analyzer.StandardAnalyzer[M]

    Permalink
  50. type StaticColumn = keys.StaticColumn

    Permalink
  51. type Table[Owner <: Table[Owner, Record], Record] = phantom.Table[Owner, Record]

    Permalink
  52. sealed class TimeWindowCompactionStrategy extends CompactionProperties[TimeWindowCompactionStrategy]

    Permalink
    Definition Classes
    CompactionStrategies
  53. type UUID = java.util.UUID

    Permalink
  54. implicit class UUIDAugmenter extends AnyRef

    Permalink
  55. implicit class VersionAugmenter extends AnyRef

    Permalink

    Augments Cassandra VersionNumber descriptors to support simple comparison of versions.

    Augments Cassandra VersionNumber descriptors to support simple comparison of versions. This allows for operations that can differ based on the Cassandra version used by the session.

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 ? extends PrepareMark

    Permalink
  5. val Analyzer: builder.query.sasi.Analyzer.type

    Permalink
  6. object Batch extends Batcher with Product with Serializable

    Permalink
  7. val Cache: CachingStrategies

    Permalink
    Definition Classes
    CreateImplicits
  8. object Caching extends CachingStrategies

    Permalink
    Definition Classes
    TablePropertyClauses
  9. object ConsistencyLevel

    Permalink
  10. val ContactPoint: connectors.ContactPoint.type

    Permalink
  11. val ContactPoints: connectors.ContactPoints.type

    Permalink
  12. object DateTieredCompactionStrategy extends DateTieredCompactionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompactionStrategies
  13. object DeflateCompressor extends DeflateCompressor

    Permalink
    Definition Classes
    CompressionStrategies
  14. val KeySpace: connectors.KeySpace.type

    Permalink
  15. object LZ4Compressor extends LZ4Compressor

    Permalink
    Definition Classes
    CompressionStrategies
  16. object LeveledCompactionStrategy extends LeveledCompactionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompactionStrategies
  17. val Mode: builder.query.sasi.Mode.type

    Permalink
  18. object NetworkTopologyStrategy extends NetworkTopologyStrategy

    Permalink
    Definition Classes
    TopologyStrategies
  19. val Primitive: builder.primitives.Primitive.type

    Permalink
  20. object SimpleStrategy extends SimpleStrategy

    Permalink
    Definition Classes
    TopologyStrategies
  21. object SizeTieredCompactionStrategy extends SizeTieredCompactionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompactionStrategies
  22. object SnappyCompressor extends SnappyCompressor

    Permalink
    Definition Classes
    CompressionStrategies
  23. object Storage

    Permalink
    Definition Classes
    TablePropertyClauses
  24. object TimeWindowCompactionStrategy extends TimeWindowCompactionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompactionStrategies
  25. val Version: DefaultVersions.type

    Permalink
  26. def apply[T <: phantom.CassandraTable[T, _], R](root: RootCreateQuery[T, R])(implicit keySpace: connectors.KeySpace): Default[T, R]

    Permalink
    Definition Classes
    CreateImplicits
  27. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  28. object avg extends AvgCqlFunction

    Permalink
    Definition Classes
    Operators
  29. final val bloom_filter_fp_chance: BloomFilterFpChanceBuilder

    Permalink
    Definition Classes
    TablePropertyClauses
  30. final val caching: CachingBuilder

    Permalink
    Definition Classes
    TablePropertyClauses
  31. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. implicit def columnClauseToDeleteCondition(col: AbstractColumn[_]): Default

    Permalink
    Definition Classes
    DeleteImplicits
  33. implicit final def columnToCasCompareColumn[RR](col: AbstractColumn[RR])(implicit ev: <:!<[col.type, Indexed]): CasConditionalOperators[RR]

    Permalink
    Definition Classes
    ImplicitMechanism
    Annotations
    @implicitNotFound( ... )
  34. implicit final def columnToDropColumn[T](col: AbstractColumn[T])(implicit ev: <:!<[col.type, Undroppable]): DropColumn[T]

    Permalink
    Definition Classes
    ImplicitMechanism
    Annotations
    @implicitNotFound( ... )
  35. implicit def columnToModifyColumn[RR](col: AbstractColumn[RR])(implicit ev: <:!<[col.type, Unmodifiable], ev2: <:!<[col.type, CollectionValueDefinition[RR]]): ModifyColumn[RR]

    Permalink
    Definition Classes
    ModifyMechanism
    Annotations
    @implicitNotFound( ... )
  36. implicit def columnUpdateClauseToDeleteCondition(clause: MapKeyUpdateClause[_, _]): Default

    Permalink
    Definition Classes
    DeleteImplicits
  37. final val comment: CommentClauseBuilder

    Permalink
    Definition Classes
    TablePropertyClauses
  38. final val compaction: CompactionBuilder

    Permalink

    Table creation clause allowing specification of CQL compaction strategies.

    Table creation clause allowing specification of CQL compaction strategies.

    • SizeTieredCompactionStrategy
    • LeveledCompactionStrategy
    • DateTieredCompactionStrategy
    import com.outworkers.phantom.dsl._
    
    SomeTable.create.`with`(compaction eqs SnappyCompressor)
    Definition Classes
    TablePropertyClauses
  39. final val compression: CompressionBuilder

    Permalink

    Helper object used to specify the compression strategy for a table.

    Helper object used to specify the compression strategy for a table. According to the Cassandra specification, the available strategies are:

    • SnappyCompressor
    • LZ4Compressor
    • DeflateCompressor

    A simple way to define a strategy is by using the {{eqs}} method.

    import com.outworkers.phantom.dsl._
    
    SomeTable.create.with(compression eqs SnappyCompressor)

    Using a compression strategy also allows using the API methods of controlling compressor behaviour:

    import com.outworkers.phantom.dsl._
    import com.twitter.conversions.storage._
    
    SomeTable.create.`with`(compression eqs SnappyCompressor.chunk_length_kb(50.kilobytes))
    Definition Classes
    TablePropertyClauses
  40. object contains

    Permalink
    Definition Classes
    DefaultSASIOps
  41. implicit val context: ExecutionContextExecutor

    Permalink
  42. object count extends CountCqlFunction

    Permalink
    Definition Classes
    Operators
  43. object dateOf extends DateOfCqlFunction

    Permalink
    Definition Classes
    Operators
  44. final val dclocal_read_repair_chance: DcLocalReadRepairChanceBuilder

    Permalink
    Definition Classes
    TablePropertyClauses
  45. final val default_time_to_live: TimeToLiveBuilder

    Permalink
    Definition Classes
    TablePropertyClauses
  46. object durable_writes

    Permalink
    Definition Classes
    TopologyStrategies
  47. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  50. final val gc_grace_seconds: GcGraceSecondsBuilder

    Permalink
    Definition Classes
    TablePropertyClauses
  51. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  52. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  53. object ignoreNulls extends Condition

    Permalink
    Definition Classes
    UsingClauseOperations
  54. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  55. implicit def keyspaceToKeyspaceQuery(k: KeySpace): RootSerializer

    Permalink

    Used as a secondary option when creating a ContactPoint to allow users to provide a single KeySpace derived query.

    Used as a secondary option when creating a ContactPoint to allow users to provide a single KeySpace derived query. When users want to provide a single argument to the ContactPoint#keySpace method, they can use the following syntax to generate a full keyspace initialisation query. The KeySpace will implicitly convert to a RootSerializer.

    KeySpace("test").ifNotExists
  56. implicit def mapColumnDefinitionToEntriesQueryColumn[K, V](cond: MapKeyUpdateClause[K, V])(implicit arg0: builder.primitives.Primitive[K], arg1: builder.primitives.Primitive[V]): MapEntriesConditionals[K, V]

    Permalink

    Definition used to cast a comparison clause to Map entry lookup based on a secondary index.

    Definition used to cast a comparison clause to Map entry lookup based on a secondary index.

    K

    The type of the key inside the MapColumn.

    V

    The type of the value held inside the MapColumn.

    cond

    The column update clause generated from MapColumn.apply(keyValue)

    returns

    A MapEntriesConditionals query that allows secondary index operators on map entries.

    Definition Classes
    ImplicitMechanism
  57. implicit def mapColumnToQueryColumn[T <: phantom.CassandraTable[T, R], R, K, V](col: AbstractMapColumn[T, R, K, V] with keys.Index)(implicit ev: <:!<[col, keys.Keys]): MapConditionals[T, R, K, V]

    Permalink

    Definition used to cast an index map column with values indexed to a query-able definition.

    Definition used to cast an index map column with values indexed to a query-able definition. This will allow users to use "CONTAINS" clauses to search for matches based on map values.

    T

    The Cassandra table inner type.

    R

    The record type of the table.

    K

    The type of the key held in the map.

    V

    The type of the value held in the map.

    col

    The map column to cast to a Map column secondary index query.

    returns

    A MapConditionals class with CONTAINS support.

    Definition Classes
    ImplicitMechanism
  58. implicit def mapColumnToRemoveKeysQuery[T <: phantom.CassandraTable[T, R], R, K, V](col: AbstractMapColumn[T, R, K, V])(implicit ev: <:!<[col.type, keys.Keys]): MapRemoveKeyQueries[T, R, K, V]

    Permalink

    Definition used to allow removing keys from a map column using UPDATE query syntax.

    Definition used to allow removing keys from a map column using UPDATE query syntax. Keys are serialised to their CQL value and passed along using SET syntax.

    Example:

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

    The Cassandra table inner type.

    R

    The record type of the table.

    K

    The type of the key held in the map.

    V

    The type of the value held in the map.

    col

    The map column to cast to a Map column secondary index query.

    returns

    A MapConditionals class with CONTAINS support.

    Definition Classes
    ImplicitMechanism
  59. object max extends MaxCqlFunction

    Permalink
    Definition Classes
    Operators
  60. object maxTimeuuid extends MaxTimeUUID

    Permalink
    Definition Classes
    Operators
  61. object min extends MinCqlFunction

    Permalink
    Definition Classes
    Operators
  62. object minTimeuuid extends MinTimeUUID

    Permalink
    Definition Classes
    Operators
  63. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  66. object now extends NowCqlFunction

    Permalink
    Definition Classes
    Operators
  67. implicit def optionalColumnToModifyColumn[Table <: phantom.CassandraTable[Table, Rec], Rec, RR](col: OptionalColumn[Table, Rec, RR])(implicit ev: <:!<[col.type, Unmodifiable], ev2: <:!<[col.type, CollectionValueDefinition[RR]]): ModifyColumnOptional[RR]

    Permalink
    Definition Classes
    ModifyMechanism
    Annotations
    @implicitNotFound( ... )
  68. implicit def orderingColumn[RR](col: AbstractColumn[RR] with keys.PrimaryKey): OrderingColumn[RR]

    Permalink
    Definition Classes
    ImplicitMechanism
  69. implicit def partitionColumnQueries[RR](col: AbstractColumn[RR] with keys.PartitionKey)(implicit arg0: builder.primitives.Primitive[RR]): PartitionQueryColumn[RR]

    Permalink
    Definition Classes
    ImplicitMechanism
  70. object prefix

    Permalink
    Definition Classes
    DefaultSASIOps
  71. final val read_repair_chance: ReadRepairChanceBuilder

    Permalink
    Definition Classes
    TablePropertyClauses
  72. final val replicate_on_write: ReplicateOnWriteBuilder

    Permalink
    Definition Classes
    TablePropertyClauses
  73. object replication

    Permalink
    Definition Classes
    TopologyStrategies
  74. implicit def rootCreateQueryToCreateQuery[T <: phantom.CassandraTable[T, _], R](root: RootCreateQuery[T, R])(implicit keySpace: connectors.KeySpace): Default[T, R]

    Permalink
    Definition Classes
    CreateImplicits
  75. implicit final def rootSelectBlockToSelectQuery[T <: phantom.CassandraTable[T, _], R](root: RootSelectBlock[T, R])(implicit keySpace: connectors.KeySpace): Default[T, R]

    Permalink
    Definition Classes
    SelectImplicits
    Annotations
    @implicitNotFound( ... )
  76. implicit def rootSerializerToKeySpaceSerializer(serializer: RootSerializer): KeySpaceSerializer

    Permalink
    Definition Classes
    KeySpaceConstruction
  77. implicit def sasiGenericOps[RR](col: AbstractColumn[RR] with keys.SASIIndex[_ <: Mode])(implicit arg0: builder.primitives.Primitive[RR]): QueryColumn[RR]

    Permalink
    Definition Classes
    ImplicitMechanism
  78. implicit def sasiTextOps[M <: Mode](col: AbstractColumn[String] with keys.SASIIndex[M])(implicit ev: builder.primitives.Primitive[String]): SASITextOps[M]

    Permalink
    Definition Classes
    ImplicitMechanism
  79. object suffix

    Permalink
    Definition Classes
    DefaultSASIOps
  80. object sum extends SumCqlFunction

    Permalink
    Definition Classes
    Operators
  81. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  82. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  83. object token extends TokenCqlFunction

    Permalink
    Definition Classes
    Operators
  84. object ttl extends TTLOfFunction

    Permalink
    Definition Classes
    Operators
  85. object unixTimestampOf extends UnixTimestampOfCqlFunction

    Permalink
    Definition Classes
    Operators
  86. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. object writetime extends WritetimeCqlFunction

    Permalink
    Definition Classes
    Operators

Inherited from DefaultSASIOps

Inherited from DeleteImplicits

Inherited from KeySpaceConstruction

Inherited from TopologyStrategies

Inherited from UsingClauseOperations

Inherited from Operators

Inherited from SelectImplicits

Inherited from CreateImplicits

Inherited from TablePropertyClauses

Inherited from CompressionStrategies

Inherited from CompactionStrategies

Inherited from ImplicitMechanism

Inherited from ModifyMechanism

Inherited from AnyRef

Inherited from Any

Ungrouped