Method Summary |
|
public Class[] | getEvictionClasses() Get the registered eviction classes. |
public String | getFetchGroup() |
public int | getFetchSize() The number of instances fetched from server per round trip. |
public String | getFilter() Get the filter for the query. |
public String | getGrouping() Get the query grouping expression. |
public String | getImports() Get the query imports. |
public int | getMaxRows() The maximum number of instances to return. |
public String | getOrdering() Get the query ordering expression. |
public String | getParameters() Get the query parameter declarations. |
public VersantQueryPlan | getPlan(Object[] params) Get the query plan for this query. |
public String | getResult() Get the query result expression. |
public String | getVariables() Get the query variable declarations. |
public boolean | isBounded() |
public boolean | isCountStarOnSize() |
public boolean | isRandomAccess() |
public boolean | isUnique() |
public void | setBounded(boolean value) This property is a hint to JDO Genie that the number of instances
returned by the query us limited. |
public void | setCacheable(boolean on) Can the results of the query go into the level 2 cache or come from the
level 2 cache? If this property is set then it overrides the default
decision. |
public void | setCountStarOnSize(boolean on) Normally when size() is called on the Collection returned by executing
a non-randomAccess Query all of the results are fetched in one operation
to detirmine the size of the collection. |
public void | setEvictionClasses(Class[] classes, boolean includeSubclasses) Register classes that will cause the cached results of this query to
be evicted if any of its instances are modified. |
public void | setEvictionClasses(int[] classIndexes) Register the indexes of classes that will cause the cached results of
this query to be evicted if any of its instances are modified. |
public void | setFetchGroup(String fetchGroupName) Select the fetch group used to execute the query. |
public void | setFetchSize(int value) Set the number of instances fetched per server round trip. |
public void | setGrouping(String grouping) Grouping exp to use. |
public void | setMaxRows(int amount) Limit the number of instances to be returned. |
public void | setRandomAccess(boolean on) Indicate that random access to query results is required or not. |
public void | setResult(String result) The projection to use. |
public void | setUnique(boolean unique) Specify that there is a single result of the query. |