public class SetQueryBandClause extends AbstractSQLClause<SetQueryBandClause>
SetQueryBandClause
provides support for Teradata specific set query_band executions.configuration, context, listeners, useLiterals
Constructor and Description |
---|
SetQueryBandClause(java.sql.Connection connection,
Configuration configuration) |
SetQueryBandClause(java.sql.Connection connection,
SQLTemplates templates) |
SetQueryBandClause(java.util.function.Supplier<java.sql.Connection> connection,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the internal state of the clause
|
long |
execute()
Execute the clause and return the amount of affected rows
|
SetQueryBandClause |
forSession() |
SetQueryBandClause |
forTransaction() |
int |
getBatchCount() |
java.util.List<SQLBindings> |
getSQL()
Get the SQL string and bindings
|
SetQueryBandClause |
set(java.util.Map<java.lang.String,java.lang.String> values) |
SetQueryBandClause |
set(java.lang.String key,
java.lang.String value) |
java.lang.String |
toString() |
addListener, close, close, close, connection, createBindings, createSerializer, endContext, executeBatch, logQuery, onException, reset, setParameters, setUseLiterals, startContext
public SetQueryBandClause(java.sql.Connection connection, SQLTemplates templates)
public SetQueryBandClause(java.sql.Connection connection, Configuration configuration)
public SetQueryBandClause(java.util.function.Supplier<java.sql.Connection> connection, Configuration configuration)
public SetQueryBandClause forSession()
public SetQueryBandClause forTransaction()
public SetQueryBandClause set(java.lang.String key, java.lang.String value)
public SetQueryBandClause set(java.util.Map<java.lang.String,java.lang.String> values)
public void clear()
AbstractSQLClause
clear
in class AbstractSQLClause<SetQueryBandClause>
public long execute()
DMLClause
public java.util.List<SQLBindings> getSQL()
AbstractSQLClause
getSQL
in class AbstractSQLClause<SetQueryBandClause>
public java.lang.String toString()
toString
in class java.lang.Object
public int getBatchCount()
getBatchCount
in class AbstractSQLClause<SetQueryBandClause>
Copyright © 2007–2021 Querydsl. All rights reserved.