@Deprecated public class View<T> extends ContinousQuery<T>
ContinousQuery
interface to allow creation of local view.
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 and Description |
---|
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.
|
equals, getExplainPlan, getFromQuery, getObject, getParameters, getProjections, getQuery, getQueryResultType, getRouting, getSelectAllQuery, getSelectCountQuery, getTypeName, hashCode, hasParameters, hasWhereClause, isNullExpression, isStoredProcedure, setParameter, setParameters, setProjections, setRouting, toString, withExplainPlan
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.Copyright © GigaSpaces.