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, wait
validateQuery
public 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 Query
public ResponsePacket executeOnSpace(ISpaceProxy space, Transaction txn) throws SQLException
Query
executeOnSpace
in interface Query
SQLException
public void validateQuery(ISpaceProxy space) throws SQLException
Query
validateQuery
in interface Query
SQLException
public void build() throws SQLException
build
in interface Query
SQLException
public boolean isPrepared()
isPrepared
in interface Query
public void setSecurityInterceptor(SecurityInterceptor securityInterceptor)
setSecurityInterceptor
in interface Query
public boolean isForceUnderTransaction()
Query
isForceUnderTransaction
in interface Query
public boolean containsSubQueries()
Query
containsSubQueries
in interface Query
Copyright © GigaSpaces.