public class GridCacheSqlQuery extends Object implements Message
| Modifier and Type | Field and Description |
|---|---|
static Object[] |
EMPTY_PARAMS |
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridCacheSqlQuery()
For
Message. |
GridCacheSqlQuery(String qry) |
public static final Object[] EMPTY_PARAMS
public GridCacheSqlQuery()
Message.public GridCacheSqlQuery(String qry)
qry - Query.public LinkedHashMap<String,?> columns()
public GridCacheSqlQuery columns(LinkedHashMap<String,?> columns)
columns - Columns.this.public String query()
public GridCacheSqlQuery query(String qry)
qry - Query.this.public int[] parameterIndexes()
public GridCacheSqlQuery parameterIndexes(int[] paramIdxs)
paramIdxs - Parameter indexes.this.public void onAckReceived()
onAckReceived in interface Messagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic GridCacheSqlQuery copy()
public void sortColumns(List<?> sort)
sort - Sort columns.public List<?> sortColumns()
public void partitioned(boolean partitioned)
partitioned - If the query contains partitioned tables.public boolean isPartitioned()
true If the query contains partitioned tables.public UUID node()
null if need to execute on all the nodes.public GridCacheSqlQuery node(UUID node)
node - Single node to execute the query on or null if need to execute on all the nodes.this.public Object[] parameters(Object[] allParams)
allParams - All parameters.public Object[] derivedPartitions()
public GridCacheSqlQuery derivedPartitions(Object[] derivedPartitions)
derivedPartitions - Derived partitions.this.public boolean hasSubQueries()
true if query contains sub-queries.public GridCacheSqlQuery hasSubQueries(boolean hasSubQries)
hasSubQries - Flag indicating that query contains sub-queries.this.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018