|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceQuery
Represents a query executed against a SpaceDataSource
implementation.
Method Summary | |
---|---|
com.gigaspaces.datasource.DataSourceSQLQuery |
getAsSQLQuery()
Gets the prepared SQL representation of this query. |
int |
getBatchSize()
The value returned from this method can serve as a hint for the data source implementation which indicates the batch size to be used in SpaceDataSource.getDataIterator(DataSourceQuery) method implementation (if such data source supports batching). |
SpaceDocument |
getTemplateAsDocument()
Gets a SpaceDocument representation of this query. |
Object |
getTemplateAsObject()
Gets an object representation of this query. |
SpaceTypeDescriptor |
getTypeDescriptor()
|
boolean |
supportsAsSQLQuery()
|
boolean |
supportsTemplateAsDocument()
|
boolean |
supportsTemplateAsObject()
|
Method Detail |
---|
com.gigaspaces.datasource.DataSourceSQLQuery getAsSQLQuery()
supportsAsSQLQuery()
return value should be checked before calling this method otherwise an UnsupportedOperationException
will be thrown if the operation is not supported.
Object getTemplateAsObject()
supportsTemplateAsObject()
return value should be checked before calling this method otherwise an UnsupportedOperationException
will be thrown if the operation is not supported.
SpaceDocument getTemplateAsDocument()
SpaceDocument
representation of this query.supportsTemplateAsDocument()
return value should be checked before calling this method otherwise an UnsupportedOperationException
will be thrown if the operation is not supported.
SpaceDocument
representation of this query.boolean supportsAsSQLQuery()
boolean supportsTemplateAsObject()
boolean supportsTemplateAsDocument()
SpaceDocument
representation.SpaceTypeDescriptor getTypeDescriptor()
SpaceTypeDescriptor
representing the type this query is for.int getBatchSize()
SpaceDataSource.getDataIterator(DataSourceQuery)
method implementation (if such data source supports batching).
One should use this value with care since it might return Integer.MAX_VALUE
if the batch operation executed
had a request for unlimited results.
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |