|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.sql.SQLClause
|
+--com.jdc.rdb.sql.dml.DMLClause
|
+--com.jdc.rdb.sql.dml.clause.From
From represents a Select or
Delete SQL statement
FROM clause. The FROM clause identifies the object of
a Select or Delete operation. The name must identify
a Table or a View.
Delete statement, the name must not identify a
read-only view.
Select,
Delete,
Serialized Form| Field Summary |
| Fields inherited from class com.jdc.rdb.sql.dml.DMLClause |
sqlClause |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
From()
Constructs a new From clause object. |
|
From(String name)
Constructs a new From clause object for the specified
Database Table or View
name. |
|
| Method Summary | |
String |
getKeyword()
Returns the From clause keyword. |
String |
getValue()
Returns the From clause value. |
From |
setName(String name)
Sets the database Table or View name
to Select or Delete
a row from. |
From |
setOnly()
Specifies that SQL the statement should apply only to
data of the specified Table or View. |
String |
toString()
Returns a String representation of this From clause. |
| Methods inherited from class com.jdc.rdb.sql.dml.DMLClause |
getKeyword |
| Methods inherited from class com.jdc.rdb.sql.SQLClause |
contains, setKeyword, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public From()
From clause object.
public From(String name)
From clause object for the specified
Database Table or View
name.
SQLInvalidException - No FROM clause table or view name is specified.setName(String)| Method Detail |
public String getKeyword()
From clause keyword.
getKeyword in class SQLClauseFrom clause keyword.public String getValue()
From clause value.
getValue in class SQLClauseFrom clause value.public From setName(String name)
Table or View name
to Select or Delete
a row from.
From clause object.
SQLInvalidException - No table or view name is specified.public From setOnly()
SQL the statement should apply only to
data of the specified Table or View.
Rows of proper subtables will not be deleted by the statement.
Delete statements only.
From clause object.public String toString()
String representation of this From clause.
toString in interface SelectClausetoString in class SQLClauseString representation of this From clause.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||