Package com.google.refine.model.changes
Class DataExtensionChange
java.lang.Object
com.google.refine.model.changes.DataExtensionChange
- All Implemented Interfaces:
Change
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDataExtensionChange(String baseColumnName, String service, String identifierSpace, String schemaSpace, int columnInsertIndex, List<String> columnNames, List<ReconType> columnTypes, List<Integer> rowIndices, List<ReconciledDataExtensionJob.DataExtension> dataExtensions, int firstNewCellIndex, List<Row> oldRows, List<Row> newRows) DataExtensionChange(String baseColumnName, String service, String identifierSpace, String schemaSpace, int columnInsertIndex, List<String> columnNames, List<ReconType> columnTypes, List<Integer> rowIndices, List<ReconciledDataExtensionJob.DataExtension> dataExtensions, long historyEntryID) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidextendRow(Row row, ReconciledDataExtensionJob.DataExtension dataExtension, int extensionRowIndex, Map<String, Recon> reconMap) static Changeload(LineNumberReader reader, Pool pool) voidvoidsave(Writer writer, Properties options)
-
Field Details
-
_baseColumnName
-
_service
-
_identifierSpace
-
_schemaSpace
-
_columnInsertIndex
protected final int _columnInsertIndex -
_columnNames
-
_columnTypes
-
_rowIndices
-
_dataExtensions
-
_historyEntryID
protected long _historyEntryID -
_firstNewCellIndex
protected int _firstNewCellIndex -
_oldRows
-
_newRows
-
-
Constructor Details
-
DataExtensionChange
-
DataExtensionChange
protected DataExtensionChange(String baseColumnName, String service, String identifierSpace, String schemaSpace, int columnInsertIndex, List<String> columnNames, List<ReconType> columnTypes, List<Integer> rowIndices, List<ReconciledDataExtensionJob.DataExtension> dataExtensions, int firstNewCellIndex, List<Row> oldRows, List<Row> newRows)
-
-
Method Details
-
apply
-
extendRow
protected void extendRow(Row row, ReconciledDataExtensionJob.DataExtension dataExtension, int extensionRowIndex, Map<String, Recon> reconMap) -
revert
-
save
- Specified by:
savein interfaceChange- Throws:
IOException
-
load
- Throws:
Exception
-