Package

com.websudos.phantom

dsl

Permalink

package dsl

Linear Supertypes
Operators, SelectImplicits, DefaultPrimitives, CreateImplicits, TablePropertyClauses, CompressionStrategies, CompactionStrategies, ImplicitMechanism, ModifyMechanism, ColumnModifiers, CollectionOperators, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. dsl
  2. Operators
  3. SelectImplicits
  4. DefaultPrimitives
  5. CreateImplicits
  6. TablePropertyClauses
  7. CompressionStrategies
  8. CompactionStrategies
  9. ImplicitMechanism
  10. ModifyMechanism
  11. ColumnModifiers
  12. CollectionOperators
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Ascending = keys.Ascending

    Permalink
  2. type BigDecimalColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, BigDecimal]

    Permalink
  3. type BigIntColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, BigInt]

    Permalink
  4. type BlobColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.PrimitiveColumn[Owner, Record, ByteBuffer]

    Permalink
  5. type BooleanColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, Boolean]

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

    Permalink
  7. type ClusteringOrder[ValueType] = keys.ClusteringOrder[ValueType]

    Permalink
  8. type Column[Owner <: CassandraTable[Owner, Record], Record, T] = column.Column[Owner, Record, T]

    Permalink
  9. type CounterColumn[Owner <: CassandraTable[Owner, Record], Record] = column.CounterColumn[Owner, Record]

    Permalink
  10. implicit final class CounterOperations[Owner <: CassandraTable[Owner, Record], Record] extends AnyVal

    Permalink
  11. type Database = DatabaseImpl

    Permalink
  12. type DateColumn[Owner <: CassandraTable[Owner, Record], Record] = column.DateColumn[Owner, Record]

    Permalink
  13. type DateTime = org.joda.time.DateTime

    Permalink
  14. type DateTimeColumn[Owner <: CassandraTable[Owner, Record], Record] = column.DateTimeColumn[Owner, Record]

    Permalink
  15. type DateTimeZone = org.joda.time.DateTimeZone

    Permalink
  16. type Descending = keys.Descending

    Permalink
  17. type DoubleColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, Double]

    Permalink
  18. type EnumColumn[Owner <: CassandraTable[Owner, Record], Record, T <: Enumeration] = column.EnumColumn[Owner, Record, T]

    Permalink
  19. type FloatColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, Float]

    Permalink
  20. trait ForwardDefinition extends AnyRef

    Permalink
  21. type Index[ValueType] = keys.Index[ValueType]

    Permalink
  22. type InetAddressColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, InetAddress]

    Permalink
  23. type IntColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, Int]

    Permalink
  24. type JsonColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.JsonColumn[Owner, Record, T]

    Permalink
  25. type JsonListColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.JsonListColumn[Owner, Record, T]

    Permalink
  26. type JsonSetColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.JsonSetColumn[Owner, Record, T]

    Permalink
  27. type KeySpace = connectors.KeySpace

    Permalink
  28. type Keys = keys.Keys

    Permalink
  29. type ListColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.ListColumn[Owner, Record, T]

    Permalink
  30. implicit class ListLikeModifyColumn[Owner <: CassandraTable[Owner, Record], Record, RR] extends AnyRef

    Permalink
    Definition Classes
    CollectionOperators
  31. type LongColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, Long]

    Permalink
  32. type MapColumn[Owner <: CassandraTable[Owner, Record], Record, K, V] = column.MapColumn[Owner, Record, K, V]

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

    Permalink
    Definition Classes
    CollectionOperators
  34. type OptionalBigDecimalColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, BigDecimal]

    Permalink
  35. type OptionalBigIntColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, BigInt]

    Permalink
  36. type OptionalBlobColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.OptionalPrimitiveColumn[Owner, Record, ByteBuffer]

    Permalink
  37. type OptionalBooleanColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, Boolean]

    Permalink
  38. type OptionalColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.OptionalColumn[Owner, Record, T]

    Permalink
  39. type OptionalDateColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, Date]

    Permalink
  40. type OptionalDateTimeColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, DateTime]

    Permalink
  41. type OptionalDoubleColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, Double]

    Permalink
  42. type OptionalEnumColumn[Owner <: CassandraTable[Owner, Record], Record, T <: Enumeration] = column.OptionalEnumColumn[Owner, Record, T]

    Permalink
  43. type OptionalFloatColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, Float]

    Permalink
  44. type OptionalInetAddressColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, InetAddress]

    Permalink
  45. type OptionalIntColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, Int]

    Permalink
  46. type OptionalLongColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, Long]

    Permalink
  47. type OptionalPrimitiveColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.OptionalPrimitiveColumn[Owner, Record, T]

    Permalink
  48. type OptionalStringColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, String]

    Permalink
  49. type OptionalTimeUUIDColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalTimeUUIDColumn[Owner, Record]

    Permalink
  50. type OptionalUUIDColumn[Owner <: CassandraTable[Owner, Record], Record] = column.OptionalPrimitiveColumn[Owner, Record, UUID]

    Permalink
  51. type PartitionKey[ValueType] = keys.PartitionKey[ValueType]

    Permalink
  52. implicit final class PartitionTokenHelper[T] extends AnyVal

    Permalink
  53. type PrimaryKey[ValueType] = keys.PrimaryKey[ValueType]

    Permalink
  54. type PrimitiveColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.PrimitiveColumn[Owner, Record, T]

    Permalink
  55. type ResultSet = datastax.driver.core.ResultSet

    Permalink
  56. implicit final class RichNumber extends AnyVal

    Permalink
  57. type Row = datastax.driver.core.Row

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

    Permalink
    Definition Classes
    ColumnModifiers
  59. implicit class SelectColumnRequired[Owner <: CassandraTable[Owner, Record], Record, T] extends SelectColumn[T]

    Permalink
    Definition Classes
    ColumnModifiers
  60. type Session = datastax.driver.core.Session

    Permalink
  61. type SetColumn[Owner <: CassandraTable[Owner, Record], Record, T] = column.SetColumn[Owner, Record, T]

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

    Permalink
    Definition Classes
    CollectionOperators
  63. type SimpleCassandraConnector = SimpleConnector

    Permalink
  64. sealed class SizeTieredCompactionStrategy extends CompactionStrategy

    Permalink
    Definition Classes
    CompactionStrategies
  65. type StaticColumn[ValueType] = keys.StaticColumn[ValueType]

    Permalink
  66. type StringColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, String]

    Permalink
  67. type TimeUUIDColumn[Owner <: CassandraTable[Owner, Record], Record] = column.TimeUUIDColumn[Owner, Record]

    Permalink
  68. type UUID = java.util.UUID

    Permalink
  69. type UUIDColumn[Owner <: CassandraTable[Owner, Record], Record] = column.PrimitiveColumn[Owner, Record, UUID]

    Permalink
  70. implicit final class VersionAugmenter extends AnyVal

    Permalink

Value Members

  1. object Batch extends Batcher with Product with Serializable

    Permalink
  2. implicit object BigDecimalPrimitive extends Primitive[BigDecimal]

    Permalink
    Definition Classes
    DefaultPrimitives
  3. implicit object BigIntPrimitive extends Primitive[BigInt]

    Permalink
    Definition Classes
    DefaultPrimitives
  4. implicit object BlobIsPrimitive extends Primitive[ByteBuffer]

    Permalink
    Definition Classes
    DefaultPrimitives
  5. implicit object BooleanIsPrimitive extends Primitive[Boolean]

    Permalink
    Definition Classes
    DefaultPrimitives
  6. val Cache: CacheStrategies.type

    Permalink
    Definition Classes
    CreateImplicits
  7. object ConsistencyLevel

    Permalink
  8. implicit object DateIsPrimitive extends Primitive[Date]

    Permalink
    Definition Classes
    DefaultPrimitives
  9. object DateTieredCompactionStrategy extends CompactionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompactionStrategies
  10. implicit object DateTimeIsPrimitive extends Primitive[DateTime]

    Permalink
    Definition Classes
    DefaultPrimitives
  11. object DeflateCompressor extends CompressionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompressionStrategies
  12. implicit object DoublePrimitive extends Primitive[Double]

    Permalink
    Definition Classes
    DefaultPrimitives
  13. implicit object FloatPrimitive extends Primitive[Float]

    Permalink
    Definition Classes
    DefaultPrimitives
  14. implicit object InetAddressPrimitive extends Primitive[InetAddress]

    Permalink
    Definition Classes
    DefaultPrimitives
  15. implicit object IntPrimitive extends Primitive[Int]

    Permalink
    Definition Classes
    DefaultPrimitives
  16. val KeySpace: connectors.KeySpace.type

    Permalink
  17. object LZ4Compressor extends CompressionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompressionStrategies
  18. object LeveledCompactionStrategy extends CompactionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompactionStrategies
  19. implicit object LongPrimitive extends Primitive[Long]

    Permalink
    Definition Classes
    DefaultPrimitives
  20. object SizeTieredCompactionStrategy extends SizeTieredCompactionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompactionStrategies
  21. object SnappyCompressor extends CompressionStrategy with Product with Serializable

    Permalink
    Definition Classes
    CompressionStrategies
  22. object Storage

    Permalink
    Definition Classes
    TablePropertyClauses
  23. implicit object StringPrimitive extends Primitive[String]

    Permalink
    Definition Classes
    DefaultPrimitives
  24. implicit object UUIDPrimitive extends Primitive[UUID]

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

    Permalink
  26. object bloom_filter_fp_chance extends TableProperty

    Permalink
    Definition Classes
    TablePropertyClauses
  27. object caching extends TableProperty

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

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

    Permalink
    Definition Classes
    ImplicitMechanism
    Annotations
    @implicitNotFound( ... )
  30. 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( ... )
  31. object comment extends TableProperty

    Permalink
    Definition Classes
    TablePropertyClauses
  32. object compaction extends TableProperty

    Permalink

    Table creation clause allowing specification of CQL compaction strategies.

    Table creation clause allowing specification of CQL compaction strategies.

    • SizeTieredCompactionStrategy
    • LeveledCompactionStrategy
    • DateTieredCompactionStrategy
    import com.websudos.phantom.dsl._
    
    SomeTable.create.`with`(compaction eqs SnappyCompressor)
    Definition Classes
    TablePropertyClauses
  33. object compression extends TableProperty

    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.websudos.phantom.dsl._
    
    SomeTable.create.with(compression eqs SnappyCompressor)

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

    import com.websudos.phantom.dsl._
    import com.twitter.conversions.storage._
    
    SomeTable.create.`with`(compression eqs SnappyCompressor.chunk_length_kb(50.kilobytes))
    Definition Classes
    TablePropertyClauses
  34. implicit lazy val context: ExecutionContext

    Permalink
  35. object dateOf extends DateOfOperator

    Permalink
    Definition Classes
    Operators
  36. object dclocal_read_repair_chance extends TableProperty

    Permalink
    Definition Classes
    TablePropertyClauses
  37. object default_time_to_live extends TableProperty

    Permalink
    Definition Classes
    TablePropertyClauses
  38. implicit def enumToQueryConditionPrimitive[T <: Enumeration](enum: T): Primitive[dsl.enumToQueryConditionPrimitive.T.Value]

    Permalink
  39. object gc_grace_seconds extends TableProperty

    Permalink
    Definition Classes
    TablePropertyClauses
  40. implicit def indexedToQueryColumn[T](col: AbstractColumn[T] with Indexed)(implicit arg0: Primitive[T]): QueryColumn[T]

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

    Permalink
    Definition Classes
    ImplicitMechanism
  42. implicit def mapKeysColumnToQueryColumn[T <: CassandraTable[T, R], R, K, V](col: AbstractMapColumn[T, R, K, V] with Index[Map[K, V]] with Keys): MapKeyConditionals[T, R, K, V]

    Permalink
    Definition Classes
    ImplicitMechanism
  43. implicit def orderingColumn[RR](col: AbstractColumn[RR] with PrimaryKey[RR]): OrderingColumn[RR]

    Permalink
    Definition Classes
    ImplicitMechanism
  44. object read_repair_chance extends TableProperty

    Permalink
    Definition Classes
    TablePropertyClauses
  45. object replicate_on_write extends TableProperty

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

    Permalink
    Definition Classes
    CreateImplicits
  47. 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( ... )
  48. implicit def setColumnToQueryColumn[T <: CassandraTable[T, R], R, RR](col: AbstractSetColumn[T, R, RR] with Index[Set[RR]]): SetConditionals[T, R, RR]

    Permalink
    Definition Classes
    ImplicitMechanism

Inherited from Operators

Inherited from SelectImplicits

Inherited from DefaultPrimitives

Inherited from CreateImplicits

Inherited from TablePropertyClauses

Inherited from CompressionStrategies

Inherited from CompactionStrategies

Inherited from ImplicitMechanism

Inherited from ModifyMechanism

Inherited from ColumnModifiers

Inherited from CollectionOperators

Inherited from AnyRef

Inherited from Any

Ungrouped