|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j_spaces.core.client.SQLQuery<T>
com.j_spaces.core.client.ContinousQuery<T>
com.j_spaces.core.client.view.View<T>
public class View<T>
Extends the ContinousQuery
interface to allow creation of space view.
Code Example:
Properties
prop = new Properties();
View[] views = new View[]{ new View( MyClass, "myField>10")};
prop.put( SpaceURL.VIEWS
, views);
SpaceFinder.find( spaceUrl, prop)
;
SpaceFinder
,
Serialized FormField Summary |
---|
Fields inherited from class com.j_spaces.core.client.SQLQuery |
---|
CALL, COUNT_PREFIX, DELETE_PREFIX, GROUP, ORDER, SELECT_PREFIX |
Constructor Summary | |
---|---|
View()
Empty constructor. |
|
View(Class<T> clazz,
String sqlQuery)
Constructor for setting the className of the entry to query with the SQL query expression. |
|
View(Entry entry,
String sqlQuery)
Constructor for setting the entry as a template to query with the sql query expression. |
|
View(String className,
String sqlQuery)
Constructor for setting the className of the entry to query with the SQL query expression. |
|
View(T object,
String sqlQuery)
Constructor for setting the object as a template to query with the SQL query expression. |
Method Summary |
---|
Methods inherited from class com.j_spaces.core.client.SQLQuery |
---|
getClassName, getEntry, getFromQuery, getObject, getParameters, getQuery, getSelectAllQuery, getSelectCountQuery, hasParameters, hasWhereClause, isNullExpression, isStoredProcedure, setClassName, setParameter, setParameters, setQuery, setTemplate, setTemplate, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public View()
public View(String className, String sqlQuery)
className
- - Entry class name to be queried.sqlQuery
- - The SQL Query expression (contents of the WHERE part).public View(Class<T> clazz, String sqlQuery)
clazz
- - Entry class to be queried.sqlQuery
- - The SQL Query expression (contents of the WHERE part).public View(T object, String sqlQuery)
object
- - The POJO to query bysqlQuery
- - The SQL Query expression (contents of the WHERE part).SQLQuery.SQLQuery(String className, String sqlQuery)
public View(Entry entry, String sqlQuery)
entry
- - The entry to query bysqlQuery
- - The SQL Query expression (contents of the WHERE part).SQLQuery.SQLQuery(String className, String sqlQuery)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |