Class TableExtractDataReaderSource
java.lang.Object
org.jumpmind.symmetric.io.data.reader.TableExtractDataReaderSource
- All Implemented Interfaces:
IExtractDataReaderSource
Convert a source table's rows to
CsvData-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Batchprotected ISqlReadCursor<CsvData>protected IDatabasePlatformprotected booleanprotected Tableprotected String -
Constructor Summary
ConstructorsConstructorDescriptionTableExtractDataReaderSource(IDatabasePlatform platform, String catalogName, String schemaName, String tableName, String whereClause, boolean streamLobs, String sourceNodeId, String targetNodeId) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidgetBatch()Return the table with the catalog, schema, and table name of the source table for the lastCsvDataretrieved byIExtractDataReaderSource.next()Return the table with the catalog, schema, and table name of the target table for the lastCsvDataretrieved byIExtractDataReaderSource.next()next()booleanprotected voidprotected String[]toStringData(Row row, Column[] columns)
-
Field Details
-
platform
-
whereClause
-
batch
-
table
-
cursor
-
streamLobs
protected boolean streamLobs
-
-
Constructor Details
-
TableExtractDataReaderSource
-
-
Method Details
-
getBatch
- Specified by:
getBatchin interfaceIExtractDataReaderSource
-
getTargetTable
Description copied from interface:IExtractDataReaderSourceReturn the table with the catalog, schema, and table name of the target table for the lastCsvDataretrieved byIExtractDataReaderSource.next()- Specified by:
getTargetTablein interfaceIExtractDataReaderSource
-
getSourceTable
Description copied from interface:IExtractDataReaderSourceReturn the table with the catalog, schema, and table name of the source table for the lastCsvDataretrieved byIExtractDataReaderSource.next()- Specified by:
getSourceTablein interfaceIExtractDataReaderSource
-
next
- Specified by:
nextin interfaceIExtractDataReaderSource
-
startNewCursor
protected void startNewCursor() -
toStringData
-
requiresLobsSelectedFromSource
- Specified by:
requiresLobsSelectedFromSourcein interfaceIExtractDataReaderSource
-
close
public void close()- Specified by:
closein interfaceIExtractDataReaderSource
-
closeCursor
protected void closeCursor()
-