Package com.gigaspaces.datasource
Interface DataSourceIdsQuery
- All Known Subinterfaces:
InternalDataSourceIdsQuery
- All Known Implementing Classes:
DataSourceIdsQueryImpl
public interface DataSourceIdsQuery
Represents a query by IDs executed against a
SpaceDataSource implementation.- Since:
- 9.5
- Author:
- Dan Kilman
-
Method Summary
Modifier and TypeMethodDescriptionGets the prepared SQL representation of this ids query.
DataSourceQuery.supportsAsSQLQuery()return value should be checked before calling this method otherwise anUnsupportedOperationExceptionwill be thrown if the operation is not supported.Object[]getIds()boolean
-
Method Details
-
getTypeDescriptor
SpaceTypeDescriptor getTypeDescriptor()- Returns:
- The
SpaceTypeDescriptorrepresenting the type this query is for.
-
getIds
Object[] getIds()- Returns:
- The IDs of the entries to get.
-
supportsAsSQLQuery
boolean supportsAsSQLQuery()- Returns:
- Whether this query has an SQL query representation.
-
getAsSQLQuery
DataSourceSQLQuery getAsSQLQuery()Gets the prepared SQL representation of this ids query.
DataSourceQuery.supportsAsSQLQuery()return value should be checked before calling this method otherwise anUnsupportedOperationExceptionwill be thrown if the operation is not supported.- Returns:
- Prepared SQL representation this query.
-