Package rasj.odmg

Class RasOQLQuery

  • All Implemented Interfaces:
    OQLQuery, RasCommDefs

    public class RasOQLQuery
    extends java.lang.Object
    implements OQLQuery, RasCommDefs
    This class implements the ODMG OQLQuery interface.
    Author:
    Peter Zoller
    • Method Detail

      • execute

        public java.lang.Object execute()
                                 throws QueryException
        Execute the OQL query.
        Specified by:
        execute in interface OQLQuery
        Returns:
        The object that represents the result of the query. The returned data, whatever its OQL type, is encapsulated into an object. For instance, when OQL returns an integer, the result is put into an Integer object. When OQL returns a collection (literal or object), the result is always a Java collection object of the same kind (for instance, a DList).
        Throws:
        QueryException - An exception has occurred while executing the query.