Packages

c

longevity.model

DerivedPType

abstract class DerivedPType[M, P, Poly >: P] extends PType[M, P]

one of the derived types in a family of persistent classes. mix this in to your persistent type when it represents a concrete subtype of a PolyPType.

M

the domain model

P

the persistent class

Poly

the parent persistent class

Source
DerivedPType.scala
Linear Supertypes
PType[M, P], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DerivedPType
  2. PType
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DerivedPType()(implicit arg0: ModelEv[M], arg1: scala.reflect.api.JavaUniverse.TypeTag[P], arg2: scala.reflect.api.JavaUniverse.TypeTag[Poly])

Abstract Value Members

  1. implicit abstract val pEv: PEv[M, P]

    the evidence for the persistent class

    the evidence for the persistent class

    Definition Classes
    PType

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DerivedPType[M, P, Poly] to any2stringadd[DerivedPType[M, P, Poly]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DerivedPType[M, P, Poly], B)
    Implicit
    This member is added by an implicit conversion from DerivedPType[M, P, Poly] to ArrowAssoc[DerivedPType[M, P, Poly]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def ensuring(cond: (DerivedPType[M, P, Poly]) ⇒ Boolean, msg: ⇒ Any): DerivedPType[M, P, Poly]
    Implicit
    This member is added by an implicit conversion from DerivedPType[M, P, Poly] to Ensuring[DerivedPType[M, P, Poly]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (DerivedPType[M, P, Poly]) ⇒ Boolean): DerivedPType[M, P, Poly]
    Implicit
    This member is added by an implicit conversion from DerivedPType[M, P, Poly] to Ensuring[DerivedPType[M, P, Poly]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): DerivedPType[M, P, Poly]
    Implicit
    This member is added by an implicit conversion from DerivedPType[M, P, Poly] to Ensuring[DerivedPType[M, P, Poly]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): DerivedPType[M, P, Poly]
    Implicit
    This member is added by an implicit conversion from DerivedPType[M, P, Poly] to Ensuring[DerivedPType[M, P, Poly]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DerivedPType[M, P, Poly] to StringFormat[DerivedPType[M, P, Poly]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def index(propsHead: Prop[P, _], propsTail: Prop[P, _]*): Index[P]

    constructs an index for this persistent type based on the supplied set of index props

    constructs an index for this persistent type based on the supplied set of index props

    propsHead

    the first of the properties that define this index

    propsTail

    any remaining properties that define this index

    Definition Classes
    PType
  19. val indexSet: Set[Index[P]]

    the indexes for this persistent type.

    the indexes for this persistent type. defaults to the empty set

    Definition Classes
    PType
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def key[V](keyValProp: Prop[P, V])(implicit arg0: KVEv[M, P, V]): Key[M, P, V]

    constructs a key for this persistent type

    constructs a key for this persistent type

    V

    the type of the key value

    keyValProp

    a property for the key

    Definition Classes
    PType
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def partition(props: Prop[P, _]*): Partition[P]

    a series of properties that determines the partitioning used by the underlying database to distribute data across multiple nodes.

    a series of properties that determines the partitioning used by the underlying database to distribute data across multiple nodes. used to form a primary key

    props

    the properties that determine the partition

    Definition Classes
    PType
  26. def primaryKey[V](keyValProp: Prop[P, V], partition: Partition[P])(implicit arg0: KVEv[M, P, V]): Key[M, P, V]

    constructs a primary key for this persistent type

    constructs a primary key for this persistent type

    V

    the type of the key value

    keyValProp

    a property for the primary key

    partition

    describes the portion of the key value to use to determine which node in the partition the data belongs to. this must form a prefix of the keyValProp

    Definition Classes
    PType
  27. def primaryKey[V](keyValProp: Prop[P, V], hashed: Boolean = false)(implicit arg0: KVEv[M, P, V]): Key[M, P, V]

    constructs a primary key for this persistent type.

    constructs a primary key for this persistent type. the full key value is used to determine the partition

    V

    the type of the key value

    keyValProp

    a property for the primary key

    hashed

    if true, then used a hashed partition (as opposed to a ranged partition) when possible. defaults to false.

    Definition Classes
    PType
  28. lazy val queryDsl: QueryDsl[P]

    contains implicit imports to make the query DSL work

    contains implicit imports to make the query DSL work

    Definition Classes
    PType
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    DerivedPTypePType → AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  34. def [B](y: B): (DerivedPType[M, P, Poly], B)
    Implicit
    This member is added by an implicit conversion from DerivedPType[M, P, Poly] to ArrowAssoc[DerivedPType[M, P, Poly]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from PType[M, P]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DerivedPType[M, P, Poly] to any2stringadd[DerivedPType[M, P, Poly]]

Inherited by implicit conversion StringFormat from DerivedPType[M, P, Poly] to StringFormat[DerivedPType[M, P, Poly]]

Inherited by implicit conversion Ensuring from DerivedPType[M, P, Poly] to Ensuring[DerivedPType[M, P, Poly]]

Inherited by implicit conversion ArrowAssoc from DerivedPType[M, P, Poly] to ArrowAssoc[DerivedPType[M, P, Poly]]

Ungrouped