|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.data.MetaData
info.informatica.data.sql.TableMetaData
public class TableMetaData
MetaData involving a database table.
| Constructor Summary | |
|---|---|
TableMetaData(String name)
|
|
TableMetaData(String schemaName,
String name)
|
|
| Method Summary | |
|---|---|
int |
doDelete(Connection con,
Valueset view)
Performs a delete. |
int |
doInsert(Connection con,
Valueset view)
Performs an Insert query. |
ResultSet |
doKeySelect(Connection con,
Valueset view)
Performs a Select query with Keys in Where clause. |
boolean |
doSafeInsert(Connection con,
Valueset view)
Performs a safe Insert query. |
ResultSet |
doSelect(Connection con)
Performs a Select query with no fields in Where clause. |
int |
doUpdate(Connection con,
Valueset view)
Performs an Update query. |
SQLStatement |
getDeleteStmt()
|
SQLStatement |
getInsertStmt()
|
SelectStatement |
getKeySelectStmt()
Gives the Select statement with the key fields in the WHERE part of the statement. |
SelectStatement |
getSelectStatement()
Gives a default Select statement. |
SQLStatement |
getUpdateStmt()
|
| Methods inherited from class info.informatica.data.MetaData |
|---|
addDataEntity, count, fillStatement, fillStatement, findColumn, getData, getDataEntity, getDataEntity, getDataFields, getInsertFieldNames, getKeyNames, getLabel, getLocalLabels, getName, getNames, getSampleDataset, getSchemaName, getUpdateFieldNames, rename, replace, setLocalLabels, toCreateTableString, toString, validate, validate, validate, validate, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TableMetaData(String name)
public TableMetaData(String schemaName,
String name)
| Method Detail |
|---|
public SelectStatement getSelectStatement()
public SelectStatement getKeySelectStmt()
throws DataException
DataException
public SQLStatement getDeleteStmt()
throws DataException
DataExceptionpublic SQLStatement getInsertStmt()
public SQLStatement getUpdateStmt()
public int doDelete(Connection con,
Valueset view)
throws SQLException,
DataException
i of the Statement is filled
with the value of the i field of the form.
con - the connectionview - the dataview
SQLException
DataException
public ResultSet doSelect(Connection con)
throws SQLException,
DataException
i of the Statement is filled with the value of the
i field of the form.
con - the connection
SQLException
DataException
public ResultSet doKeySelect(Connection con,
Valueset view)
throws SQLException,
DataException
i of the Statement is filled with the value of the
i field of the form.
con - the connectionview - the dataview
SQLException
DataException
public boolean doSafeInsert(Connection con,
Valueset view)
throws SQLException,
DataException
i of the Statement
is filled with the value of the i field of the form.
con - the connectionview - the dataview
SQLException
DataException
public int doInsert(Connection con,
Valueset view)
throws SQLException,
DataException
i of the Statement is
filled with the value of the i field of the dataview.
Be sure to validate the fields first.
con - the connectionview - the dataview
SQLException
DataException
public int doUpdate(Connection con,
Valueset view)
throws SQLException,
DataException
i of the Statement is
filled with the value of the i field of the dataview.
con - the connectionview - the dataview
SQLException
DataException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||