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 Batch
protected ISqlReadCursor<CsvData>
protected IDatabasePlatform
protected boolean
protected Table
protected String
-
Constructor Summary
ConstructorsConstructorDescriptionTableExtractDataReaderSource
(IDatabasePlatform platform, String catalogName, String schemaName, String tableName, String whereClause, boolean streamLobs, String sourceNodeId, String targetNodeId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
getBatch()
Return the table with the catalog, schema, and table name of the source table for the lastCsvData
retrieved byIExtractDataReaderSource.next()
Return the table with the catalog, schema, and table name of the target table for the lastCsvData
retrieved byIExtractDataReaderSource.next()
next()
boolean
protected void
protected 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:
getBatch
in interfaceIExtractDataReaderSource
-
getTargetTable
Description copied from interface:IExtractDataReaderSource
Return the table with the catalog, schema, and table name of the target table for the lastCsvData
retrieved byIExtractDataReaderSource.next()
- Specified by:
getTargetTable
in interfaceIExtractDataReaderSource
-
getSourceTable
Description copied from interface:IExtractDataReaderSource
Return the table with the catalog, schema, and table name of the source table for the lastCsvData
retrieved byIExtractDataReaderSource.next()
- Specified by:
getSourceTable
in interfaceIExtractDataReaderSource
-
next
- Specified by:
next
in interfaceIExtractDataReaderSource
-
startNewCursor
protected void startNewCursor() -
toStringData
-
requiresLobsSelectedFromSource
- Specified by:
requiresLobsSelectedFromSource
in interfaceIExtractDataReaderSource
-
close
public void close()- Specified by:
close
in interfaceIExtractDataReaderSource
-
closeCursor
protected void closeCursor()
-