1 2 12 package com.versant.core.jdo; 13 14 import com.versant.core.server.QueryResultWrapper; 15 import com.versant.core.server.CompiledQuery; 16 import com.versant.core.common.QueryResultContainer; 17 import com.versant.core.common.StatesReturned; 18 19 import javax.jdo.spi.PersistenceCapable; 20 21 29 public interface VersantPMInternal { 30 public QueryResultWrapper executeQuery(CompiledQuery cq, Object [] params); 31 32 public QueryResultContainer getNextQueryResult(QueryResultWrapper aQrs, 33 int skipAmount); 34 35 public void closeQuery(QueryResultWrapper qrw); 36 37 public void flushIfDepOn(int[] bits); 38 39 public void processLocalCacheReferenceQueue(); 40 41 public void addToCache(StatesReturned container); 42 43 public QueryResultContainer getAbsolute(QueryResultWrapper qrsIF, 44 int index, int fetchAmount); 45 46 public int getResultCount(QueryResultWrapper qrsIF); 47 48 public int getQueryRowCount(CompiledQuery cq, Object [] params); 49 50 public QueryResultContainer getAllQueryResults(CompiledQuery cq, 51 Object [] params); 52 53 public void setMasterOnDetail(PersistenceCapable detail, int managedFieldNo, 54 PersistenceCapable master, boolean removeFromCurrentMaster); 55 56 57 public Object getObjectField(PersistenceCapable pc, 58 int fieldNo); 59 } 60 | Popular Tags |