uk.org.ogsadai.client.databrowser.sql
Class DBJoinParameter
java.lang.Object
|
+--uk.org.ogsadai.client.databrowser.sql.DBJoinParameter
- public class DBJoinParameter
- extends java.lang.Object
Parameter class for the parameters required for a "join" query.
- Version:
- $Revision: 1.4 $
- Author:
- Paul J Graham, EPCC
- See Also:
DBJoin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
- Copyright statement
- See Also:
- Constant Field Values
mQueryA
private DBQuery mQueryA
mQueryB
private DBQuery mQueryB
mCreateTableA
private DBUpdate mCreateTableA
mCreateTableB
private DBUpdate mCreateTableB
mDestroyTableA
private DBUpdate mDestroyTableA
mDestroyTableB
private DBUpdate mDestroyTableB
mDataResourceC
private DBDataResource mDataResourceC
mQueryJoin
private DBQuery mQueryJoin
mSecureComms
private boolean mSecureComms
DBJoinParameter
public DBJoinParameter()
isValid
public boolean isValid()
- Validates the join parameters.
- Returns:
true
if all the parameters are not null
getQueryA
public DBQuery getQueryA()
- Returns:
- The query to run on database A
getQueryB
public DBQuery getQueryB()
- Returns:
- The query to run on database B
getCreateTableA
public DBUpdate getCreateTableA()
- Returns:
- The update to create temp table A
getCreateTableB
public DBUpdate getCreateTableB()
- Returns:
- The update to create temp table B
getDataResourceC
public DBDataResource getDataResourceC()
- Returns:
- data resource representing database C
setQueryA
public void setQueryA(DBQuery query)
- Parameters:
query
- The query to perform on database A
setQueryB
public void setQueryB(DBQuery query)
- Parameters:
query
- The query to perform on database B
setCreateTableA
public void setCreateTableA(DBUpdate update)
- Parameters:
update
- The update to create temp table A
setCreateTableB
public void setCreateTableB(DBUpdate update)
- Parameters:
update
- The update to create temp table B
setDataResourceC
public void setDataResourceC(DBDataResource resource)
- Parameters:
resource
- the data resource for table C
getQueryJoin
public DBQuery getQueryJoin()
- Returns:
- The query to perform on database C (the join query)
setQueryJoin
public void setQueryJoin(DBQuery query)
- Parameters:
query
- The query to perform on database C (the join query)
getDestroyTableA
public DBUpdate getDestroyTableA()
- Returns:
- The update to destroy temp table A
getDestroyTableB
public DBUpdate getDestroyTableB()
- Returns:
- The update to destroy temp table B
setDestroyTableA
public void setDestroyTableA(DBUpdate update)
- Parameters:
update
- The update to destroy temp table A
setDestroyTableB
public void setDestroyTableB(DBUpdate update)
- Parameters:
update
- The update to destroy temp table B