Class NoReplacementsPreparedStatementPart
java.lang.Object
org.apache.torque.sql.whereclausebuilder.NoReplacementsPreparedStatementPart
- All Implemented Interfaces:
PreparedStatementPart
A PreparedStatementPart which only contains SQL and no replacements.
- Version:
- $Id: $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the empty list of prepared statement replacements.Returns the SQL of the part as String.
-
Constructor Details
-
NoReplacementsPreparedStatementPart
Constructor.- Parameters:
sql- the contained sql.
-
-
Method Details
-
getSqlAsString
Returns the SQL of the part as String.- Specified by:
getSqlAsStringin interfacePreparedStatementPart- Returns:
- the SQL, not null.
-
getPreparedStatementReplacements
Returns the empty list of prepared statement replacements. The returned list is unmodifiable.- Specified by:
getPreparedStatementReplacementsin interfacePreparedStatementPart- Returns:
- the list of prepared statement replacements, not null.
-