public class AlterTableQuery extends Object implements Query
Constructor and Description |
---|
AlterTableQuery() |
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
|
SecurityInterceptor |
getSecurityInterceptor() |
QuerySession |
getSession() |
boolean |
isForceUnderTransaction()
Gets whether this query is forced to be executed under transaction.
|
boolean |
isPrepared() |
void |
setIndices(String[] indices) |
void |
setSecurityInterceptor(SecurityInterceptor securityInterceptor) |
void |
setSession(QuerySession session) |
void |
setTableName(String table) |
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 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 setTableName(String table)
public void setSession(QuerySession session)
setSession
in interface Query
public QuerySession getSession()
public void setIndices(String[] indices)
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 SecurityInterceptor getSecurityInterceptor()
public boolean isForceUnderTransaction()
Query
isForceUnderTransaction
in interface Query
public boolean containsSubQueries()
Query
containsSubQueries
in interface Query
Copyright © GigaSpaces.