Klasse OpReply
java.lang.Object
de.caluga.morphium.driver.wireprotocol.WireProtocolMessage
de.caluga.morphium.driver.wireprotocol.OpReply
OPReply implemtation for mongodb wire protocol
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen de.caluga.morphium.driver.wireprotocol.WireProtocolMessage
WireProtocolMessage.OpCode -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intstatic final intstatic final intstatic final intfinal long -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddDocument(Map<String, Object> doc) longintgetFlags()intintintbyte[]intgetSize()intvoidparsePayload(byte[] bytes, int offset) voidsetCursorId(long cursorId) voidsetDocuments(List<Map<String, Object>> documents) voidsetFlags(int flags) voidsetNumReturned(int numReturned) voidsetOpcode(int opcode) voidsetSize(int size) voidsetStartFrom(int startFrom) Von Klasse geerbte Methoden de.caluga.morphium.driver.wireprotocol.WireProtocolMessage
bytes, getMessageId, getResponseTo, parseFromStream, readInt, readLong, readString, setMessageId, setResponseTo, strLen, writeInt, writeLong, writeString
-
Felddetails
-
CURSOR_NOT_FOUND_FLAG
public static final int CURSOR_NOT_FOUND_FLAG- Siehe auch:
-
QUERY_FAILURE_FLAG
public static final int QUERY_FAILURE_FLAG- Siehe auch:
-
SHARD_CONFIG_STATE_FLAG
public static final int SHARD_CONFIG_STATE_FLAG- Siehe auch:
-
AWAIT_CAPABLE_FLAG
public static final int AWAIT_CAPABLE_FLAG- Siehe auch:
-
timestamp
public final long timestamp
-
-
Konstruktordetails
-
OpReply
public OpReply()
-
-
Methodendetails
-
getPayload
- Angegeben von:
getPayloadin KlasseWireProtocolMessage- Löst aus:
IOException
-
getSize
public int getSize()- Setzt außer Kraft:
getSizein KlasseWireProtocolMessage
-
setSize
public void setSize(int size) - Setzt außer Kraft:
setSizein KlasseWireProtocolMessage
-
getOpcode
public int getOpcode() -
setOpcode
public void setOpcode(int opcode) -
getFlags
public int getFlags() -
setFlags
public void setFlags(int flags) -
getCursorId
public long getCursorId() -
setCursorId
public void setCursorId(long cursorId) -
getStartFrom
public int getStartFrom() -
setStartFrom
public void setStartFrom(int startFrom) -
getNumReturned
public int getNumReturned() -
setNumReturned
public void setNumReturned(int numReturned) -
getDocuments
-
setDocuments
-
addDocument
-
parsePayload
- Angegeben von:
parsePayloadin KlasseWireProtocolMessage- Löst aus:
IOException
-
getOpCode
public int getOpCode()- Angegeben von:
getOpCodein KlasseWireProtocolMessage
-