|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResultMetaData
Describes the metadata of a detail row in an IResultIterator. A detail row is defined based on a query's runtime metadata (as described by its data source driver), merging with static result set hints specified in a data set design. It includes projected columns only, which are all columns returned by a query if no explicit projection is specified. A detail row would also include any computed columns and custom columns specified in a data set design.
Method Summary | |
---|---|
java.lang.String |
getColumnAlias(int index)
Returns the column alias at the specified index. |
int |
getColumnCount()
Returns the number of columns in a detail row of the result set. |
java.lang.String |
getColumnLabel(int index)
Gets the label or display name of the column at the specified index. |
java.lang.String |
getColumnName(int index)
Returns the column name at the specified index. |
java.lang.String |
getColumnNativeTypeName(int index)
Returns the data provider specific data type name of the specified column. |
int |
getColumnType(int index)
Returns the data type of the column at the specified index. |
java.lang.String |
getColumnTypeName(int index)
Returns the Data Engine data type name of the column at the specified index. |
boolean |
isComputedColumn(int index)
Indicates whether the specified projected column is defined as a computed column. |
Method Detail |
---|
int getColumnCount()
java.lang.String getColumnName(int index) throws org.eclipse.birt.core.exception.BirtException
index
- The projected column index.
org.eclipse.birt.core.exception.BirtException
- if given index is invalid.java.lang.String getColumnAlias(int index) throws org.eclipse.birt.core.exception.BirtException
index
- The projected column index.
org.eclipse.birt.core.exception.BirtException
- if given index is invalid.int getColumnType(int index) throws org.eclipse.birt.core.exception.BirtException
index
- The projected column index.
org.eclipse.birt.core.exception.BirtException
- if given index is invalid.java.lang.String getColumnTypeName(int index) throws org.eclipse.birt.core.exception.BirtException
index
- The projected column index.
org.eclipse.birt.core.exception.BirtException
- if given index is invalid.java.lang.String getColumnNativeTypeName(int index) throws org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.core.exception.BirtException
- if given index is invalid.java.lang.String getColumnLabel(int index) throws org.eclipse.birt.core.exception.BirtException
index
- The projected column index.
org.eclipse.birt.core.exception.BirtException
- if given index is invalid.boolean isComputedColumn(int index) throws org.eclipse.birt.core.exception.BirtException
index
- The projected column index.
org.eclipse.birt.core.exception.BirtException
- if given index is invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |