OpenAPI 1.0

com.aquafold.openapi.compare
Interface AQResultComparator


public interface AQResultComparator

This interface provides a means to compare two query results.

An instance of the object that implements the AQResultComparator interface can be instantiated via AQCompareFactory.


Method Summary
 AQResultDifferences compare()
          Performs comparison of query results.
 void setDataSetLeft(AQDataSet dataSet)
          Sets the data set on the left side.
 void setDataSetRight(AQDataSet dataSet)
          Sets the data set on the right side.
 void setPrimaryKeyColumns(String[] names)
          Sets names for the primary key columns.
 void setResultSetLeft(AQResultSet resultSet)
          Sets the result set on the left side.
 void setResultSetRight(AQResultSet resultSet)
          Sets the result set on the right side.
 

Method Detail

setDataSetLeft

void setDataSetLeft(AQDataSet dataSet)
Sets the data set on the left side.

Parameters:
dataSet - the data set on the left side

setDataSetRight

void setDataSetRight(AQDataSet dataSet)
Sets the data set on the right side.

Parameters:
dataSet - the data set on the right side

setResultSetLeft

void setResultSetLeft(AQResultSet resultSet)
                      throws Exception
Sets the result set on the left side.

Parameters:
resultSet - the result set on the left side
Throws:
Exception

setResultSetRight

void setResultSetRight(AQResultSet resultSet)
                       throws Exception
Sets the result set on the right side.

Parameters:
resultSet - the result set on the right side
Throws:
Exception

setPrimaryKeyColumns

void setPrimaryKeyColumns(String[] names)
Sets names for the primary key columns.

Parameters:
names - list of primary key column names

compare

AQResultDifferences compare()
Performs comparison of query results.

Returns:
the result of comparison

OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.