org.teiid.test.client
Class QuerySQL

java.lang.Object
  extended by org.teiid.test.client.QuerySQL

public class QuerySQL
extends Object

The QuerySQL represents a single sql statement to be executed for a given Test. The rowCnt and updateCnt, when set, provide validation checks after the execution of the query.

Author:
vanhalbert

Constructor Summary
QuerySQL(String sql, Object[] parms)
           
 
Method Summary
 Object[] getParms()
           
 int getRowCnt()
           
 String getSql()
           
 int getUpdateCnt()
           
 void setRowCnt(int rowCnt)
           
 void setUpdateCnt(int updateCnt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuerySQL

public QuerySQL(String sql,
                Object[] parms)
Method Detail

getRowCnt

public int getRowCnt()

setRowCnt

public void setRowCnt(int rowCnt)

getUpdateCnt

public int getUpdateCnt()

setUpdateCnt

public void setUpdateCnt(int updateCnt)

getSql

public String getSql()

getParms

public Object[] getParms()


Copyright © 2011. All Rights Reserved.