Package oracle.nosql.driver.ops.serde
Class PrepareRequestSerializer
- java.lang.Object
-
- oracle.nosql.driver.ops.serde.PrepareRequestSerializer
-
- All Implemented Interfaces:
Serializer
public class PrepareRequestSerializer extends Object implements Serializer
Prepare a query
-
-
Field Summary
-
Fields inherited from class oracle.nosql.driver.Nson
TYPE_ARRAY, TYPE_BINARY, TYPE_BOOLEAN, TYPE_DOUBLE, TYPE_EMPTY, TYPE_INTEGER, TYPE_JSON_NULL, TYPE_LONG, TYPE_MAP, TYPE_NULL, TYPE_NUMBER, TYPE_STRING, TYPE_TIMESTAMP
-
-
Constructor Summary
Constructors Constructor Description PrepareRequestSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrepareResult
deserialize(Request request, oracle.nosql.driver.util.ByteInputStream in, short serialVersion)
void
serialize(Request request, short serialVersion, oracle.nosql.driver.util.ByteOutputStream out)
-
Methods inherited from class oracle.nosql.driver.ops.serde.BinaryProtocol
checkRequestSizeLimit, getTableState, mapException, readTopologyInfo, writeVersion
-
Methods inherited from class oracle.nosql.driver.Nson
generateEventsFromNson, getCharArrayAsUTF8, getSerializedSize, readByteArray, readByteArray, readByteArrayWithInt, readDouble, readFieldValue, readInt, readIntArray, readLong, readNsonBinary, readNsonBoolean, readNsonDouble, readNsonInt, readNsonLong, readNsonMap, readNsonNumber, readNsonString, readString, toJsonString, toJsonString, toJsonString, toJsonString, typeString, writeByteArray, writeByteArray, writeByteArrayWithInt, writeCharArrayAsUTF8, writeDouble, writeFieldValue, writeInt, writeLong, writeString, writeTimestamp
-
-
-
-
Method Detail
-
serialize
public void serialize(Request request, short serialVersion, oracle.nosql.driver.util.ByteOutputStream out) throws IOException
- Specified by:
serialize
in interfaceSerializer
- Throws:
IOException
-
deserialize
public PrepareResult deserialize(Request request, oracle.nosql.driver.util.ByteInputStream in, short serialVersion) throws IOException
- Specified by:
deserialize
in interfaceSerializer
- Throws:
IOException
-
-