public class ListStatementsWriter extends AbstractStatementsWriter
StatementsWriter
, which just stores all generated statements into a list.AbstractStatementsWriter.AbstractTableStatement, AbstractStatementsWriter.InsertStatement, AbstractStatementsWriter.PlainStatement, AbstractStatementsWriter.UpdateStatement
Modifier and Type | Field and Description |
---|---|
private List<String> |
statements |
Constructor and Description |
---|
ListStatementsWriter() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getStatements() |
void |
writeStatement(EntityStatement statement)
Writes the given statement to a file or database.
|
close, createInsertStatement, createPlainStatement, createUpdateStatement, flush, writeComment, writeSectionSeparator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
truncateTables, writePlainStatement
public void writeStatement(EntityStatement statement)
StatementsWriter
statement
- contains the values to write@Generated(value="lombok") public List<String> getStatements()
Copyright © 2022 fastnate.org. All rights reserved.