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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateQuerypublic Join.JoinType getJoinType()
public String getTableName()
public String getAlias()
public ExpNode getOnExpression()
public Query getSubQuery()
public ResponsePacket executeOnSpace(ISpaceProxy space, Transaction txn) throws SQLException
QueryexecuteOnSpace in interface QuerySQLExceptionpublic void validateQuery(ISpaceProxy space) throws SQLException
QueryvalidateQuery in interface QuerySQLExceptionpublic void setSession(QuerySession session)
setSession in interface Querypublic 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 Querypublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.