org.apache.openjpa.slice.jdbc
Class UniqueResultObjectProvider
java.lang.Object
org.apache.openjpa.slice.jdbc.UniqueResultObjectProvider
- All Implemented Interfaces:
- ResultObjectProvider, Closeable
public class UniqueResultObjectProvider
- extends Object
- implements 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(ResultObjectProvider[] rops,
StoreQuery q,
QueryExpressions[] exps)
absolute
public boolean absolute(int pos)
throws Exception
- Specified by:
absolute in interface ResultObjectProvider
- Throws:
Exception
close
public void close()
throws Exception
- Specified by:
close in interface ResultObjectProvider- Specified by:
close in interface Closeable
- Throws:
Exception
getResultObject
public Object getResultObject()
throws Exception
- Specified by:
getResultObject in interface ResultObjectProvider
- Throws:
Exception
handleCheckedException
public void handleCheckedException(Exception e)
- Specified by:
handleCheckedException in interface ResultObjectProvider
next
public boolean next()
throws Exception
- Specified by:
next in interface ResultObjectProvider
- Throws:
Exception
count
Object count(Object current,
Object other)
max
Object max(Object current,
Object other)
min
Object min(Object current,
Object other)
sum
Object sum(Object current,
Object other)
open
public void open()
throws Exception
- Specified by:
open in interface ResultObjectProvider
- Throws:
Exception
reset
public void reset()
throws Exception
- Specified by:
reset in interface ResultObjectProvider
- Throws:
Exception
size
public int size()
throws Exception
- Specified by:
size in interface ResultObjectProvider
- Throws:
Exception
supportsRandomAccess
public boolean supportsRandomAccess()
- Specified by:
supportsRandomAccess in interface ResultObjectProvider
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.