Package com.exasol.sql
Class ValueTableRow.Builder
- java.lang.Object
-
- com.exasol.sql.ValueTableRow.Builder
-
- Enclosing class:
- ValueTableRow
public static class ValueTableRow.Builder extends Object
Builder forValueTableRows
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueTableRow.Builderadd(boolean... values)Add one or more boolean literals to the row.ValueTableRow.Builderadd(char... values)Add one or more char literals to the row.ValueTableRow.Builderadd(double... values)Add one or more double literals to the row.ValueTableRow.Builderadd(float... values)Add one or more float literals to the row.ValueTableRow.Builderadd(int... values)Add one or more integer literals to the row.ValueTableRow.Builderadd(long... values)Add one or more long literals to the row.ValueTableRow.Builderadd(String... values)Add one or more string literals to the row.ValueTableRow.Builderadd(List<ValueExpression> expressions)Add a list of expressions to theValueTableRow.ValueTableRow.BuilderaddPlaceholder()Add anUnnamedPlaceholderto the row.ValueTableRowbuild()Build a newValueTableRow.
-
-
-
Constructor Detail
-
Builder
public Builder(Fragment root)
Create a new builder for a value table row.- Parameters:
root- root fragment of the SQL statement
-
-
Method Detail
-
add
public ValueTableRow.Builder add(String... values)
Add one or more string literals to the row.- Parameters:
values- strings to be added- Returns:
thisfor fluent programming
-
add
public ValueTableRow.Builder add(char... values)
Add one or more char literals to the row.- Parameters:
values- chars to be added- Returns:
thisfor fluent programming
-
add
public ValueTableRow.Builder add(int... values)
Add one or more integer literals to the row.- Parameters:
values- integers to be added- Returns:
thisfor fluent programming
-
add
public ValueTableRow.Builder add(long... values)
Add one or more long literals to the row.- Parameters:
values- longs to be added- Returns:
thisfor fluent programming
-
add
public ValueTableRow.Builder add(double... values)
Add one or more double literals to the row.- Parameters:
values- doubles to be added- Returns:
thisfor fluent programming
-
add
public ValueTableRow.Builder add(float... values)
Add one or more float literals to the row.- Parameters:
values- floats to be added- Returns:
thisfor fluent programming
-
add
public ValueTableRow.Builder add(boolean... values)
Add one or more boolean literals to the row.- Parameters:
values- booleans to be added- Returns:
thisfor fluent programming
-
addPlaceholder
public ValueTableRow.Builder addPlaceholder()
Add anUnnamedPlaceholderto the row.- Returns:
thisfor fluent programming
-
add
public ValueTableRow.Builder add(List<ValueExpression> expressions)
Add a list of expressions to theValueTableRow.- Parameters:
expressions- expressions to be added- Returns:
thisfor fluent programming
-
build
public ValueTableRow build()
Build a newValueTableRow.- Returns:
- new
ValueTableRow
-
-