T - The Builder type that the clause is part of.public interface ValuesClause<T extends AbstractQueryBuilder<T>>
| Modifier and Type | Method and Description |
|---|---|
T |
addValueRow(Collection<?> values)
Add a collection of objects as row of values.
|
T |
addValueRow(Object... values)
Add objects as a row of values.
|
T |
addValueVar(Object var)
Add a variable or variable and values to the value statement.
|
T |
addValueVar(Object var,
Object... values)
Add a variable and values to the value statement.
|
<K extends Collection<?>> |
addValueVars(Map<?,K> dataTable)
Add a data table to the value statement.
|
T |
clearValues()
Reset the values table to the initial undefined state.
|
ValuesHandler |
getValuesHandler()
Get the value handler for this clause.
|
Map<Var,List<Node>> |
getValuesMap()
Get an unmodifiable map of vars and their values.
|
List<Var> |
getValuesVars()
Get an unmodifiable list of vars in the order that they appear in the values table.
|
ValuesHandler getValuesHandler()
T addValueVar(Object var)
var - The variable or collection to add.AbstractQueryBuilder.makeNode(Object),
Converters.makeVar(Object)T addValueVar(Object var, Object... values)
var - The variable to add.values - The values for the variableAbstractQueryBuilder.makeNode(Object),
Converters.makeVar(Object)<K extends Collection<?>> T addValueVars(Map<?,K> dataTable)
dataTable - The data table to add.AbstractQueryBuilder.makeNode(Object),
Converters.makeVar(Object)T addValueRow(Object... values)
values - the collection of values to add.AbstractQueryBuilder.makeNode(Object)T addValueRow(Collection<?> values)
values - the collection of values to add.AbstractQueryBuilder.makeNode(Object)T clearValues()
List<Var> getValuesVars()
Licensed under the Apache License, Version 2.0