public interface OQLQueryFactory extends QueryFactory
| Modifier and Type | Method and Description |
|---|---|
void |
createIndexes() |
void |
createRegions()
Creates the regions used by the query object type.
|
Map |
fillAndExecutePreparedInsertObjects(List pobjs,
int i)
inserts objects into region
|
Object |
fillAndExecutePreparedQueryStatement(com.gemstone.gemfire.cache.query.Query query,
int queryType,
int id)
given the prepared query object, will determine how best to fill parameters, based on the queryType
|
List |
getPreparedInsertObjects() |
void |
readResultSet(int queryType,
Object resultSet)
Reads the OQL results from the result object
|
getDeleteQueryType, getPreparedQuery, getQuery, getQueryType, getUpdateQueryType, initvoid createRegions()
List getPreparedInsertObjects()
Map fillAndExecutePreparedInsertObjects(List pobjs, int i) throws QueryObjectException
pobjs - A list of objects for insertion. The implementing class needs to know what to do with this listi - the index of the object insertedQueryObjectExceptionObject fillAndExecutePreparedQueryStatement(com.gemstone.gemfire.cache.query.Query query, int queryType, int id) throws com.gemstone.gemfire.cache.query.NameResolutionException, com.gemstone.gemfire.cache.query.TypeMismatchException, com.gemstone.gemfire.cache.query.FunctionDomainException, com.gemstone.gemfire.cache.query.QueryInvocationTargetException
query - queryType - id - com.gemstone.gemfire.cache.query.NameResolutionExceptioncom.gemstone.gemfire.cache.query.TypeMismatchExceptioncom.gemstone.gemfire.cache.query.FunctionDomainExceptioncom.gemstone.gemfire.cache.query.QueryInvocationTargetExceptionvoid readResultSet(int queryType,
Object resultSet)
resultSet - void createIndexes()
throws com.gemstone.gemfire.cache.query.NameResolutionException,
com.gemstone.gemfire.cache.query.RegionNotFoundException,
com.gemstone.gemfire.cache.query.IndexExistsException,
com.gemstone.gemfire.cache.query.IndexNameConflictException
com.gemstone.gemfire.cache.query.NameResolutionExceptioncom.gemstone.gemfire.cache.query.RegionNotFoundExceptioncom.gemstone.gemfire.cache.query.IndexExistsExceptioncom.gemstone.gemfire.cache.query.IndexNameConflictExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.