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
ConstructorDescriptionCreates a new empty instance ofReadQueryString
.ReadQueryString
(String sql) Creates a new instance ofReadQueryString
with the specified SQL query. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
rife.database.capabilities.Capabilities
getSql()
void
setExcludeUnsupportedCapabilities
(boolean flag) void
Replaces 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 ofReadQueryString
with 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
ReadQueryString
instance. - 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:
getParameters
in interfaceQuery
-
getCapabilities
public rife.database.capabilities.Capabilities getCapabilities()- Specified by:
getCapabilities
in interfaceQuery
-
setExcludeUnsupportedCapabilities
public void setExcludeUnsupportedCapabilities(boolean flag) - Specified by:
setExcludeUnsupportedCapabilities
in interfaceQuery
-