org.cloudgraph.rdb.service
Class GraphQuery
java.lang.Object
org.cloudgraph.rdb.service.JDBCSupport
org.cloudgraph.rdb.service.GraphQuery
- All Implemented Interfaces:
- org.plasma.sdo.access.QueryDispatcher
public class GraphQuery
- extends JDBCSupport
- implements org.plasma.sdo.access.QueryDispatcher
|
Method Summary |
void |
close()
|
int |
count(org.plasma.query.model.Query query)
Returns a count of the given query. |
org.plasma.sdo.PlasmaDataGraph[] |
find(org.plasma.query.model.Query query,
int requestMax,
Timestamp snapshotDate)
|
org.plasma.sdo.PlasmaDataGraph[] |
find(org.plasma.query.model.Query query,
Timestamp snapshotDate)
|
List<org.plasma.query.model.Variable> |
getVariables(org.plasma.query.model.Where where)
|
| Methods inherited from class org.cloudgraph.rdb.service.JDBCSupport |
createDelete, createInsert, createSelect, createSelect, createSelectForUpdate, createUpdate, execute, executeInsert, executeInsertWithGeneratedKeys, fetch, fetch, fetch, fetchRow, fetchRowMap, getOppositePriKeyProperty, getQualifiedPhysicalName, hasUpdatableProperties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphQuery
public GraphQuery(Connection con)
find
public org.plasma.sdo.PlasmaDataGraph[] find(org.plasma.query.model.Query query,
Timestamp snapshotDate)
- Specified by:
find in interface org.plasma.sdo.access.QueryDispatcher
find
public org.plasma.sdo.PlasmaDataGraph[] find(org.plasma.query.model.Query query,
int requestMax,
Timestamp snapshotDate)
- Specified by:
find in interface org.plasma.sdo.access.QueryDispatcher
count
public int count(org.plasma.query.model.Query query)
- Returns a count of the given query. This does NOT return any results but causes
a "count(*)" to be issued.
- Specified by:
count in interface org.plasma.sdo.access.QueryDispatcher
- Parameters:
query - the Query Object Model (QOM) query
- Returns:
- the query results size
getVariables
public List<org.plasma.query.model.Variable> getVariables(org.plasma.query.model.Where where)
close
public void close()
- Specified by:
close in interface org.plasma.sdo.access.QueryDispatcher
Copyright © 2014. All rights reserved.