Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.birt.report.engine.extension
Interface IQueryResultSet

All Superinterfaces:
  IBaseResultSet

    public interface IQueryResultSet

extends IBaseResultSet

Field Summary

Fields inherited from interface org.eclipse.birt.report.engine.extension.IBaseResultSet
`CUBE_RESULTSET, QUERY_RESULTSET`

Method Summary
`java.math.BigDecimal` | `getBigDecimal(java.lang.String name)` Returns the value of a bound column as the BigDecimal data type.
`java.sql.Blob` | `getBlob(java.lang.String name)` Returns the value of a bound column as the Blob data type.
`java.lang.Boolean` | `getBoolean(java.lang.String name)` Returns the value of a bound column as the Boolean data type.
`byte[]` | `getBytes(java.lang.String name)` Returns the value of a bound column as the byte[] data type.
`java.util.Date` | `getDate(java.lang.String name)` Returns the value of a bound column as the Date data type.
`java.lang.Double` | `getDouble(java.lang.String name)` Returns the value of a bound column as the Double data type.
`int` | `getEndingGroupLevel()` Returns the 1-based index of the outermost group in which the current row is the first row.
`java.lang.String` | `getGroupId(int groupLevel)`
`java.lang.Integer` | `getInteger(java.lang.String name)` Returns the value of a bound column as the Integer data type.
`IResultIterator` | `getResultIterator()`
`IResultMetaData` | `getResultMetaData()` Returns the metadata of this result set's detail row.
`long` | `getRowIndex()`
`int` | `getStartingGroupLevel()` Returns the 1-based index of the outermost group in which the current row is the last row.
`java.lang.String` | `getString(java.lang.String name)` Returns the value of a bound column as the String data type.
`java.lang.Object` | `getValue(java.lang.String name)` Returns the value of a bound column.
`boolean` | `isBeforeFirst()` Judges if the IResultSet's cursor on before the first row.
`boolean` | `isEmpty()` Judges if the IResultSet is empty or not.
`boolean` | `isFirst()` Judges if the IResultSet is on the first row.
`boolean` | `next()`
`boolean` | `skipTo(long rowIndex)`

Methods inherited from interface org.eclipse.birt.report.engine.extension.IBaseResultSet
`close, evaluate, getID, getParent, getQueryResults, getRawID, getType`

Method Detail

### getResultIterator

    IResultIterator getResultIterator()

### getRowIndex

    long getRowIndex()

### skipTo

    boolean skipTo(long rowIndex)
                   throws BirtException

  Throws:
    `BirtException`

### next

    boolean next()
                 throws BirtException

  Throws:
    `BirtException`

### getGroupId

    java.lang.String getGroupId(int groupLevel)

### getStartingGroupLevel

    int getStartingGroupLevel()
                              throws BirtException

  Returns the 1-based index of the outermost group in which the current row is the last row. For example, if a query contain N groups (group with index 1 being the outermost group, and group with index N being the innermost group), and this function returns a value M, it indicates that the current row is the last row in groups with indexes (M, M+1, ..., N ). -1 represents current row is a detail row. 0 represents the end of whole resultset

  Returns:
    1-based index of the outermost group in which the current row is the first row; (N+1) if the current row is not at the start of any group; 0 if the result set has no groups.
  Throws:
    `BirtException`

### getEndingGroupLevel

    int getEndingGroupLevel()
                            throws BirtException

  Returns the 1-based index of the outermost group in which the current row is the first row. For example, if a query contain N groups (group with index 1 being the outermost group, and group with index N being the innermost group), and this function returns a value M, it indicates that the current row is the first row in groups with indexes (M, M+1, ..., N ).

  Returns:
    1-based index of the outermost group in which the current row is the first row; (N+1) if the current row is not at the start of any group; 0 if the result set has no groups.
  Throws:
    `BirtException`

### getResultMetaData

    IResultMetaData getResultMetaData()
                                      throws BirtException

  Returns the metadata of this result set's detail row.

  Returns:
    The result metadata of a detail row.
  Throws:
    `BirtException`

### getValue

    java.lang.Object getValue(java.lang.String name)
                              throws BirtException

  Returns the value of a bound column. Currently it is only a dummy implementation.

  Parameters:
    `name` - of bound column
  Returns:
    value of bound column
  Throws:
    `BirtException`

### getBoolean

    java.lang.Boolean getBoolean(java.lang.String name)
                                 throws BirtException

  Returns the value of a bound column as the Boolean data type. Currently it is only a dummy implementation.

  Parameters:
    `name` - of bound column
  Returns:
    value of bound column
  Throws:
    `BirtException`

### getInteger

    java.lang.Integer getInteger(java.lang.String name)
                                 throws BirtException

  Returns the value of a bound column as the Integer data type. Currently it is only a dummy implementation.

  Parameters:
    `name` - of bound column
  Returns:
    value of bound column
  Throws:
    `BirtException`

### getDouble

    java.lang.Double getDouble(java.lang.String name)
                               throws BirtException

  Returns the value of a bound column as the Double data type. Currently it is only a dummy implementation.

  Parameters:
    `name` - of bound column
  Returns:
    value of bound column
  Throws:
    `BirtException`

### getString

    java.lang.String getString(java.lang.String name)
                               throws BirtException

  Returns the value of a bound column as the String data type. Currently it is only a dummy implementation.

  Parameters:
    `name` - of bound column
  Returns:
    value of bound column
  Throws:
    `BirtException`

### getBigDecimal

    java.math.BigDecimal getBigDecimal(java.lang.String name)
                                       throws BirtException

  Returns the value of a bound column as the BigDecimal data type. Currently it is only a dummy implementation.

  Parameters:
    `name` - of bound column
  Returns:
    value of bound column
  Throws:
    `BirtException`

### getDate

    java.util.Date getDate(java.lang.String name)
                           throws BirtException

  Returns the value of a bound column as the Date data type. Currently it is only a dummy implementation.

  Parameters:
    `name` - of bound column
  Returns:
    value of bound column
  Throws:
    `BirtException`

### getBlob

    java.sql.Blob getBlob(java.lang.String name)
                          throws BirtException

  Returns the value of a bound column as the Blob data type. Currently it is only a dummy implementation.

  Parameters:
    `name` - of bound column
  Returns:
    value of bound column
  Throws:
    `BirtException`

### getBytes

    byte[] getBytes(java.lang.String name)
                    throws BirtException

  Returns the value of a bound column as the byte[] data type. Currently it is only a dummy implementation.

  Parameters:
    `name` - of bound column
  Returns:
    value of bound column
  Throws:
    `BirtException`

### isEmpty

    boolean isEmpty()
                    throws BirtException

  Judges if the IResultSet is empty or not.

  Returns:
    true if IResultSet is empty. false if it is not empty.
  Throws:
    `BirtException`

### isFirst

    boolean isFirst()
                    throws BirtException

  Judges if the IResultSet is on the first row.

  Returns:
    true if IResultSet is on the first row.
  Throws:
    `BirtException`

### isBeforeFirst

    boolean isBeforeFirst()
                          throws BirtException

  Judges if the IResultSet's cursor on before the first row.

  Returns:
    true if the cursor is before the first row.
  Throws:
    `BirtException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Actuate Corp. All rights reserved.