| java.lang.Object com.versant.core.ejb.VersantEjbQueryImp
VersantEjbQueryImp | final public class VersantEjbQueryImp implements Externalizable,Query(Code) | | This is the implementation of a Query.
|
Method Summary | |
public void | checkParamCount(int n) | public void | close(Object queryResult) | public void | closeAll() | public void | compile() | public void | declareImports(String imports) | public void | declareParameters(String params) | public void | declareVariables(String variables) | public Object | execute() | public Object | execute(Object p1) | public Object | execute(Object p1, Object p2) | public Object | execute(Object p1, Object p2, Object p3) | public int | executeUpdate() | final public Object | executeWithArray(Object[] parameters) | public Object | executeWithMap(Map parameters) | public Class[] | getEvictionClasses() | public String | getFetchGroup() | public int | getFetchSize() | public String | getFilter() | public String | getGrouping() | public boolean | getIgnoreCache() | public String | getImports() | public int | getMaxRows() | public String | getOrdering() | public String | getParameters() | public PersistenceManager | getPersistenceManager() | public VersantQueryPlan | getPlan(Object[] parameters) Get the query plan for this query. | public String | getResult() | public List | getResultList() | public Object | getSingleResult() | public String | getVariables() | public void | initialiseFrom(VersantEjbQueryImp clientQuery) | public boolean | isBounded() | public boolean | isCountStarOnSize() | public boolean | isRandomAccess() | public boolean | isUnique() | public void | readExternal(ObjectInput in) | public void | setBounded(boolean value) | public void | setCacheable(boolean on) | public void | setCandidates(Extent pcs) | public void | setCandidates(Collection pcs) | public void | setClass(Class cls) | public void | setCountStarOnSize(boolean on) | public void | setEvictionClasses(Class[] classes, boolean includeSubclasses) | public void | setEvictionClasses(int[] classIndexes) | public void | setFetchGroup(String fgName) | public void | setFetchSize(int value) | public void | setFilter(String filter) | public Query | setFirstResult(int startPosition) | public Query | setFlushMode(FlushModeType flushMode) | public void | setGrouping(String grouping) | public Query | setHint(String hintName, Object value) | public void | setIgnoreCache(boolean ignoreCache) | public Query | setMaxResults(int maxResult) | public void | setMaxRows(int amount) | public void | setOrdering(String ordering) | public Query | setParameter(String name, Object value) | public Query | setParameter(String name, Date value, TemporalType temporalType) | public Query | setParameter(String name, Calendar value, TemporalType temporalType) | public Query | setParameter(int position, Object value) | public Query | setParameter(int position, Date value, TemporalType temporalType) | public Query | setParameter(int position, Calendar value, TemporalType temporalType) | public void | setRandomAccess(boolean on) | public void | setResult(String result) | public void | setUnique(boolean unique) Specify that there is a single result of the query. | public void | writeExternal(ObjectOutput out) |
VersantEjbQueryImp | public VersantEjbQueryImp()(Code) | | For Serialization.
|
VersantEjbQueryImp | public VersantEjbQueryImp(EMProxy pmProxy, QueryDetails params)(Code) | | Create a new query for pmProxy using all the settings of params.
This is used to create Query's from named queries in the meta data.
|
checkParamCount | public void checkParamCount(int n)(Code) | | TODO: move to base class
Parameters: n - |
closeAll | public void closeAll()(Code) | | |
compile | public void compile()(Code) | | |
declareImports | public void declareImports(String imports)(Code) | | |
declareParameters | public void declareParameters(String params)(Code) | | |
declareVariables | public void declareVariables(String variables)(Code) | | |
executeUpdate | public int executeUpdate()(Code) | | |
getEvictionClasses | public Class[] getEvictionClasses()(Code) | | |
getFetchSize | public int getFetchSize()(Code) | | |
getIgnoreCache | public boolean getIgnoreCache()(Code) | | |
getMaxRows | public int getMaxRows()(Code) | | |
getPersistenceManager | public PersistenceManager getPersistenceManager()(Code) | | |
getPlan | public VersantQueryPlan getPlan(Object[] parameters)(Code) | | Get the query plan for this query. This will include the SQL and
possibly also a query plan for the SQL from the database itself.
|
isBounded | public boolean isBounded()(Code) | | |
isCountStarOnSize | public boolean isCountStarOnSize()(Code) | | |
isRandomAccess | public boolean isRandomAccess()(Code) | | |
isUnique | public boolean isUnique()(Code) | | |
setBounded | public void setBounded(boolean value)(Code) | | |
setCacheable | public void setCacheable(boolean on)(Code) | | |
setCandidates | public void setCandidates(Extent pcs)(Code) | | |
setCountStarOnSize | public void setCountStarOnSize(boolean on)(Code) | | |
setEvictionClasses | public void setEvictionClasses(Class[] classes, boolean includeSubclasses)(Code) | | |
setEvictionClasses | public void setEvictionClasses(int[] classIndexes)(Code) | | |
setFetchSize | public void setFetchSize(int value)(Code) | | |
setFirstResult | public Query setFirstResult(int startPosition)(Code) | | |
setIgnoreCache | public void setIgnoreCache(boolean ignoreCache)(Code) | | |
setMaxResults | public Query setMaxResults(int maxResult)(Code) | | |
setMaxRows | public void setMaxRows(int amount)(Code) | | |
setRandomAccess | public void setRandomAccess(boolean on)(Code) | | |
setUnique | public void setUnique(boolean unique)(Code) | | Specify that there is a single result of the query.
|
|
|