jet.api
Class QuerySubQueryInfo
java.lang.Object
jet.api.QuerySubQueryInfo
public class QuerySubQueryInfo
- extends java.lang.Object
|
Method Summary |
void |
add(java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String queryname,
java.lang.String sLogic)
Adds a subquery condition definition of a query. |
java.lang.String[] |
getSubQueryInfo()
Gets all subquery definitions of the query. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuerySubQueryInfo
public QuerySubQueryInfo()
- Constructor. Creates a subquery condition definition of a query.
add
public void add(java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String queryname,
java.lang.String sLogic)
- Adds a subquery condition definition of a query.
- Parameters:
sLogic - Specifies the logic string of the subquery.
The logic describes the relationship between this sentence
and the next condition, such as "AND" and "OR".sExpression1 - Specifies the column mapping name of the subquery.sOperator - Specifies the operator of the subquery.queryname - Specifies the name of query which is used as subquery in this query.
getSubQueryInfo
public java.lang.String[] getSubQueryInfo()
- Gets all subquery definitions of the query.
Each element of the array presents a part of the subquery condition. It present as a loop in the order of
sExpression1 ,sOperator, queryName, and sLogic.
- Returns:
- the String array of the subquery conditions.