public class Query
extends java.lang.Object
Constructor and Description |
---|
Query(org.w3c.dom.Document XMLObjects)
Constructs a Query from an XML document
|
Query(java.lang.String pTable,
Record pFields,
Conditions pWhere)
Constructs a Query
|
Query(java.lang.String pTable,
Record pFields,
Conditions pWhere,
java.lang.String pOrder)
Constructs a Query
|
Query(java.util.Vector pTables,
Record pFields,
Conditions pWhere,
java.util.Vector<java.lang.String> pOrderList)
Constructs a Query
|
Query(java.util.Vector pTables,
Record pFields,
Conditions pWhere,
java.util.Vector<java.lang.String> pOrderList,
java.util.Vector<java.lang.Boolean> pOrderAsc)
Constructs a Query
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.Boolean> |
getOrderAscList() |
java.util.Vector<java.lang.String> |
getOrderList() |
Record |
getRetrieveFields() |
java.lang.String |
getTable() |
java.util.Vector |
getTables() |
Conditions |
getWhere() |
java.lang.String |
toXML()
Converts the Query in XML so can be reconstructed in remote
|
public Query(java.lang.String pTable, Record pFields, Conditions pWhere)
pTable
- Table to search forpFields
- Fileds to include in the result CursorpWhere
- Conditions of the querypublic Query(java.lang.String pTable, Record pFields, Conditions pWhere, java.lang.String pOrder)
pTable
- Table to search forpFields
- Fileds to include in the result CursorpWhere
- Conditions of the querypOrder
- Order in which return the resultspublic Query(java.util.Vector pTables, Record pFields, Conditions pWhere, java.util.Vector<java.lang.String> pOrderList)
pTables
- Tables to search forpFields
- Fileds to include in the result CursorpWhere
- Conditions of the querypOrderList
- Order in which return the resultspublic Query(java.util.Vector pTables, Record pFields, Conditions pWhere, java.util.Vector<java.lang.String> pOrderList, java.util.Vector<java.lang.Boolean> pOrderAsc)
pTables
- Tables to search forpFields
- Fileds to include in the result CursorpWhere
- Conditions of the querypOrderList
- Order in which return the resultspOrderAsc
- indicates if the order is Ascending (true) or descending (false)public Query(org.w3c.dom.Document XMLObjects) throws PDException
XMLObjects
- XML Document with the queryPDException
- in any errorpublic java.util.Vector getTables()
public Record getRetrieveFields()
public Conditions getWhere()
public java.lang.String getTable()
public java.util.Vector<java.lang.String> getOrderList()
public java.util.Vector<java.lang.Boolean> getOrderAscList()
public java.lang.String toXML() throws PDException
PDException
- in any error