org.openspaces.jpa.openjpa.query
Class SpaceProjectionResultObjectProvider
java.lang.Object
org.openspaces.jpa.openjpa.query.SpaceProjectionResultObjectProvider
- All Implemented Interfaces:
- org.apache.openjpa.lib.rop.ResultObjectProvider, org.apache.openjpa.lib.util.Closeable
public class SpaceProjectionResultObjectProvider
- extends Object
- implements org.apache.openjpa.lib.rop.ResultObjectProvider
A wrapper for holding JPQL projection query result set (aggregation...)
- Since:
- 8.0
- Author:
- idan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceProjectionResultObjectProvider
public SpaceProjectionResultObjectProvider(Object[][] result)
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
- Gets the current result as a Pojo initiated with a state manager.
- 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 © GigaSpaces.