public class ValueWriterNew extends AbstractRepositoryWriter<IStructureRecord,IStructureRecord>
AbstractRepositoryWriter.OP| Modifier and Type | Field and Description |
|---|---|
protected SourceDataset |
dataset |
protected RetieveFeatures |
features
Looks for all
Property, assigned to this structure and retrieves IDs from properties table. |
protected PreparedStatementBatchExecutor |
pnum_batchExecutor |
protected PreparedStatementBatchExecutor |
property_batchExecutor
Prepared statement for writing
Property objects |
protected PreparedStatementBatchExecutor |
pstring_batchExecutor
Prepared statements for writing string and numeric values into property_values table
|
protected UpdateStructurePropertyIDNumber |
qNumber
Prepared statements for writing string and numeric values into property_values table
|
protected CreateProperty |
qProperty |
protected UpdateStructurePropertyIDString |
qString |
protected PreparedStatementBatchExecutor |
tuples_batchExecutor
Tuples
|
exec, operation, queryexec| Constructor and Description |
|---|
ValueWriterNew() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SourceDataset |
getDataset() |
protected void |
prepareBatchProperties(IStructureRecord record,
Connection connection) |
protected void |
prepareBatchValues(IStructureRecord record,
Connection connection) |
protected void |
prepareStatementValues(IStructureRecord record,
Property property) |
protected void |
retrieveProperties(IStructureRecord record) |
void |
setConnection(Connection connection) |
void |
setDataset(SourceDataset dataset) |
IStructureRecord |
write(IStructureRecord recordToStore) |
create, delete, getOperation, open, prepareStatement, process, read, setOperation, transaction, updategetConnection, isCloseConnection, isEnabled, setCloseConnectionaddPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toStringprotected SourceDataset dataset
protected PreparedStatementBatchExecutor tuples_batchExecutor
protected PreparedStatementBatchExecutor property_batchExecutor
Property objectsprotected CreateProperty qProperty
protected PreparedStatementBatchExecutor pstring_batchExecutor
protected PreparedStatementBatchExecutor pnum_batchExecutor
protected UpdateStructurePropertyIDNumber qNumber
protected UpdateStructurePropertyIDString qString
protected RetieveFeatures features
Property, assigned to this structure and retrieves IDs from properties table.public SourceDataset getDataset()
public void setDataset(SourceDataset dataset)
public IStructureRecord write(IStructureRecord recordToStore) throws SQLException, OperationNotSupportedException, net.idea.modbcum.i.exceptions.AmbitException
write in class AbstractRepositoryWriter<IStructureRecord,IStructureRecord>SQLExceptionOperationNotSupportedExceptionnet.idea.modbcum.i.exceptions.AmbitExceptionpublic void close()
throws Exception
close in interface net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord>close in class AbstractRepositoryWriter<IStructureRecord,IStructureRecord>Exceptionprotected void prepareBatchProperties(IStructureRecord record, Connection connection) throws Exception
Exceptionprotected void prepareBatchValues(IStructureRecord record, Connection connection) throws Exception
Exceptionprotected void prepareStatementValues(IStructureRecord record, Property property) throws Exception
Exceptionprotected void retrieveProperties(IStructureRecord record) throws Exception
Exceptionpublic void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection in interface net.idea.modbcum.i.IDBProcessor<IStructureRecord,IStructureRecord>setConnection in class AbstractRepositoryWriter<IStructureRecord,IStructureRecord>net.idea.modbcum.i.exceptions.DbAmbitExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.