public class ValueTable extends AbstractFragment
root| Constructor and Description |
|---|
ValueTable(Fragment root)
Create a new
ValueTable |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ValueTableVisitor visitor) |
void |
add(int... values) |
void |
add(String... values)
Adds values to the last row of the value table
|
void |
addPlaceholder() |
ValueTable |
appendRow(String... literals)
Append a value table row consisting of value literals to the value table
|
ValueTable |
appendRow(ValueTableRow row)
Append a
ValueTableRow to the ValueTable |
List<ValueTableRow> |
getRows()
Get a list of all rows in the value table
|
protected boolean |
isEmpty() |
getRootpublic ValueTable(Fragment root)
ValueTableroot - SQL statement this table belongs topublic ValueTable appendRow(String... literals)
literals - literals to be appendedthis for fluent programmingpublic ValueTable appendRow(ValueTableRow row)
ValueTableRow to the ValueTablerow - row to be appendedthis for fluent programmingpublic List<ValueTableRow> getRows()
public void add(String... values)
values - values to be addedpublic void add(int... values)
public void addPlaceholder()
protected boolean isEmpty()
public void accept(ValueTableVisitor visitor)
Copyright © 2018–2019. All rights reserved.