public class TablesDiscrepanciesCalculator extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
analyzedTable |
String |
destinationCriteria |
protected org.hibernate.SessionFactory |
destinationdbConnection |
String |
destinationSelectedColumns |
protected String |
LogFile |
String |
referenceCriteria |
protected org.hibernate.SessionFactory |
referencedbConnection |
String |
referenceSelectedColumns |
String |
referenceTable |
static String |
selectElementsQuery |
| Constructor and Description |
|---|
TablesDiscrepanciesCalculator(AlgorithmConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
countElements(String tablename,
org.hibernate.SessionFactory session) |
double |
isNumber(String element) |
static void |
main(String[] args) |
boolean |
runTest() |
List<Object> |
takeChunkOfElements(String tablename,
String selectedColumns,
String criteria,
int limit,
int offset,
org.hibernate.SessionFactory session) |
protected String LogFile
public String referenceTable
public String analyzedTable
public String referenceCriteria
public String destinationCriteria
public String referenceSelectedColumns
public String destinationSelectedColumns
public static String selectElementsQuery
protected org.hibernate.SessionFactory referencedbConnection
protected org.hibernate.SessionFactory destinationdbConnection
public TablesDiscrepanciesCalculator(AlgorithmConfiguration config) throws Exception
Exceptionpublic BigInteger countElements(String tablename, org.hibernate.SessionFactory session)
public List<Object> takeChunkOfElements(String tablename, String selectedColumns, String criteria, int limit, int offset, org.hibernate.SessionFactory session)
public double isNumber(String element)
public boolean runTest()
Copyright © 2016. All Rights Reserved.