final class AllReferencesQueryProfileVisitor extends PrefixQueryProfileVisitor
Modifier and Type | Field and Description |
---|---|
private Set<com.yahoo.processing.request.CompoundName> |
references
A map of query profile types
|
currentPrefix
Constructor and Description |
---|
AllReferencesQueryProfileVisitor(com.yahoo.processing.request.CompoundName prefix) |
Modifier and Type | Method and Description |
---|---|
Set<com.yahoo.processing.request.CompoundName> |
getResult()
Returns the values resulting from this visiting
|
boolean |
isDone()
Returns false - we are not done until we have seen all
|
void |
onQueryProfileInsidePrefix(QueryProfile profile,
DimensionBinding binding,
QueryProfile owner) |
void |
onValue(String name,
Object value,
DimensionBinding binding,
QueryProfile owner)
Called when a value (not a query profile) is encountered.
|
enter, getLocalKey, leave, onQueryProfile
acceptValue, visitInherited
private Set<com.yahoo.processing.request.CompoundName> references
public AllReferencesQueryProfileVisitor(com.yahoo.processing.request.CompoundName prefix)
public void onValue(String name, Object value, DimensionBinding binding, QueryProfile owner)
QueryProfileVisitor
onValue
in class QueryProfileVisitor
name
- the local name of this value (the full name, if needed, must be reconstructed
by the information given by the history of QueryProfileVisitor.enter(String)
and QueryProfileVisitor.leave(String)
callsvalue
- the valuebinding
- the binding this holds forowner
- the query profile having this value, or null only when profile is the root profilepublic void onQueryProfileInsidePrefix(QueryProfile profile, DimensionBinding binding, QueryProfile owner)
onQueryProfileInsidePrefix
in class PrefixQueryProfileVisitor
public Set<com.yahoo.processing.request.CompoundName> getResult()
public boolean isDone()
isDone
in class QueryProfileVisitor
Copyright © 2018. All rights reserved.