|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SQLFragment
Interface for objects that encapsulate a fragment of SQL. These fragments should contain no validation - all logic to do with the structure and validity of a SQLQuery and its fragments should be contained in the appropriate SQLQueryBuilder. This allows different database/object implementations easier to write, and make the SQLQuery itself more flexible.
The SQLFragment interface includes methods for getting and setting generic properties on a fragment (like DBObject). This is for users of the objects (e.g. SQLQueryBuilder, the Database Modeler etc).
Field Summary | |
---|---|
static java.lang.String |
CONNECTBY
|
static java.lang.String |
FROM
|
static java.lang.String |
GROUPBY
|
static java.lang.String |
HAVING
|
static java.lang.String |
MODEL
|
static java.lang.String |
NOCYCLE
|
static java.lang.String |
ORDERBY
|
static java.lang.String |
ORDERSIBLINGSBY
|
static java.lang.String |
PRIOR
|
static java.lang.String |
SELECT
|
static java.lang.String |
STARTWITH
|
static java.lang.String |
TYPE
|
static java.lang.String |
WHERE
|
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Method Summary | |
---|---|
java.lang.String |
getSQLText()
Return the SQL for this fragment. |
java.lang.Integer |
getStartOffset()
If the position of the fragment of SQL within the overall SQL Statement is known, it will be returned here as an Integer zero based offset. |
Methods inherited from interface oracle.javatools.db.ChildDBObject |
---|
getParent, setParent |
Methods inherited from interface oracle.javatools.db.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, getType, replaceReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, getProperty, setProperties, setProperty |
Field Detail |
---|
static final java.lang.String TYPE
static final java.lang.String SELECT
static final java.lang.String FROM
static final java.lang.String WHERE
static final java.lang.String ORDERBY
static final java.lang.String ORDERSIBLINGSBY
static final java.lang.String GROUPBY
static final java.lang.String HAVING
static final java.lang.String CONNECTBY
static final java.lang.String PRIOR
static final java.lang.String STARTWITH
static final java.lang.String NOCYCLE
static final java.lang.String MODEL
Method Detail |
---|
java.lang.String getSQLText()
java.lang.Integer getStartOffset()
null
.
null
if not known
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |