Package rife.database.queries
Class ReadQueryString
java.lang.Object
rife.database.queries.ReadQueryString
An instance of
ReadQueryString can contain any kind of SQL
query for read purposes.
This allows you to use any SQL together with the functionalities
that are provided by DbQueryManager
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new empty instance ofReadQueryString.ReadQueryString(String sql) Creates a new instance ofReadQueryStringwith the specified SQL query. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()rife.database.capabilities.CapabilitiesgetSql()voidsetExcludeUnsupportedCapabilities(boolean flag) voidReplaces the SQL that is executed by this query.Replaces the SQL that is executed by this query.
-
Constructor Details
-
ReadQueryString
public ReadQueryString()Creates a new empty instance ofReadQueryString.- Since:
- 1.0
-
ReadQueryString
Creates a new instance ofReadQueryStringwith the specified SQL query.- Parameters:
sql- The SQL that should be executed by this query- Since:
- 1.0
-
-
Method Details
-
sql
Replaces the SQL that is executed by this query.- Parameters:
sql- The SQL that should be executed by this query- Returns:
- this
ReadQueryStringinstance. - Since:
- 1.0
-
setSql
Replaces the SQL that is executed by this query.- Parameters:
sql- The SQL that should be executed by this query- Since:
- 1.0
-
clear
public void clear() -
getSql
-
getParameters
- Specified by:
getParametersin interfaceQuery
-
getCapabilities
public rife.database.capabilities.Capabilities getCapabilities()- Specified by:
getCapabilitiesin interfaceQuery
-
setExcludeUnsupportedCapabilities
public void setExcludeUnsupportedCapabilities(boolean flag) - Specified by:
setExcludeUnsupportedCapabilitiesin interfaceQuery
-