public class GridCacheSqlQuery extends Object implements Message
| Modifier and Type | Field and Description |
|---|---|
static Object[] |
EMPTY_PARAMS |
| Constructor and Description |
|---|
GridCacheSqlQuery()
For
Message. |
GridCacheSqlQuery(String qry,
Object[] params) |
| Modifier and Type | Method and Description |
|---|---|
LinkedHashMap<String,?> |
columns() |
GridCacheSqlQuery |
columns(LinkedHashMap<String,?> columns) |
GridCacheSqlQuery |
copy(Object[] args) |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
marshallParams(Marshaller m) |
void |
onAckReceived()
Method called when ack message received.
|
void |
parameterIndexes(int[] paramIdxs) |
Object[] |
parameters() |
String |
query() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
void |
unmarshallParams(Marshaller m,
GridKernalContext ctx) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public static final Object[] EMPTY_PARAMS
public GridCacheSqlQuery()
Message.public void parameterIndexes(int[] paramIdxs)
paramIdxs - Parameter indexes.public LinkedHashMap<String,?> columns()
public GridCacheSqlQuery columns(LinkedHashMap<String,?> columns)
columns - Columns.this.public String query()
public Object[] parameters()
public void marshallParams(Marshaller m) throws IgniteCheckedException
m - Marshaller.IgniteCheckedException - If failed.public void unmarshallParams(Marshaller m, GridKernalContext ctx) throws IgniteCheckedException
m - Marshaller.IgniteCheckedException - If failed.public void onAckReceived()
onAckReceived in interface Messagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic GridCacheSqlQuery copy(Object[] args)
args - Arguments.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016