Package com.gigaspaces.datasource
Class SQLQueryToDataSourceSQLQueryAdapter
java.lang.Object
com.gigaspaces.datasource.SQLQueryToDataSourceSQLQueryAdapter
- All Implemented Interfaces:
DataSourceSQLQuery
- Since:
- 9.1.1
- Author:
- eitany
-
Constructor Details
-
SQLQueryToDataSourceSQLQueryAdapter
-
-
Method Details
-
getQuery
- Specified by:
getQueryin interfaceDataSourceSQLQuery- Returns:
- A parameterized SQL query string representation of the query ("WHERE" part only).
-
getFromQuery
- Specified by:
getFromQueryin interfaceDataSourceSQLQuery- Returns:
- A parameterized SQL query string representation of the query in the form of:
FROM table name WHERE query expression
-
getSelectAllQuery
- Specified by:
getSelectAllQueryin interfaceDataSourceSQLQuery- Returns:
- A parameterized SQL query string representation of the query in the form of:
SELECT * FROM table name WHERE query expression
-
getSelectCountQuery
- Specified by:
getSelectCountQueryin interfaceDataSourceSQLQuery- Returns:
- A parameterized SQL query string representation of the query in the form of:
SELECT count(*) FROM table name WHERE query expression
-
getQueryParameters
- Specified by:
getQueryParametersin interfaceDataSourceSQLQuery- Returns:
- The parameters as object array to be used with the query's parameterized string.
-
hashCode
public int hashCode() -
equals
-
toString
-