| Constructor and Description |
|---|
ValuesHandler()
Constructor.
|
ValuesHandler(Query query) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(ValuesHandler handler)
Add the ValuesHandler values to this values Handler.
|
void |
addValueRow(Collection<Node> values)
Add the values for the variables.
|
void |
addValueVar(Var var,
Collection<Node> nodes)
Add a variable to the value statement.
|
ElementData |
asElement() |
void |
build()
Called by the build process for this handler to perform any adjustments to the query before
the build completes.
|
void |
clear() |
Map<Var,List<Node>> |
getValuesMap() |
List<Var> |
getValuesVars() |
boolean |
isEmpty() |
void |
setVars(Map<Var,Node> values)
Set the values for variables managed by the handler implementation.
|
public ValuesHandler()
public ValuesHandler(Query query)
public ElementData asElement()
public boolean isEmpty()
public void setVars(Map<Var,Node> values)
Handlerpublic void build()
Handlerpublic void addValueVar(Var var, Collection<Node> nodes)
var - The variable to add.public void addValueRow(Collection<Node> values)
values - the collection of values to add.public void addAll(ValuesHandler handler)
handler - the handler that has the values to add.public void clear()
Licensed under the Apache License, Version 2.0