public class ContextSql
extends java.lang.Object
Constructor and Description |
---|
ContextSql(MTContext context,
java.lang.String sql) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<ContextSql> |
createContexts(java.util.Collection<MTContext> contexts,
java.lang.String sql)
Build multiple ContextSql with the same SQL.
|
MTContext |
getContext() |
java.lang.String |
getSql() |
java.sql.Statement |
getStatement() |
void |
setStatement(java.sql.Statement statement) |
java.lang.String |
toString() |
public ContextSql(MTContext context, java.lang.String sql)
public void setStatement(java.sql.Statement statement)
public MTContext getContext()
public java.lang.String getSql()
public java.sql.Statement getStatement()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.Collection<ContextSql> createContexts(java.util.Collection<MTContext> contexts, java.lang.String sql)
contexts
- sql
-