public class SQLQueryToDataSourceSQLQueryAdapter extends Object implements DataSourceSQLQuery
Constructor and Description |
---|
SQLQueryToDataSourceSQLQueryAdapter(SQLQuery<?> sqlQuery) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFromQuery() |
String |
getQuery() |
Object[] |
getQueryParameters() |
String |
getSelectAllQuery() |
String |
getSelectCountQuery() |
int |
hashCode() |
String |
toString() |
public SQLQueryToDataSourceSQLQueryAdapter(SQLQuery<?> sqlQuery)
public String getQuery()
getQuery
in interface DataSourceSQLQuery
public String getFromQuery()
getFromQuery
in interface DataSourceSQLQuery
FROM table name WHERE query expression
public String getSelectAllQuery()
getSelectAllQuery
in interface DataSourceSQLQuery
SELECT * FROM table name WHERE query expression
public String getSelectCountQuery()
getSelectCountQuery
in interface DataSourceSQLQuery
SELECT count(*) FROM table name WHERE query expression
public Object[] getQueryParameters()
getQueryParameters
in interface DataSourceSQLQuery
Copyright © GigaSpaces.