public class DataSourceIdsQueryImpl extends Object implements InternalDataSourceIdsQuery
| Constructor and Description |
|---|
DataSourceIdsQueryImpl(ITypeDesc typeDescriptor,
Object[] ids,
IEntryHolder[] templates,
SQLQueryBuilder queryBuilder,
Class<?> dataClass,
IDataConverter<IEntryPacket> converter) |
| Modifier and Type | Method and Description |
|---|---|
DataSourceSQLQuery |
getAsSQLQuery()
Gets the prepared SQL representation of this ids query.
DataSourceQuery.supportsAsSQLQuery() return value should be checked before calling this
method otherwise an UnsupportedOperationException will be thrown if the operation is
not supported. |
DataSourceIdQuery |
getDataSourceIdQuery(int idIndex) |
Object[] |
getIds() |
SpaceTypeDescriptor |
getTypeDescriptor() |
boolean |
supportsAsSQLQuery() |
public DataSourceIdsQueryImpl(ITypeDesc typeDescriptor, Object[] ids, IEntryHolder[] templates, SQLQueryBuilder queryBuilder, Class<?> dataClass, IDataConverter<IEntryPacket> converter)
public SpaceTypeDescriptor getTypeDescriptor()
getTypeDescriptor in interface DataSourceIdsQuerySpaceTypeDescriptor representing the type this query is for.public Object[] getIds()
getIds in interface DataSourceIdsQuerypublic DataSourceIdQuery getDataSourceIdQuery(int idIndex)
getDataSourceIdQuery in interface InternalDataSourceIdsQueryidIndex - The index of the id obtained by calling DataSourceIdsQuery.getIds().DataSourceIdsQuery matching the id denoted by idIndex.public boolean supportsAsSQLQuery()
supportsAsSQLQuery in interface DataSourceIdsQuerypublic DataSourceSQLQuery getAsSQLQuery()
DataSourceIdsQueryDataSourceQuery.supportsAsSQLQuery() return value should be checked before calling this
method otherwise an UnsupportedOperationException will be thrown if the operation is
not supported.getAsSQLQuery in interface DataSourceIdsQueryCopyright © GigaSpaces.