|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.jdbc.core.namedparam.ParsedSql
class ParsedSql
Holds information for parsed SQL statements.
| Constructor Summary | |
|---|---|
ParsedSql()
Creates a new instance of the ParsedSql class. |
|
ParsedSql(String sql)
Creates a new instance of the ParsedSql class. |
|
| Method Summary | |
|---|---|
int |
getNamedParameterCount()
Get the count of named parameters in the SQL statement. |
String |
getNewSql()
Get the new (parsed) SQL. |
String[] |
getParameterNames()
Get all of the parameters (bind variables) in the parsed SQL statement. |
String |
getSql()
Get the SQL statement that is being (or is to be) parsed. |
int |
getTotalParameterCount()
Get the total count of all of the parameters in the SQL statement. |
int |
getUnnamedParameterCount()
Gets the count of all of the unnamed parameters in the SQL statement. |
void |
setNamedParameterCount(int namedParameterCount)
Set the count of named parameters in the SQL statement. |
void |
setNewSql(String newSql)
Set the new (parsed) SQL. |
void |
setParameterNames(String[] parameterNames)
Set the parameters (bind variables) in the parsed SQL statement. |
void |
setSql(String sql)
Set the SQL statement that is being (or is to be) parsed. |
void |
setTotalParameterCount(int totalParameterCount)
Set the total count of all of the parameters in the SQL statement. |
void |
setUnnamedParameterCount(int unnamedParameterCount)
Set the count of all of the unnamed parameters in the SQL statement. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParsedSql()
ParsedSql class.
public ParsedSql(String sql)
ParsedSql class.
sql - the SQL statement that is being (or is to be) parsed| Method Detail |
|---|
public void setSql(String sql)
public String getSql()
public void setNewSql(String newSql)
public String getNewSql()
public void setParameterNames(String[] parameterNames)
public String[] getParameterNames()
public void setNamedParameterCount(int namedParameterCount)
public int getNamedParameterCount()
public void setUnnamedParameterCount(int unnamedParameterCount)
public int getUnnamedParameterCount()
public void setTotalParameterCount(int totalParameterCount)
public int getTotalParameterCount()
|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||