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 void derivedPartitions(Object derivedPartitions)
derivedPartitions - Derived partitions.public boolean hasSubQueries()
true if query contains sub-queries.public GridCacheSqlQuery hasSubQueries(boolean hasSubQries)
hasSubQries - Flag indicating that the query contains sub-queries.this.public boolean hasOuterJoinReplicatedPartitioned()
true if the query contains an OUTER JOIN from REPLICATED to PARTITIONED.public GridCacheSqlQuery hasOuterJoinReplicatedPartitioned(boolean hasOuterJoinReplicatedPartitioned)
hasOuterJoinReplicatedPartitioned - Flag indicating that the query contains an OUTER JOIN from REPLICATED to PARTITIONED.this.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021