public class OpQuery extends WireProtocolMessage
AWAIT_DATA, flags, NO_CURSOR_TIMEOUT, PARTIAL, SLAVE_OK, TAILABLE_CURSOR| Constructor and Description |
|---|
OpQuery() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
bytes() |
String |
getColl() |
String |
getDb() |
Map<String,Object> |
getDoc() |
int |
getInReplyTo() |
int |
getLimit() |
int |
getOpCode() |
int |
getReqId() |
int |
getSkip() |
void |
setColl(String coll) |
void |
setDb(String db) |
void |
setDoc(Map<String,Object> doc) |
void |
setInReplyTo(int inReplyTo) |
void |
setLimit(int limit) |
void |
setOpCode(int opCode) |
void |
setReqId(int reqId) |
void |
setSkip(int skip) |
getFlags, isAwaitData, isNoCursorTimeout, isPartial, isSlaveOk, isTailable, readInt, readLong, setAwaitData, setFlags, setNoCursorTimeout, setPartial, setSlaveOk, setTailableCursor, writeInt, writeStringpublic int getOpCode()
public void setOpCode(int opCode)
public String getDb()
public void setDb(String db)
public String getColl()
public void setColl(String coll)
public int getSkip()
public void setSkip(int skip)
public int getLimit()
public void setLimit(int limit)
public int getReqId()
public void setReqId(int reqId)
public int getInReplyTo()
public void setInReplyTo(int inReplyTo)
public byte[] bytes()
throws IOException
IOExceptionCopyright © 2016. All rights reserved.