public final class SqlFieldsQuery extends Query<List<?>>
IgniteCache.query(Query)
,
Serialized FormDFLT_PAGE_SIZE
Constructor and Description |
---|
SqlFieldsQuery(String sql)
Constructs sql fields query.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getArgs()
Gets SQL arguments.
|
String |
getSql()
Gets SQL clause.
|
SqlFieldsQuery |
setArgs(Object... args)
Sets SQL arguments.
|
SqlFieldsQuery |
setLocal(boolean loc)
Sets whether this query should be executed on local node only.
|
SqlFieldsQuery |
setPageSize(int pageSize)
Sets optional page size, if
0 , then default is used. |
SqlFieldsQuery |
setSql(String sql)
Sets SQL clause.
|
String |
toString() |
getPageSize, isLocal
public SqlFieldsQuery(String sql)
sql
- SQL Query.public String getSql()
public SqlFieldsQuery setSql(String sql)
sql
- SQL clause.this
For chaining.public Object[] getArgs()
public SqlFieldsQuery setArgs(Object... args)
args
- SQL arguments.this
For chaining.public SqlFieldsQuery setPageSize(int pageSize)
0
, then default is used.setPageSize
in class Query<List<?>>
pageSize
- Optional page size.this
for chaining.public SqlFieldsQuery setLocal(boolean loc)
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015