trait PolyPType[P] extends PType[P]
the base type for a family of persistent types. mix this in to your persistent type when it represents an abstract persistent type with concrete subtypes.
- Source
- PolyPType.scala
- Alphabetic
- By Inheritance
- PolyPType
- PType
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (PolyPType[P], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (PolyPType[P]) ⇒ Boolean, msg: ⇒ Any): PolyPType[P]
- def ensuring(cond: (PolyPType[P]) ⇒ Boolean): PolyPType[P]
- def ensuring(cond: Boolean, msg: ⇒ Any): PolyPType[P]
- def ensuring(cond: Boolean): PolyPType[P]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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
-
lazy val
indexSet: Set[Index[P]]
the indexes for this persistent type
the indexes for this persistent type
- Definition Classes
- PType
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
key[V <: KeyVal[P]](keyValProp: Prop[P, V])(implicit arg0: TypeKey[V]): Key[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
-
lazy val
keySet: Set[AnyKey[P]]
the keys for this persistent type
the keys for this persistent type
- Definition Classes
- PType
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
pTypeKey: TypeKey[P]
the type key for the persistent type
the type key for the persistent type
- Definition Classes
- PType
-
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 partition key
- props
the properties that determine the partition
- Definition Classes
- PType
-
def
partitionKey[V <: KeyVal[P]](keyValProp: Prop[P, V], partition: Partition[P])(implicit arg0: TypeKey[V]): PartitionKey[P, V]
constructs a partition key for this persistent type
constructs a partition 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
-
def
partitionKey[V <: KeyVal[P]](keyValProp: Prop[P, V], hashed: Boolean = false)(implicit arg0: TypeKey[V]): PartitionKey[P, V]
constructs a partition key for this persistent type.
constructs a partition 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 tofalse.
- Definition Classes
- PType
-
lazy val
partitionKey: Option[AnyPartitionKey[P]]
the optional partition key for this persistent type
the optional partition key for this persistent type
- Definition Classes
- PType
-
def
prop[A](path: String)(implicit arg0: TypeKey[A]): Prop[P, A]
constructs a Prop of type
Afrom the provided property path.constructs a Prop of type
Afrom the provided property path.the provided type
Ashould match the type of the actual member in the persistent class. typeAshould not contain any collections, or terminate with polymorphic component. violations will cause an exception to be thrown on Subdomain construction.- A
the type of the property
- path
the property path
- Definition Classes
- PType
-
lazy val
propSet: Set[Prop[P, _]]
the [Prop properties] for this persistent type
the [Prop properties] for this persistent type
- Definition Classes
- PType
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- PType → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (PolyPType[P], B)