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 forValueTableRow
s
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueTableRow.Builder
add(boolean... values)
Add one or more boolean literals to the row.ValueTableRow.Builder
add(char... values)
Add one or more char literals to the row.ValueTableRow.Builder
add(double... values)
Add one or more double literals to the row.ValueTableRow.Builder
add(float... values)
Add one or more float literals to the row.ValueTableRow.Builder
add(int... values)
Add one or more integer literals to the row.ValueTableRow.Builder
add(long... values)
Add one or more long literals to the row.ValueTableRow.Builder
add(String... values)
Add one or more string literals to the row.ValueTableRow.Builder
add(List<ValueExpression> expressions)
Add a list of expressions to theValueTableRow
.ValueTableRow.Builder
addPlaceholder()
Add anUnnamedPlaceholder
to the row.ValueTableRow
build()
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:
this
for 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:
this
for 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:
this
for 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:
this
for 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:
this
for 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:
this
for 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:
this
for fluent programming
-
addPlaceholder
public ValueTableRow.Builder addPlaceholder()
Add anUnnamedPlaceholder
to the row.- Returns:
this
for fluent programming
-
add
public ValueTableRow.Builder add(List<ValueExpression> expressions)
Add a list of expressions to theValueTableRow
.- Parameters:
expressions
- expressions to be added- Returns:
this
for fluent programming
-
build
public ValueTableRow build()
Build a newValueTableRow
.- Returns:
- new
ValueTableRow
-
-