com.outworkers.phantom.example

basics

package basics

Visibility
  1. Public
  2. All

Type Members

  1. sealed class CompositeKeyRecipes extends dsl.CassandraTable[ConcreteCompositeKeyRecipes, Recipe]

    In this example we will create a table storing recipes.

  2. abstract class ConcreteCompositeKeyRecipes extends CompositeKeyRecipes with RootConnector

  3. abstract class ConcreteRecipes extends Recipes with RootConnector

  4. abstract class ConcreteSecondaryKeyRecipes extends SecondaryKeyRecipes with RootConnector

  5. abstract class ConcreteThriftTable extends ThriftTable with RootConnector

  6. trait DockerConnector extends Connector

  7. trait ExampleConnector extends Connector

    This is an example of how to connect to Cassandra in the easiest possible way.

  8. case class Recipe(id: UUID, name: String, title: String, author: String, description: String, ingredients: Set[String], props: Map[String, String], timestamp: DateTime) extends Product with Serializable

    In this example we will create a simple table storing recipes.

  9. sealed class Recipes extends dsl.CassandraTable[Recipes, Recipe]

  10. trait SampleModel extends ThriftStruct with Product3[String, String, Option[String]] with Serializable

  11. case class SampleRecord(stuff: String, someList: List[String], thriftModel: SampleModel) extends Product with Serializable

  12. sealed class SecondaryKeyRecipes extends dsl.CassandraTable[ConcreteSecondaryKeyRecipes, Recipe]

    In this example we will create a table storing recipes with a SecondaryKey.

  13. sealed class ThriftTable extends dsl.CassandraTable[ConcreteThriftTable, SampleRecord]

Value Members

  1. object Defaults

  2. object RemoteConnector

    This is an example of how to connect to a custom set of hosts and ports.

  3. object SampleModel extends ThriftStructCodec3[SampleModel] with Serializable

Ungrouped