public final class ReconResultWriter extends AbstractResultWriter
Usage:
ReconResultWriter rrW = new ReconResultWriter(); // declare, initialize
rrW.init(); // start
rrW.setValue("an attribute", "a value"); // must be found within reconresult schema
rrW.write(dbShortcut); // write out, via psdi.mbo.DBShortcut dbShortcut
| Constructor and Description |
|---|
ReconResultWriter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDataType(java.lang.String tableName,
java.lang.String columnName)
Returns the datatype of the column name present in table.
|
java.lang.String |
getTableName()
Returns the name of the recon result table.
|
java.lang.String |
getUIDColumnname()
Returns the unique identifier of the unique id column.
|
void |
setValue(java.lang.String attributeName,
java.lang.Object attributeValue)
Sets the value for an attribute to be written out to the table.
|
void |
write(DBShortcut dbShortcut)
Writes out the values to the reconresult table.
|
getValue, init, setReconInfopublic java.lang.String getTableName()
getTableName in class AbstractResultWriterpublic java.lang.String getUIDColumnname()
getUIDColumnname in class AbstractResultWriterpublic int getDataType(java.lang.String tableName,
java.lang.String columnName)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionSqlFormat.getDataType(String tableName, String columnName)public void setValue(java.lang.String attributeName,
java.lang.Object attributeValue)
throws MXException,
java.rmi.RemoteException
setValue in interface ResultWritersetValue in class AbstractResultWriterattributeName - -
the name of the attribute.attributeValue - -
the value that goes with the attribute name.MXException - -
throws by the method.java.rmi.RemoteException - -
thrown by the method.public void write(DBShortcut dbShortcut) throws java.rmi.RemoteException, MXException
write in interface ResultWriterwrite in class AbstractResultWriterdbShortcut - -
the db connection provider.java.rmi.RemoteException - -
thrown by the method.MXException - -
thrown by the method.