public final class ExportResult extends Object implements Serializable
ExportResult holds information about the number of GemFire entries
and Greenplum rows that were affected by an export operation.| Constructor and Description |
|---|
ExportResult(int exportedCount,
int insertedCount,
int updatedCount,
int removedCount)
Constructs an
ExportResult. |
| Modifier and Type | Method and Description |
|---|---|
int |
getExportedCount()
Return the number of GemFire entries that were exported from GemFire to Greenplum.
|
int |
getInsertedCount()
Return the number of Greenplum rows that were inserted into the Greenplum table.
|
int |
getRemovedCount()
Return the number of GemFire entries that were removed from the source GemFire region at the end of the export operation.
|
int |
getUpdatedCount()
Return the number of Greenplum rows that were updated in the Greenplum table.
|
public ExportResult(int exportedCount,
int insertedCount,
int updatedCount,
int removedCount)
ExportResult.exportedCount - the number of GemFire entries that were exported from GemFire to GreenpluminsertedCount - the number of Greenplum rows that were inserted into the Greenplum tableupdatedCount - the number of Greenplum rows that were updated in the Greenplum tableremovedCount - the number of GemFire entries that were removed from the source GemFire region at the end of the export operationpublic int getExportedCount()
ExportType.INSERT_ALL, the exported count will equal the inserted count.
For ExportType.INSERT_MISSING, the exported count will be greater than or equal to the inserted count; the updated count will be zero.
For ExportType.UPDATE, the exported count will be greater than or equal to the updated count; the inserted count will be zero.
For ExportType.UPSERT, the exported count will equal the sum of the inserted count and the updated count.public int getInsertedCount()
public int getRemovedCount()
public int getUpdatedCount()
Copyright © 2014–2023 Pivotal Software, Inc.. All rights reserved.