org.apache.openjpa.slice.jdbc
Class UniqueResultObjectProvider
java.lang.Object
org.apache.openjpa.slice.jdbc.UniqueResultObjectProvider
- All Implemented Interfaces:
- org.apache.openjpa.lib.rop.ResultObjectProvider, org.apache.openjpa.lib.util.Closeable
public class UniqueResultObjectProvider
- extends Object
- implements org.apache.openjpa.lib.rop.ResultObjectProvider
Aggregates individual single query results from different databases.
- Author:
- Pinaki Poddar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqueResultObjectProvider
public UniqueResultObjectProvider(org.apache.openjpa.lib.rop.ResultObjectProvider[] rops,
StoreQuery q,
QueryExpressions[] exps)
absolute
public boolean absolute(int pos)
throws Exception
- Specified by:
absolute
in interface org.apache.openjpa.lib.rop.ResultObjectProvider
- Throws:
Exception
close
public void close()
throws Exception
- Specified by:
close
in interface org.apache.openjpa.lib.rop.ResultObjectProvider
- Specified by:
close
in interface org.apache.openjpa.lib.util.Closeable
- Throws:
Exception
getResultObject
public Object getResultObject()
throws Exception
- Specified by:
getResultObject
in interface org.apache.openjpa.lib.rop.ResultObjectProvider
- Throws:
Exception
handleCheckedException
public void handleCheckedException(Exception e)
- Specified by:
handleCheckedException
in interface org.apache.openjpa.lib.rop.ResultObjectProvider
next
public boolean next()
throws Exception
- Specified by:
next
in interface org.apache.openjpa.lib.rop.ResultObjectProvider
- Throws:
Exception
open
public void open()
throws Exception
- Specified by:
open
in interface org.apache.openjpa.lib.rop.ResultObjectProvider
- Throws:
Exception
reset
public void reset()
throws Exception
- Specified by:
reset
in interface org.apache.openjpa.lib.rop.ResultObjectProvider
- Throws:
Exception
size
public int size()
throws Exception
- Specified by:
size
in interface org.apache.openjpa.lib.rop.ResultObjectProvider
- Throws:
Exception
supportsRandomAccess
public boolean supportsRandomAccess()
- Specified by:
supportsRandomAccess
in interface org.apache.openjpa.lib.rop.ResultObjectProvider
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.