Class SqlCollector
java.lang.Object
ch.nolix.base.sql.sqltool.SqlCollector
- All Implemented Interfaces:
ISqlCollector, Clearable, EmptinessRequestable
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSqlStatement(String sqlstatement) addSqlStatements(Iterable<String> sqlStatements) addSqlStatements(String... sqlStatements) voidclear()Removes the elements of the currentClearable.voidexecuteAndClearUsingConnection(ISqlConnection sqlConnection) booleanisEmpty()Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EmptinessRequestable
containsAny
-
Constructor Details
-
SqlCollector
public SqlCollector()
-
-
Method Details
-
addSqlStatement
- Specified by:
addSqlStatementin interfaceISqlCollector
-
addSqlStatements
- Specified by:
addSqlStatementsin interfaceISqlCollector
-
addSqlStatements
- Specified by:
addSqlStatementsin interfaceISqlCollector
-
clear
-
executeAndClearUsingConnection
- Specified by:
executeAndClearUsingConnectionin interfaceISqlCollector
-
getSqlStatements
- Specified by:
getSqlStatementsin interfaceISqlCollector
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceEmptinessRequestable- Returns:
- true if
EmptinessRequestabledoes not contain an element, false otherwise.
-