org.objectweb.medor.query.rdb.api
Interface RdbStringQueryLeaf
- Cloneable, QueryLeaf, QueryTree, RdbQueryLeaf
- BasicRdbStringQueryLeaf
public interface RdbStringQueryLeaf
An RdbStringQueryLeaf is an RdbQueryLeaf built from a SQL request provided
as a String.
The Medor optimizer cannot "reason" with an RdbStringQueryLeaf, and namely
cannot collapse several RdbStringQueryLeaves on the same datastore into one.
Such an RdbStringQueryLeaf is thus a "black box".
If RdbQueryLeaves should be collapsed into one for optimisation purposes,
RdbExpQueryLeaves should be used instead.
-
Alexandre Lefebvre
RdbQueryLeaf
, RdbExpQueryLeaf
RdbField | addRdbField(String fieldName, PType type, String nameInQuery) - Adds a Field to the RdbExpQueryLeaf
|
addRdbField
public RdbField addRdbField(String fieldName,
PType type,
String nameInQuery)
Adds a Field to the RdbExpQueryLeaf
fieldName
- is the name of the Field to be added.type
- is the PTyme of the Field to be added.nameInQuery
- is the name of the column in the associated
QualifiedTable.
- the created RdbExpField.