case class IncrementalResult[E <: Entity](result: ProperPropertyComputationResult, nextComputations: Iterator[(PropertyComputation[E], E)]) extends PropertyComputationResult with ProperPropertyComputationResult with Product with Serializable
Encapsulates some result and also some computations that should be computed next.
In this case the property store DOES NOT guarantee that the result is processed
before the next computations are triggered. Hence, nextComputations
can query the e/pk
related to the previous result, but should not expect to already see the value of the
given result(s).
Incremental results are particularly useful to process tree structures such as the class hierarchy.
- Source
- PropertyComputationResult.scala
- Note
All computations must compute different e/pk pairs which are not yet computed/scheduled or for which lazy computations are scheduled.
,To ensure correctness it is absolutely essential that all entities - for which some property could eventually be computed - has a property before the property store reaches quiescence. Hence, it is generally not possible that a lazy computation returns
IncrementalResult
objects.
- Alphabetic
- By Inheritance
- IncrementalResult
- Serializable
- Product
- Equals
- ProperPropertyComputationResult
- PropertyComputationResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new IncrementalResult(result: ProperPropertyComputationResult, nextComputations: Iterator[(PropertyComputation[E], E)])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nextComputations: Iterator[(PropertyComputation[E], E)]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val result: ProperPropertyComputationResult
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated