public class DiffTableComparator extends Object
| Modifier and Type | Field and Description |
|---|---|
DiffTableCounterCollector |
counter |
| Constructor and Description |
|---|
DiffTableComparator(String table1Path,
String table2Path,
DiffTableCounterCollector c) |
| Modifier and Type | Method and Description |
|---|---|
static void |
getIdToFieldPathMap(String table,
Map<Integer,org.ojai.FieldPath> idToPathMap,
Map<org.ojai.FieldPath,Integer> pathToIdMap) |
Map<Integer,org.ojai.FieldPath> |
getTable1IdToFieldPathMap() |
Map<org.ojai.FieldPath,Integer> |
getTable1PathToIdPathMap() |
Map<Integer,org.ojai.FieldPath> |
getTable2IdToFieldPathMap() |
Map<org.ojai.FieldPath,Integer> |
getTable2PathToIdPathMap() |
boolean |
processNextRow(com.mapr.db.rowcol.DBDocumentImpl doc1,
DocScanner scan) |
ArrayList<RowDiff> |
processNextRowAndReturnDiff(com.mapr.db.rowcol.DBDocumentImpl doc1,
DocScanner scan2) |
public DiffTableCounterCollector counter
public DiffTableComparator(String table1Path, String table2Path, DiffTableCounterCollector c) throws IOException
IOExceptionpublic static void getIdToFieldPathMap(String table, Map<Integer,org.ojai.FieldPath> idToPathMap, Map<org.ojai.FieldPath,Integer> pathToIdMap) throws IOException
IOExceptionpublic ArrayList<RowDiff> processNextRowAndReturnDiff(com.mapr.db.rowcol.DBDocumentImpl doc1, DocScanner scan2) throws IOException
IOExceptionpublic boolean processNextRow(com.mapr.db.rowcol.DBDocumentImpl doc1,
DocScanner scan)
throws IOException
IOExceptionCopyright © 2016 Mapr Technologies, Inc.. All rights reserved.