Package

longevity.subdomain

root

Permalink

package root

Content Hierarchy Learn more about scaladoc diagrams
Visibility
  1. Public
  2. All

Type Members

  1. sealed case class ConditionalQuery[R <: Root](lhs: Query[R], op: LogicalOp, rhs: Query[R]) extends Query[R] with Product with Serializable

    Permalink

    a conditional query where one or both of the operands are non-validated queries

  2. sealed case class EqualityQuery[R <: Root, A](path: String, op: EqualityOp, value: A)(implicit evidence$7: TypeKey[A]) extends Query[R] with Product with Serializable

    Permalink

    an equality query where the left-hand side is a property path

  3. case class Index[R <: Root] extends Product with Serializable

    Permalink

    an index for this root type

  4. case class Key[R <: Root] extends Product with Serializable

    Permalink

    a natural key for this root type.

    a natural key for this root type. a set of properties for which, given specific property values for each of the properties, will match no more than one root instance.

    R

    the root type

  5. case class KeyVal[R <: Root] extends Product with Serializable

    Permalink

    a key value

  6. case class KeyValArg[A](value: A, typeKey: TypeKey[A]) extends Product with Serializable

    Permalink

    an argument used to construct a KeyVal.

    an argument used to construct a KeyVal. a value is wrapped up with its type, so we can check that the value matches the type of the corresponding Prop when building the KeyVal.

  7. sealed case class OrderingQuery[R <: Root, A](path: String, op: OrderingOp, value: A)(implicit evidence$8: TypeKey[A]) extends Query[R] with Product with Serializable

    Permalink

    an ordering query where the left-hand side is a property path

  8. case class Prop[R <: Root, A] extends Product with Serializable

    Permalink

    a property for this root type.

    a property for this root type. properties can be used to define keys and indexes, as well as for building queries. a property can descend from the root into child entities at any depth. at present, a property cannot pass through any collections. at present, the type of the property must be an Assoc, a Shorthand, or a basic type.

    See also

    emblem.basicTypes

  9. sealed trait Query[R <: Root] extends AnyRef

    Permalink

    a query for looking up aggregates of type R

  10. class QueryDsl[R <: Root] extends AnyRef

    Permalink

    a DSL for creating queries.

    a DSL for creating queries. you can find it in your local repository at Repo.queryDsl

  11. sealed case class VConditionalQuery[R <: Root](lhs: ValidatedQuery[R], op: LogicalOp, rhs: ValidatedQuery[R]) extends ValidatedQuery[R] with Product with Serializable

    Permalink

    a conditional query where both of the operands are validated queries

  12. sealed case class VEqualityQuery[R <: Root, A](prop: Prop[R, A], op: EqualityOp, value: A) extends ValidatedQuery[R] with Product with Serializable

    Permalink

    an equality query where the left-hand side is a property

  13. sealed case class VOrderingQuery[R <: Root, A](prop: Prop[R, A], op: OrderingOp, value: A) extends ValidatedQuery[R] with Product with Serializable

    Permalink

    an ordering query where the left-hand side is a property

  14. sealed trait ValidatedQuery[R <: Root] extends Query[R]

    Permalink

    a query where all the types check out

Value Members

  1. object KeyVal extends Serializable

    Permalink
  2. object KeyValArg extends Serializable

    Permalink
  3. object Prop extends Serializable

    Permalink
  4. object Query

    Permalink

    query operators and factory methods

Ungrouped