Modifier and Type | Method and Description |
---|---|
RequestMessage |
MessageSerializer.deserializeRequest(ByteBuf msg)
Deserialize a Netty
ByteBuf into a RequestMessage . |
ResponseMessage |
MessageSerializer.deserializeResponse(ByteBuf msg)
Deserialize a Netty
ByteBuf into a ResponseMessage . |
ByteBuf |
MessageSerializer.serializeRequestAsBinary(RequestMessage requestMessage,
ByteBufAllocator allocator)
Serialize a
ResponseMessage to a Netty ByteBuf . |
ByteBuf |
MessageSerializer.serializeResponseAsBinary(ResponseMessage responseMessage,
ByteBufAllocator allocator)
Serialize a
ResponseMessage to a Netty ByteBuf . |
Modifier and Type | Method and Description |
---|---|
RequestMessage |
AbstractGraphSONMessageSerializerV1d0.deserializeRequest(ByteBuf msg) |
RequestMessage |
AbstractGraphSONMessageSerializerV2d0.deserializeRequest(ByteBuf msg) |
RequestMessage |
GraphBinaryMessageSerializerV1.deserializeRequest(ByteBuf msg) |
RequestMessage |
AbstractGryoMessageSerializerV3d0.deserializeRequest(ByteBuf msg) |
RequestMessage |
AbstractGryoMessageSerializerV1d0.deserializeRequest(ByteBuf msg) |
RequestMessage |
GraphSONMessageSerializerV1d0.deserializeRequest(String msg) |
RequestMessage |
GraphSONMessageSerializerV2d0.deserializeRequest(String msg) |
RequestMessage |
MessageTextSerializer.deserializeRequest(String msg) |
RequestMessage |
GraphSONMessageSerializerV3d0.deserializeRequest(String msg) |
ResponseMessage |
AbstractGraphSONMessageSerializerV1d0.deserializeResponse(ByteBuf msg) |
ResponseMessage |
AbstractGraphSONMessageSerializerV2d0.deserializeResponse(ByteBuf msg) |
ResponseMessage |
GraphBinaryMessageSerializerV1.deserializeResponse(ByteBuf msg) |
ResponseMessage |
AbstractGryoMessageSerializerV3d0.deserializeResponse(ByteBuf msg) |
ResponseMessage |
AbstractGryoMessageSerializerV1d0.deserializeResponse(ByteBuf msg) |
ResponseMessage |
GraphSONMessageSerializerV1d0.deserializeResponse(String msg) |
ResponseMessage |
GraphSONMessageSerializerV2d0.deserializeResponse(String msg) |
ResponseMessage |
MessageTextSerializer.deserializeResponse(String msg) |
ResponseMessage |
GraphSONMessageSerializerV3d0.deserializeResponse(String msg) |
ByteBuf |
AbstractGraphSONMessageSerializerV1d0.serializeRequestAsBinary(RequestMessage requestMessage,
ByteBufAllocator allocator) |
ByteBuf |
AbstractGraphSONMessageSerializerV2d0.serializeRequestAsBinary(RequestMessage requestMessage,
ByteBufAllocator allocator) |
ByteBuf |
GraphBinaryMessageSerializerV1.serializeRequestAsBinary(RequestMessage requestMessage,
ByteBufAllocator allocator) |
ByteBuf |
AbstractGryoMessageSerializerV3d0.serializeRequestAsBinary(RequestMessage requestMessage,
ByteBufAllocator allocator) |
ByteBuf |
AbstractGryoMessageSerializerV1d0.serializeRequestAsBinary(RequestMessage requestMessage,
ByteBufAllocator allocator) |
String |
GraphSONMessageSerializerV1d0.serializeRequestAsString(RequestMessage requestMessage) |
String |
GraphSONMessageSerializerV2d0.serializeRequestAsString(RequestMessage requestMessage) |
String |
MessageTextSerializer.serializeRequestAsString(RequestMessage requestMessage) |
String |
GraphSONMessageSerializerV3d0.serializeRequestAsString(RequestMessage requestMessage) |
ByteBuf |
AbstractGraphSONMessageSerializerV1d0.serializeResponseAsBinary(ResponseMessage responseMessage,
ByteBufAllocator allocator) |
ByteBuf |
AbstractGraphSONMessageSerializerV2d0.serializeResponseAsBinary(ResponseMessage responseMessage,
ByteBufAllocator allocator) |
ByteBuf |
GraphBinaryMessageSerializerV1.serializeResponseAsBinary(ResponseMessage responseMessage,
ByteBufAllocator allocator) |
ByteBuf |
AbstractGryoMessageSerializerV3d0.serializeResponseAsBinary(ResponseMessage responseMessage,
ByteBufAllocator allocator) |
ByteBuf |
AbstractGryoMessageSerializerV1d0.serializeResponseAsBinary(ResponseMessage responseMessage,
ByteBufAllocator allocator) |
String |
GraphSONMessageSerializerV1d0.serializeResponseAsString(ResponseMessage responseMessage) |
String |
GraphSONMessageSerializerV2d0.serializeResponseAsString(ResponseMessage responseMessage) |
String |
MessageTextSerializer.serializeResponseAsString(ResponseMessage responseMessage) |
String |
GraphSONMessageSerializerV3d0.serializeResponseAsString(ResponseMessage responseMessage) |
Modifier and Type | Method and Description |
---|---|
<DT> TypeSerializer<DT> |
TypeSerializerRegistry.getSerializer(Class<DT> type) |
<DT> TypeSerializer<DT> |
TypeSerializerRegistry.getSerializer(DataType dataType) |
<DT> CustomTypeSerializer<DT> |
TypeSerializerRegistry.getSerializerForCustomType(String name)
Gets the serializer for a given custom type name.
|
<T> T |
GraphBinaryReader.read(ByteBuf buffer)
Reads the type code, information and value of a given buffer with fully-qualified format.
|
T |
TypeSerializer.read(ByteBuf buffer,
GraphBinaryReader context)
Reads the type information and value from the buffer and returns an instance of T.
|
<T> T |
GraphBinaryReader.readValue(ByteBuf buffer,
Class<T> type,
boolean nullable)
Reads a value for an specific type.
|
RequestMessage |
RequestMessageSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
T |
TypeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context,
boolean nullable)
Reads the value from the buffer (not the type information) and returns an instance of T.
|
ResponseMessage |
ResponseMessageSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context,
boolean nullable) |
<T> ByteBuf |
GraphBinaryWriter.write(T value,
ByteBufAllocator allocator)
Writes an object in fully-qualified format, containing {type_code}{type_info}{value_flag}{value}.
|
ByteBuf |
TypeSerializer.write(T value,
ByteBufAllocator allocator,
GraphBinaryWriter context)
Writes the type code, information and value to a buffer using the provided allocator.
|
<T> ByteBuf |
GraphBinaryWriter.writeFullyQualifiedNull(Class<T> objectClass,
ByteBufAllocator allocator,
Object information)
Represents a null value of a specific type, useful when the parent type contains a type parameter that must be
specified.
|
ByteBuf |
RequestMessageSerializer.writeValue(RequestMessage value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
ResponseMessageSerializer.writeValue(ResponseMessage value,
ByteBufAllocator allocator,
GraphBinaryWriter context,
boolean nullable) |
<T> ByteBuf |
GraphBinaryWriter.writeValue(T value,
ByteBufAllocator allocator,
boolean nullable)
Writes a value without including type information.
|
ByteBuf |
TypeSerializer.writeValue(T value,
ByteBufAllocator allocator,
GraphBinaryWriter context,
boolean nullable)
Writes the value to a buffer, composed by the value flag and the sequence of bytes.
|
Modifier and Type | Method and Description |
---|---|
T |
SimpleTypeSerializer.read(ByteBuf buffer,
GraphBinaryReader context) |
Bytecode |
ByteCodeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
List |
ListSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
Vertex |
VertexSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
Edge |
EdgeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
Map |
MapSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
T |
SimpleTypeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context,
boolean nullable) |
ByteBuf |
SimpleTypeSerializer.write(T value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
BigDecimalSerializer.writeValue(BigDecimal value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
BigIntegerSerializer.writeValue(BigInteger value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
BulkSetSerializer.writeValue(BulkSet value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
ByteBufferSerializer.writeValue(ByteBuffer value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
BindingSerializer.writeValue(Bytecode.Binding value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
ByteCodeSerializer.writeValue(Bytecode value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
CharSerializer.writeValue(Character value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
ClassSerializer.writeValue(Class value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
DurationSerializer.writeValue(Duration value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
EnumSerializer.writeValue(E value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
EdgeSerializer.writeValue(Edge value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
GraphSerializer.writeValue(Graph value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
InstantSerializer.writeValue(Instant value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
LambdaSerializer.writeValue(Lambda value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
ListSerializer.writeValue(List value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
LocalDateSerializer.writeValue(LocalDate value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
LocalDateTimeSerializer.writeValue(LocalDateTime value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
LocalTimeSerializer.writeValue(LocalTime value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
MapEntrySerializer.writeValue(Map.Entry value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
MapSerializer.writeValue(Map value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
MetricsSerializer.writeValue(Metrics value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
MonthDaySerializer.writeValue(MonthDay value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
OffsetDateTimeSerializer.writeValue(OffsetDateTime value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
OffsetTimeSerializer.writeValue(OffsetTime value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
PathSerializer.writeValue(Path value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
PeriodSerializer.writeValue(Period value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
PropertySerializer.writeValue(Property value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
SetSerializer.writeValue(Set value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
abstract ByteBuf |
SimpleTypeSerializer.writeValue(T value,
ByteBufAllocator allocator,
GraphBinaryWriter context)
Writes a non-nullable value into a buffer using the provided allocator.
|
ByteBuf |
InetAddressSerializer.writeValue(T value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
PSerializer.writeValue(T value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
SimpleTypeSerializer.writeValue(T value,
ByteBufAllocator allocator,
GraphBinaryWriter context,
boolean nullable) |
ByteBuf |
TraversalExplanationSerializer.writeValue(TraversalExplanation value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
TraversalStrategySerializer.writeValue(TraversalStrategy value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
TraverserSerializer.writeValue(Traverser value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
TreeSerializer.writeValue(Tree value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
VertexSerializer.writeValue(Vertex value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
VertexPropertySerializer.writeValue(VertexProperty value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
YearMonthSerializer.writeValue(YearMonth value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
ZonedDateTimeSerializer.writeValue(ZonedDateTime value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
ByteBuf |
ZoneOffsetSerializer.writeValue(ZoneOffset value,
ByteBufAllocator allocator,
GraphBinaryWriter context) |
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.