private class YqlParser.AnnotationPropagator extends ToolBox.QueryVisitor
Modifier and Type | Field and Description |
---|---|
private Boolean |
accentDrop |
private Boolean |
filter |
private Boolean |
isRanked |
private Boolean |
normalizeCase |
private Boolean |
stem |
private Boolean |
usePositionData |
Constructor and Description |
---|
AnnotationPropagator(OperatorNode<ExpressionOperator> ast) |
Modifier and Type | Method and Description |
---|---|
void |
onExit()
Invoked when all sub-items have been visited, or immediately after
visit() if there are no sub-items or visit() returned false.
|
boolean |
visit(Item item)
Called for each item in the query tree given to
ToolBox.visit(QueryVisitor, Item) . |
private final Boolean isRanked
private final Boolean filter
private final Boolean stem
private final Boolean normalizeCase
private final Boolean accentDrop
private final Boolean usePositionData
public AnnotationPropagator(OperatorNode<ExpressionOperator> ast)
public boolean visit(Item item)
ToolBox.QueryVisitor
ToolBox.visit(QueryVisitor, Item)
. Return true to visit the
sub-items of the given item, return false to ignore the sub-items.visit
in class ToolBox.QueryVisitor
item
- each item in the query treeToolBox.QueryVisitor.onExit()
method)public void onExit()
ToolBox.QueryVisitor
onExit
in class ToolBox.QueryVisitor
Copyright © 2018. All rights reserved.