public final class SqlQuery extends Query<SqlQuery>
| Constructor and Description |
|---|
SqlQuery(Class<?> type,
String sql)
Constructs query for the given type and SQL query.
|
SqlQuery(String sql)
Constructs query for the given SQL query.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getArgs()
Gets SQL arguments.
|
String |
getSql()
Gets SQL clause.
|
String |
getType()
Gets type for query.
|
SqlQuery |
setArgs(Object... args)
Sets SQL arguments.
|
SqlQuery |
setSql(String sql)
Sets SQL clause.
|
SqlQuery |
setType(Class<?> type) |
SqlQuery |
setType(String type)
Sets type for query.
|
String |
toString() |
continuous, getPageSize, scan, setPageSize, spi, sql, sql, textpublic SqlQuery(String sql)
sql - SQL Query.public String getSql()
public SqlQuery setSql(String sql)
sql - SQL clause.this For chaining.public Object[] getArgs()
public SqlQuery setArgs(Object... args)
args - SQL arguments.this For chaining.public String getType()
public SqlQuery setType(String type)
type - Type.this For chaining.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015