EspressReport 6.6

quadbase.util
Class SalesForceResultSet

java.lang.Object
  extended by quadbase.util.SalesForceResultSet
All Implemented Interfaces:
IResultSet, IRow, IRSMetaData

public class SalesForceResultSet
extends java.lang.Object
implements IResultSet, IRSMetaData


Constructor Summary
SalesForceResultSet(quadbase.common.util.internal.SalesForceConnection connection, java.lang.String query)
           
SalesForceResultSet(quadbase.common.paramquery.SalesForceQueryFileInfo sfQueryInfo)
           
 
Method Summary
 void close()
          Closes the cursor
 quadbase.chart.ColData[] getColData()
           
 quadbase.chart.ColData[] getColData(boolean doTransposeData, boolean[] transposeCol, quadbase.chart.PreprocInfo procInfo)
           
 int getColumnCount()
          Gets the number of columns in the result set.
 java.lang.String getColumnName(int col)
          Gets the name of a column in the result set.
 int getColumnType(int col)
          Gets the data type of a column in the result set.
 IRSMetaData getMetaData()
          Gets the meta data object
 java.lang.Object getObject(int colNo)
          Returns the data value stored in the specified column of this row.
 java.lang.String getTableName(int col)
           
 boolean next()
          Advances cursor to next row
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SalesForceResultSet

public SalesForceResultSet(quadbase.common.util.internal.SalesForceConnection connection,
                           java.lang.String query)
                    throws java.lang.Exception
Throws:
java.lang.Exception

SalesForceResultSet

public SalesForceResultSet(quadbase.common.paramquery.SalesForceQueryFileInfo sfQueryInfo)
                    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getColData

public quadbase.chart.ColData[] getColData()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getColData

public quadbase.chart.ColData[] getColData(boolean doTransposeData,
                                           boolean[] transposeCol,
                                           quadbase.chart.PreprocInfo procInfo)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

close

public void close()
           throws java.lang.Exception
Description copied from interface: IResultSet
Closes the cursor

Specified by:
close in interface IResultSet
Throws:
java.lang.Exception

getMetaData

public IRSMetaData getMetaData()
                        throws java.lang.Exception
Description copied from interface: IResultSet
Gets the meta data object

Specified by:
getMetaData in interface IResultSet
Throws:
java.lang.Exception

next

public boolean next()
             throws java.lang.Exception
Description copied from interface: IResultSet
Advances cursor to next row

Specified by:
next in interface IResultSet
Throws:
java.lang.Exception

getObject

public java.lang.Object getObject(int colNo)
                           throws java.lang.Exception
Description copied from interface: IRow
Returns the data value stored in the specified column of this row.

Specified by:
getObject in interface IRow
Parameters:
colNo - The column number for the field, beginning with 1.
Returns:
The data value stored in that column field.
Throws:
java.lang.Exception

getColumnCount

public int getColumnCount()
                   throws java.lang.Exception
Description copied from interface: IRSMetaData
Gets the number of columns in the result set.

Specified by:
getColumnCount in interface IRSMetaData
Throws:
java.lang.Exception

getColumnName

public java.lang.String getColumnName(int col)
                               throws java.lang.Exception
Description copied from interface: IRSMetaData
Gets the name of a column in the result set.

Specified by:
getColumnName in interface IRSMetaData
Returns:
col the column name
Throws:
java.lang.Exception

getColumnType

public int getColumnType(int col)
                  throws java.lang.Exception
Description copied from interface: IRSMetaData
Gets the data type of a column in the result set.

Specified by:
getColumnType in interface IRSMetaData
Parameters:
col - the column index (beginning at 1)
Returns:
the column SQL data type (as represented in java.sql.Types).
Throws:
java.lang.Exception

getTableName

public java.lang.String getTableName(int col)
                              throws java.lang.Exception
Specified by:
getTableName in interface IRSMetaData
Throws:
java.lang.Exception

EspressReport 6.6