public class HandlerBlock extends Object
| Constructor and Description |
|---|
HandlerBlock(Query query)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(AggregationHandler handler)
Add the aggregation handler contents to this prolog handler.
|
void |
addAll(ConstructHandler handler)
Add the construct handler contents to this prolog handler.
|
void |
addAll(DatasetHandler handler)
Add the dataset handler contents to this prolog handler.
|
void |
addAll(HandlerBlock handler)
Add all of the handlers in the handler block to this one.
|
void |
addAll(PrologHandler handler)
Add the prolog handler contents to this prolog handler.
|
void |
addAll(SelectHandler handler)
Add the select handler contents to this prolog handler.
|
void |
addAll(SolutionModifierHandler handler)
Add the solution modifier handler contents to this prolog handler.
|
void |
addAll(ValuesHandler handler)
Add the values handler contents to this prolog handler.
|
void |
addAll(WhereHandler handler)
Add the where handler contents to this prolog handler.
|
void |
build()
Build all the enclosed handlers in the proper order.
|
AggregationHandler |
getAggregationHandler()
Get the aggregation handler.
|
ConstructHandler |
getConstructHandler()
Get the construct handler.
|
DatasetHandler |
getDatasetHandler()
Get the dataset handler.
|
SolutionModifierHandler |
getModifierHandler()
Get the solution modifier handler.
|
PrologHandler |
getPrologHandler()
Get the prolog handler.
|
SelectHandler |
getSelectHandler()
Get the select handler.
|
ValuesHandler |
getValueHandler()
Get the value handler.
|
WhereHandler |
getWhereHandler()
Get the where handler.
|
void |
setVars(Map<Var,Node> values)
Set the variables in all the enclosed handlers in the proper order.
|
public HandlerBlock(Query query)
query - The query we are working with.public AggregationHandler getAggregationHandler()
public ConstructHandler getConstructHandler()
public DatasetHandler getDatasetHandler()
public PrologHandler getPrologHandler()
public SelectHandler getSelectHandler()
public SolutionModifierHandler getModifierHandler()
public WhereHandler getWhereHandler()
public ValuesHandler getValueHandler()
public void addAll(PrologHandler handler)
handler - The prolog handler to add to this one.public void addAll(AggregationHandler handler)
handler - The aggregation handler to add to this one.public void addAll(ConstructHandler handler)
handler - The construct handler to add to this one.public void addAll(DatasetHandler handler)
handler - The dataset handler to add to this one.public void addAll(SolutionModifierHandler handler)
handler - The solution modifier handler to add to this one.public void addAll(SelectHandler handler)
handler - The construct handler to add to this one.public void addAll(WhereHandler handler)
handler - The where handler to add to this one.public void addAll(ValuesHandler handler)
handler - The values handler to add to this one.public void addAll(HandlerBlock handler)
handler - The handler block to add to this one.public void setVars(Map<Var,Node> values)
values - The map of values to set.public void build()
Licensed under the Apache License, Version 2.0