Package com.gigaspaces.datasource
Interface DataSourceSQLQuery
- All Known Implementing Classes:
SQLQueryToDataSourceSQLQueryAdapter
public interface DataSourceSQLQuery
Represents a parameterized SQL query of a
DataSourceQuery instance.- Since:
- 9.1.1
- Author:
- eitany, Idan Moyal
-
Method Details
-
getQuery
String getQuery()- Returns:
- A parameterized SQL query string representation of the query ("WHERE" part only).
-
getFromQuery
String getFromQuery()- Returns:
- A parameterized SQL query string representation of the query in the form of:
FROM table name WHERE query expression
-
getSelectAllQuery
String getSelectAllQuery()- Returns:
- A parameterized SQL query string representation of the query in the form of:
SELECT * FROM table name WHERE query expression
-
getSelectCountQuery
String getSelectCountQuery()- Returns:
- A parameterized SQL query string representation of the query in the form of:
SELECT count(*) FROM table name WHERE query expression
-
getQueryParameters
Object[] getQueryParameters()- Returns:
- The parameters as object array to be used with the query's parameterized string.
-