|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.client.SeSqlConstruct
public class SeSqlConstruct
An SQL construct is used any time an application needs to specify tables or constraining where clauses in an SDE application.
Constructor Summary | |
---|---|
SeSqlConstruct()
Constructor for the SqlConstruct object use the set methods to populate it's fields. |
|
SeSqlConstruct(java.lang.String table)
Constructor for the SqlConstruct object |
|
SeSqlConstruct(java.lang.String[] tables,
java.lang.String where)
Creates an SqlConstruct given an array of table names and a where clause. |
|
SeSqlConstruct(java.lang.String table,
java.lang.String where)
Creates an SqlConstruct with one table name and where clause. |
Method Summary | |
---|---|
void |
addTable(java.lang.String table)
Adds a table name to the list of tables. |
java.lang.Object |
clone()
Clones SeSqlConstruct object. |
int |
getNumTables()
Returns the number of Tables in the construct. |
java.lang.String[] |
getTables()
Returns the Tables in the construct. |
java.lang.String |
getWhere()
Returns the where clause in the construct. |
void |
setTables(java.lang.String[] tables)
Sets the Tables array in the construct. |
void |
setWhere(java.lang.String where)
Sets the where clause in the construct. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeSqlConstruct()
public SeSqlConstruct(java.lang.String table)
table
- The name of the FROM tablepublic SeSqlConstruct(java.lang.String table, java.lang.String where)
The where clause must use the SQL syntax supported by the underlying RDBMS; It is not interprted by SDE
table
- The table name to be specifiedwhere
- The where clause
java.lang.NullPointerException
- If table=null or where=nullpublic SeSqlConstruct(java.lang.String[] tables, java.lang.String where)
The where clause must use the SQL syntax supported by the underlying RDBMS; It is not interprted by SDE
tables
- The array of table names to be specifiedwhere
- The where clause
java.lang.NullPointerException
- If table=null or where=nullMethod Detail |
---|
public void addTable(java.lang.String table)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public int getNumTables()
public java.lang.String getWhere()
public void setWhere(java.lang.String where)
public java.lang.String[] getTables()
public void setTables(java.lang.String[] tables)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |