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 alias,
String qry,
Object[] params) |
| Modifier and Type | Method and Description |
|---|---|
String |
alias() |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
marshallParams(Marshaller m) |
Object[] |
parameters() |
String |
query() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
void |
unmarshallParams(Marshaller m) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public static final Object[] EMPTY_PARAMS
public GridCacheSqlQuery()
Message.public String alias()
public String query()
public Object[] parameters()
public void marshallParams(Marshaller m) throws IgniteCheckedException
m - Marshaller.IgniteCheckedException - If failed.public void unmarshallParams(Marshaller m) throws IgniteCheckedException
m - Marshaller.IgniteCheckedException - If failed.public 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 Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015