org.ow2.clif.analyze.lib.oda
Class ClifDataQuery
java.lang.Object
org.ow2.clif.analyze.lib.oda.ClifDataQuery
public class ClifDataQuery
- extends java.lang.Object
Flat file data provider's implementation of the ODA IQuery interface. It
supports single result set and no input parameters.
Constructor Summary |
ClifDataQuery(java.util.Properties connProperties,
IConnection host,
java.lang.String testName)
Constructor |
Method Summary |
void |
clearInParameters()
|
void |
close()
|
IResultSet |
executeQuery()
|
int |
findInParameter(java.lang.String parameterName)
|
int |
getMaxRows()
|
IResultSetMetaData |
getMetaData()
|
IParameterMetaData |
getParameterMetaData()
|
SortSpec |
getSortSpec()
|
void |
prepare(java.lang.String queryText)
|
void |
setAppContext(java.lang.Object context)
|
void |
setBigDecimal(int parameterId,
java.math.BigDecimal value)
|
void |
setBigDecimal(java.lang.String parameterName,
java.math.BigDecimal value)
|
void |
setBoolean(int parameterId,
boolean value)
|
void |
setBoolean(java.lang.String parameterName,
boolean value)
|
void |
setDate(int parameterId,
java.sql.Date value)
|
void |
setDate(java.lang.String parameterName,
java.sql.Date value)
|
void |
setDouble(int parameterId,
double value)
|
void |
setDouble(java.lang.String parameterName,
double value)
|
void |
setInt(int parameterId,
int value)
|
void |
setInt(java.lang.String parameterName,
int value)
|
void |
setMaxRows(int max)
|
void |
setNull(int parameterId)
|
void |
setNull(java.lang.String parameterName)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
|
void |
setSortSpec(SortSpec sortBy)
|
void |
setString(int parameterId,
java.lang.String value)
|
void |
setString(java.lang.String parameterName,
java.lang.String value)
|
void |
setTime(int parameterId,
java.sql.Time value)
|
void |
setTime(java.lang.String parameterName,
java.sql.Time value)
|
void |
setTimestamp(int parameterId,
java.sql.Timestamp value)
|
void |
setTimestamp(java.lang.String parameterName,
java.sql.Timestamp value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MAX_ROWS
public static final int DEFAULT_MAX_ROWS
- The Constant DEFAULT_MAX_ROWS.
- See Also:
- Constant Field Values
ClifDataQuery
public ClifDataQuery(java.util.Properties connProperties,
IConnection host,
java.lang.String testName)
throws OdaException
- Constructor
- Parameters:
connProperties
- host
- testName
-
- Throws:
OdaException
prepare
public void prepare(java.lang.String queryText)
throws OdaException
- Throws:
OdaException
setAppContext
public void setAppContext(java.lang.Object context)
throws OdaException
- Throws:
OdaException
setProperty
public void setProperty(java.lang.String name,
java.lang.String value)
throws OdaException
- Throws:
OdaException
close
public void close()
throws OdaException
- Throws:
OdaException
setMaxRows
public void setMaxRows(int max)
throws OdaException
- Throws:
OdaException
getMaxRows
public int getMaxRows()
throws OdaException
- Throws:
OdaException
getMetaData
public IResultSetMetaData getMetaData()
throws OdaException
- Throws:
OdaException
executeQuery
public IResultSet executeQuery()
throws OdaException
- Throws:
OdaException
setInt
public void setInt(java.lang.String parameterName,
int value)
throws OdaException
- Throws:
OdaException
setInt
public void setInt(int parameterId,
int value)
throws OdaException
- Throws:
OdaException
setDouble
public void setDouble(java.lang.String parameterName,
double value)
throws OdaException
- Throws:
OdaException
setDouble
public void setDouble(int parameterId,
double value)
throws OdaException
- Throws:
OdaException
setBigDecimal
public void setBigDecimal(java.lang.String parameterName,
java.math.BigDecimal value)
throws OdaException
- Throws:
OdaException
setBigDecimal
public void setBigDecimal(int parameterId,
java.math.BigDecimal value)
throws OdaException
- Throws:
OdaException
setString
public void setString(java.lang.String parameterName,
java.lang.String value)
throws OdaException
- Throws:
OdaException
setString
public void setString(int parameterId,
java.lang.String value)
throws OdaException
- Throws:
OdaException
setDate
public void setDate(java.lang.String parameterName,
java.sql.Date value)
throws OdaException
- Throws:
OdaException
setDate
public void setDate(int parameterId,
java.sql.Date value)
throws OdaException
- Throws:
OdaException
setTime
public void setTime(java.lang.String parameterName,
java.sql.Time value)
throws OdaException
- Throws:
OdaException
setTime
public void setTime(int parameterId,
java.sql.Time value)
throws OdaException
- Throws:
OdaException
setTimestamp
public void setTimestamp(java.lang.String parameterName,
java.sql.Timestamp value)
throws OdaException
- Throws:
OdaException
setTimestamp
public void setTimestamp(int parameterId,
java.sql.Timestamp value)
throws OdaException
- Throws:
OdaException
setBoolean
public void setBoolean(java.lang.String parameterName,
boolean value)
throws OdaException
- Throws:
OdaException
setBoolean
public void setBoolean(int parameterId,
boolean value)
throws OdaException
- Throws:
OdaException
setNull
public void setNull(java.lang.String parameterName)
throws OdaException
- Throws:
OdaException
setNull
public void setNull(int parameterId)
throws OdaException
- Throws:
OdaException
findInParameter
public int findInParameter(java.lang.String parameterName)
throws OdaException
- Throws:
OdaException
getParameterMetaData
public IParameterMetaData getParameterMetaData()
throws OdaException
- Throws:
OdaException
clearInParameters
public void clearInParameters()
throws OdaException
- Throws:
OdaException
setSortSpec
public void setSortSpec(SortSpec sortBy)
throws OdaException
- Throws:
OdaException
getSortSpec
public SortSpec getSortSpec()
throws OdaException
- Throws:
OdaException