public class ExplainHints extends Object implements Iterable<IExplainHint>
IExplainHints, to be attached as an annotation to an
ASTBase node. See IExplainHint interface for description
of explain hints. This class is merely a wrapper allowing to add a set
of explain hints to a single node.| Constructor and Description |
|---|
ExplainHints(IExplainHint explainHint)
Constructor, setting up an explain hints object containing
a single
IExplainHint. |
| Modifier and Type | Method and Description |
|---|---|
void |
addExplainHint(IExplainHint explainHint)
Add an explain hint to the set of hints.
|
static Iterator<BOp> |
explainHintAnnotatedBOpIterator(BOp astBase)
Returns all
BOps that are annotated with ExplainHints. |
Iterator<IExplainHint> |
iterator() |
static void |
removeExplainHintAnnotationsFromBOp(BOp bop)
Utility function to remove explain hint annotations from a BOp.
|
String |
toString() |
public ExplainHints(IExplainHint explainHint)
IExplainHint.public void addExplainHint(IExplainHint explainHint)
public static void removeExplainHintAnnotationsFromBOp(BOp bop)
astBase - public static Iterator<BOp> explainHintAnnotatedBOpIterator(BOp astBase)
BOps that are annotated with ExplainHints.op - An operator.public Iterator<IExplainHint> iterator()
iterator in interface Iterable<IExplainHint>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.