public class ASTOptimizerList extends LinkedList<IASTOptimizer> implements IASTOptimizer
modCount| Constructor and Description |
|---|
ASTOptimizerList(Collection<IASTOptimizer> c) |
ASTOptimizerList(IASTOptimizer... optimizers) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(IASTOptimizer opt) |
QueryNodeWithBindingSet |
optimize(AST2BOpContext context,
QueryNodeWithBindingSet input)
Run all the optimizers in the list.
|
add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subListpublic ASTOptimizerList(Collection<IASTOptimizer> c)
public ASTOptimizerList(IASTOptimizer... optimizers)
public boolean add(IASTOptimizer opt)
add in interface Collection<IASTOptimizer>add in interface Deque<IASTOptimizer>add in interface List<IASTOptimizer>add in interface Queue<IASTOptimizer>add in class LinkedList<IASTOptimizer>public QueryNodeWithBindingSet optimize(AST2BOpContext context, QueryNodeWithBindingSet input)
Note: This makes a deep copy of the AST before applying destructive modifications.
optimize in interface IASTOptimizercontext - The evaluation context.input - The input to the optimizer, consisting of a queryNode and
input binding set.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.