public class Join extends Object implements Query, Cloneable, Externalizable
Modifier and Type | Class and Description |
---|---|
static class |
Join.JoinType |
Constructor and Description |
---|
Join() |
Join(String joinType,
Query subQuery,
ExpNode onExpression,
String tableName,
String alias) |
Modifier and Type | Method and Description |
---|---|
ExpNode |
applyOnExpression(ExpNode expNode) |
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
|
String |
getAlias() |
Join.JoinType |
getJoinType() |
ExpNode |
getOnExpression() |
Query |
getSubQuery() |
String |
getTableName() |
boolean |
isForceUnderTransaction()
Gets whether this query is forced to be executed under transaction.
|
boolean |
isPrepared() |
void |
readExternal(ObjectInput in) |
void |
setSecurityInterceptor(SecurityInterceptor securityInterceptor) |
void |
setSession(QuerySession session) |
void |
validateQuery(ISpaceProxy space)
Each query should have its own specific validations.
|
void |
writeExternal(ObjectOutput out) |
public Join.JoinType getJoinType()
public String getTableName()
public String getAlias()
public ExpNode getOnExpression()
public Query getSubQuery()
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 setSession(QuerySession session)
setSession
in interface Query
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
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.