| |
|
| java.lang.Object org.jpox.store.query.JPOXResultSetMetaData
JPOXResultSetMetaData | public class JPOXResultSetMetaData implements Serializable(Code) | | Metadata of JPOX query results.
Can be for JDOQL, JPQL, or some other language in principle.
version: $Revision: 1.3 $ |
Method Summary | |
public int | getExpressionCount() | public Class | getExpressionType(int exprIndex) Returns the Java class of the expression referenced by the given index that
is returned by the associated query.
Parameters: exprIndex - The 0-based index of the expression the type should be returned for. |
types | final Class[] types(Code) | | type of all expressions in the result *
|
JPOXResultSetMetaData | public JPOXResultSetMetaData(Class[] types)(Code) | | Constructor
Parameters: types - type of all expressions in the result |
getExpressionCount | public int getExpressionCount()(Code) | | The number of expressions in the result
The number of expressions returned by the associated query. |
getExpressionType | public Class getExpressionType(int exprIndex)(Code) | | Returns the Java class of the expression referenced by the given index that
is returned by the associated query.
Parameters: exprIndex - The 0-based index of the expression the type should be returned for. The Java class of the expression with the given index. throws: IndexOutOfBoundsException - if the index is out of range |
|
|
|