org.eclipse.birt.data.engine.api
Interface IBaseResultMetaData

All Known Subinterfaces:
IResultMetaData

public interface IBaseResultMetaData


Method Summary
 int getColumnCount()
          Returns the number of columns in a detail row of the result set.
 java.lang.String getColumnName(int index)
          Returns the column name at the specified index.
 int getColumnType(int index)
          Returns the data type of the column at the specified index.
 

Method Detail

getColumnCount

int getColumnCount()
Returns the number of columns in a detail row of the result set.

Returns:
the number of columns in a detail row.

getColumnName

java.lang.String getColumnName(int index)
                               throws org.eclipse.birt.core.exception.BirtException
Returns the column name at the specified index.

Parameters:
index - The projected column index.
Returns:
The name of the specified column.
Throws:
org.eclipse.birt.core.exception.BirtException - if given index is invalid.

getColumnType

int getColumnType(int index)
                  throws org.eclipse.birt.core.exception.BirtException
Returns the data type of the column at the specified index.

Parameters:
index - The projected column index.
Returns:
The data type of the specified column, as an integer defined in org.eclipse.birt.data.engine.api.DataType.
Throws:
org.eclipse.birt.core.exception.BirtException - if given index is invalid.


Copyright © 2008 Actuate Corp. All rights reserved.