|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.core.client.SQLQuery<T> com.j_spaces.core.client.ContinousQuery<T> com.j_spaces.core.client.view.View<T>
@Deprecated public class View<T>
Extends the ContinousQuery
interface to allow creation of local 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 FormConstructor Summary | |
---|---|
View()
Deprecated. Empty constructor. |
|
View(Class<T> type,
String sqlExpression)
Deprecated. Creates a View using the specified type and expression. |
|
View(Class<T> type,
String sqlExpression,
Object... parameters)
Deprecated. Creates a View using the specified type, expression and parameters. |
|
View(Class<T> type,
String sqlExpression,
QueryResultType queryResultType)
Deprecated. Creates a View using the specified type, expression and result type. |
|
View(Class<T> type,
String sqlExpression,
QueryResultType queryResultType,
Object... parameters)
Deprecated. Creates a View using the specified type, expression, result type and parameters. |
|
View(String typeName,
String sqlExpression)
Deprecated. Creates a View using the specified type and expression. |
|
View(String typeName,
String sqlExpression,
Object... parameters)
Deprecated. Creates a View using the specified type, expression and parameters. |
|
View(String typeName,
String sqlExpression,
QueryResultType queryResultType)
Deprecated. Creates a View using the specified type, expression and result type. |
|
View(String typeName,
String sqlExpression,
QueryResultType queryResultType,
Object... parameters)
Deprecated. Creates a View using the specified type, expression, result type and parameters. |
Method Summary |
---|
Methods inherited from class com.j_spaces.core.client.SQLQuery |
---|
equals, getFromQuery, getObject, getParameters, getProjections, getQuery, getQueryResultType, getRouting, getSelectAllQuery, getSelectCountQuery, getTypeName, hashCode, hasParameters, hasWhereClause, isNullExpression, isStoredProcedure, setParameter, setParameters, setProjections, setRouting, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public View()
public View(String typeName, String sqlExpression)
typeName
- Entry type to be queried.sqlExpression
- The SQL Query expression (contents of the WHERE part).public View(String typeName, String sqlExpression, QueryResultType queryResultType)
typeName
- Entry type to be queried.sqlExpression
- The SQL Query expression (contents of the WHERE part).queryResultType
- Type of result.public View(String typeName, String sqlExpression, Object... parameters)
typeName
- Entry type to be queried.sqlExpression
- The SQL Query expression (contents of the WHERE part).parameters
- Parameters for the sql query.public View(String typeName, String sqlExpression, QueryResultType queryResultType, Object... parameters)
typeName
- Entry type to be queried.sqlExpression
- The SQL Query expression (contents of the WHERE part).queryResultType
- Type of result.parameters
- Parameters for the sql query.public View(Class<T> type, String sqlExpression)
type
- Entry class to be queried.sqlExpression
- The SQL Query expression (contents of the WHERE part).public View(Class<T> type, String sqlExpression, QueryResultType queryResultType)
type
- Entry type to be queried.sqlExpression
- The SQL Query expression (contents of the WHERE part).queryResultType
- Type of result.public View(Class<T> type, String sqlExpression, Object... parameters)
type
- Entry type to be queried.sqlExpression
- The SQL Query expression (contents of the WHERE part).parameters
- Parameters for the sql query.public View(Class<T> type, String sqlExpression, QueryResultType queryResultType, Object... parameters)
type
- Entry type to be queried.sqlExpression
- The SQL Query expression (contents of the WHERE part).queryResultType
- Type of result.parameters
- Parameters for the sql query.
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |