| Constructor and Description |
|---|
CommitQuery(boolean isCommit) |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
boolean |
containsSubQueries()
Gets whether this query contains sub queries.
|
ResponsePacket |
executeOnSpace(ISpaceProxy space,
Transaction txn)
Will execute this query on the space and return a ResponsePacket
|
QuerySession |
getSession() |
boolean |
isCommit() |
boolean |
isForceUnderTransaction()
Gets whether this query is forced to be executed under transaction.
|
boolean |
isPrepared() |
boolean |
isRollback() |
void |
setSecurityInterceptor(SecurityInterceptor securityInterceptor) |
void |
setSession(QuerySession session) |
void |
validateQuery(ISpaceProxy space)
Each query should have its own specific validations.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateQuerypublic CommitQuery(boolean isCommit)
isCommit - - true for COMMIT, false for ROLLBACKpublic boolean isCommit()
public boolean isRollback()
public QuerySession getSession()
public void setSession(QuerySession session)
setSession in interface Querypublic ResponsePacket executeOnSpace(ISpaceProxy space, Transaction txn) throws SQLException
QueryexecuteOnSpace in interface QuerySQLExceptionpublic void validateQuery(ISpaceProxy space) throws SQLException
QueryvalidateQuery in interface QuerySQLExceptionpublic void build()
throws SQLException
build in interface QuerySQLExceptionpublic boolean isPrepared()
isPrepared in interface Querypublic void setSecurityInterceptor(SecurityInterceptor securityInterceptor)
setSecurityInterceptor in interface Querypublic boolean isForceUnderTransaction()
QueryisForceUnderTransaction in interface Querypublic boolean containsSubQueries()
QuerycontainsSubQueries in interface QueryCopyright © GigaSpaces.