public class DataMappingEditor extends Object
Modifier and Type | Field and Description |
---|---|
static int |
COLUMN_STATS_READER_THREADS |
static int |
MAX_WAIT_TIME |
static int |
MIN_DATA_SIZE |
static int |
PAGE_SIZE |
Constructor and Description |
---|
DataMappingEditor(DataReaderFactory source) |
Modifier and Type | Method and Description |
---|---|
DataMappingEditor |
applyDataMapping()
Re-applies an existing DataMapping on the source dataset along with the existing sorting and page number.
|
DataMappingEditor |
applyDataMapping(DataMapping dataMapping)
Applies a new DataMapping on the source dataset along with the existing sorting and page number.
|
DataMappingEditor |
applyPagination()
Re-applies the existing sorting and page number to the existing mapped data from the source dataset.
|
DataMappingEditor |
applyPagination(int pageNumber)
Applies a new sorting and page number to the existing mapped data from the source dataset.
|
DataMappingEditor |
close() |
DataMapping |
getDataMapping() |
Dataset |
getDatasetAfterDataMapping()
Returns the dataset containing the mapped data that hasn't been sorted.
|
RecordList |
getFailedRecords()
Returns the records which failed mapping along with the failure details in a sess\ion property (limited to
#getMaxSavedFailedRecords() records). |
int |
getMaxPagedRecordCount() |
int |
getPageNumber() |
DataReaderFactory |
getSource() |
RecordList |
getTarget()
Returns all of the mapped and sorted data.
|
RecordList |
getTargetPage() |
long |
getTotalFailedRecordCount()
Returns total failed record count during mapping.
|
public static final int COLUMN_STATS_READER_THREADS
public static final int PAGE_SIZE
public static final int MIN_DATA_SIZE
public static final int MAX_WAIT_TIME
public DataMappingEditor(DataReaderFactory source)
public DataMappingEditor close()
public DataMappingEditor applyDataMapping(DataMapping dataMapping)
public DataMappingEditor applyDataMapping()
public DataMappingEditor applyPagination(int pageNumber)
public DataMappingEditor applyPagination()
public DataReaderFactory getSource()
public Dataset getDatasetAfterDataMapping()
RecordList
-- see getTarget()
.public DataMapping getDataMapping()
public int getPageNumber()
public int getMaxPagedRecordCount()
public RecordList getTarget()
public RecordList getFailedRecords()
#getMaxSavedFailedRecords()
records). The session property key is #DATA_MAPPING_RESULT_SESSION_KEY
and the type is DataMappingResult
.public long getTotalFailedRecordCount()
public RecordList getTargetPage()
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.