public class LazyPlanningAdornments extends java.lang.Object implements IAdornmentProvider
Caution: this is a safe default adornment provider for GenericLocalSearchResultProvider
only;
do not use for the EMF-specific LS backend.
The benefits is in execution time: query planning costs for adornments are postponed until first usage or even entirely avoided (when adornment is never used in practice). However, query evaluation time may become less predictable, as the first matcher call (with a given adornment) will include the planning cost. For benchmarking or other purposes where this is not desirable, use an adornment provider that demands plan precomputation for all necessary adornments.
Constructor and Description |
---|
LazyPlanningAdornments() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.util.Set<PParameter>> |
getAdornments(PQuery query)
The bound parameter sets
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toHint
public java.lang.Iterable<java.util.Set<PParameter>> getAdornments(PQuery query)
IAdornmentProvider
getAdornments
in interface IAdornmentProvider