public interface IPTraceableTraceProvider
PTraceables of a transformed PQuery produced by
a PDisjunctionRewriter. In case the associated rewriter is a composite (a.k.a. PDisjunctionRewriterCacher),
this trace provider handles traces end-to-end, hiding all the intermediate transformation steps.| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<PTraceable> |
getCanonicalTraceables(PTraceable derivative)
Find and return the canonical
PTraceables in the original query which are the sources of the given derivative
PTraceable according to the transformation. |
java.util.stream.Stream<IDerivativeModificationReason> |
getRemovalReasons(PTraceable traceable)
Returns the reasons for which the traceable element has been removed by the rewriters.
|
java.util.stream.Stream<PTraceable> |
getRewrittenTraceables(PTraceable source)
Find and return the
PTraceables in the rewritten query which are the destinations of the given source
PTraceable according to the transformation. |
boolean |
isRemoved(PTraceable traceable)
Returns whether the given traceable element has been removed by every rewriter for a reason.
|
java.util.stream.Stream<PTraceable> getCanonicalTraceables(PTraceable derivative)
PTraceables in the original query which are the sources of the given derivative
PTraceable according to the transformation.derivative - a PTraceable which is contained by the PQuery produced by the associated rewriterjava.util.stream.Stream<PTraceable> getRewrittenTraceables(PTraceable source)
PTraceables in the rewritten query which are the destinations of the given source
PTraceable according to the transformation.source - a PTraceable which is contained by a PQuery before rewritingboolean isRemoved(PTraceable traceable)
java.util.stream.Stream<IDerivativeModificationReason> getRemovalReasons(PTraceable traceable)