org.gjt.rec.jdbc
Class QueryResults.QueryResultImpl

java.lang.Object
  |
  +--org.gjt.rec.jdbc.QueryResults.QueryResultImpl
All Implemented Interfaces:
QueryResult, Serializable
Enclosing class:
QueryResults

public static final class QueryResults.QueryResultImpl
extends Object
implements QueryResult, Serializable

The implementation of QueryResult.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.gjt.rec.jdbc.QueryResult
COPYRIGHT, LICENSE, REVISION
 
Method Summary
 BigDecimal getBigDecimal(String columnName)
          Returns the value of a particular column from this query result as a BigDecimal.
 Boolean getBoolean(String columnName)
          Returns the value of a particular column from this query result as a Boolean.
 Date getDate(String columnName)
          Returns the value of a particular column from this query result as a Date.
 int getInt(String columnName)
          Returns the value of a particular column from this query result as an int.
 Integer getInteger(String columnName)
          Returns the value of a particular column from this query result as a Integer.
 Long getLong(String columnName)
          Returns the value of a particular column from this query result as a Long.
 Object getObject(String columnName)
          Returns the value of a particular column from this query result.
 String getString(String columnName)
          Returns the value of a particular column from this query result as a String.
 Timestamp getTimestamp(String columnName)
          Returns the value of a particular column from this query result as a Timestamp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getObject

public Object getObject(String columnName)
Description copied from interface: QueryResult
Returns the value of a particular column from this query result.

Specified by:
getObject in interface QueryResult
Parameters:
columnName - the name of the column from which to retrieve the value

getString

public String getString(String columnName)
Description copied from interface: QueryResult
Returns the value of a particular column from this query result as a String.

Specified by:
getString in interface QueryResult
Parameters:
columnName - the name of the column from which to retrieve the value

getBoolean

public Boolean getBoolean(String columnName)
Description copied from interface: QueryResult
Returns the value of a particular column from this query result as a Boolean.

Specified by:
getBoolean in interface QueryResult
Parameters:
columnName - the name of the column from which to retrieve the value

getInteger

public Integer getInteger(String columnName)
Description copied from interface: QueryResult
Returns the value of a particular column from this query result as a Integer.

Specified by:
getInteger in interface QueryResult
Parameters:
columnName - the name of the column from which to retrieve the value

getLong

public Long getLong(String columnName)
Description copied from interface: QueryResult
Returns the value of a particular column from this query result as a Long.

Specified by:
getLong in interface QueryResult
Parameters:
columnName - the name of the column from which to retrieve the value

getInt

public int getInt(String columnName)
Description copied from interface: QueryResult
Returns the value of a particular column from this query result as an int.

Specified by:
getInt in interface QueryResult
Parameters:
columnName - the name of the column from which to retrieve the value

getBigDecimal

public BigDecimal getBigDecimal(String columnName)
Description copied from interface: QueryResult
Returns the value of a particular column from this query result as a BigDecimal.

Specified by:
getBigDecimal in interface QueryResult
Parameters:
columnName - the name of the column from which to retrieve the value

getDate

public Date getDate(String columnName)
Description copied from interface: QueryResult
Returns the value of a particular column from this query result as a Date.

Specified by:
getDate in interface QueryResult
Parameters:
columnName - the name of the column from which to retrieve the value

getTimestamp

public Timestamp getTimestamp(String columnName)
Description copied from interface: QueryResult
Returns the value of a particular column from this query result as a Timestamp.

Specified by:
getTimestamp in interface QueryResult
Parameters:
columnName - the name of the column from which to retrieve the value