1 2 12 package com.versant.core.jdo; 13 14 import javax.jdo.Query; 15 16 46 public interface VersantQuery extends Query { 47 48 public static final String VERSANT_OPTIONS = "versantOptions"; 49 52 public static final String JDO_GENIE_OPTIONS = "jdoGenieOptions"; 53 54 61 public void setFetchGroup(String fetchGroupName); 62 63 public String getFetchGroup(); 64 65 74 public void setRandomAccess(boolean on); 75 76 public boolean isRandomAccess(); 77 78 86 public void setMaxRows(int amount); 87 88 93 public int getMaxRows(); 94 95 103 public void setFetchSize(int value); 104 105 110 public int getFetchSize(); 111 112 130 public void setCountStarOnSize(boolean on); 131 132 137 public boolean isCountStarOnSize(); 138 139 147 public void setBounded(boolean value); 148 149 154 public boolean isBounded(); 155 156 163 public VersantQueryPlan getPlan(Object [] params); 164 165 184 public void setEvictionClasses(Class [] classes, boolean includeSubclasses); 185 186 195 public void setEvictionClasses(int[] classIndexes); 196 197 205 public Class [] getEvictionClasses(); 206 207 210 public void setResult(String result); 211 212 218 public void setGrouping(String grouping); 219 220 223 public void setUnique(boolean unique); 224 225 228 public String getFilter(); 229 230 243 public void setCacheable(boolean on); 244 245 248 public String getImports(); 249 250 253 public String getParameters(); 254 255 258 public String getVariables(); 259 260 263 public String getOrdering(); 264 265 268 public String getGrouping(); 269 270 273 public String getResult(); 274 275 278 public boolean isUnique(); 279 280 } 281 | Popular Tags |