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)
Deprecated.
|
RequestMessage |
AbstractGryoMessageSerializerV1d0.deserializeRequest(ByteBuf msg)
Deprecated.
|
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)
Deprecated.
|
ResponseMessage |
AbstractGryoMessageSerializerV1d0.deserializeResponse(ByteBuf msg)
Deprecated.
|
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)
Deprecated.
|
ByteBuf |
AbstractGryoMessageSerializerV1d0.serializeRequestAsBinary(RequestMessage requestMessage,
ByteBufAllocator allocator)
Deprecated.
|
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)
Deprecated.
|
ByteBuf |
AbstractGryoMessageSerializerV1d0.serializeResponseAsBinary(ResponseMessage responseMessage,
ByteBufAllocator allocator)
Deprecated.
|
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.
|
ResponseMessage |
ResponseMessageSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
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.
|
<T> void |
GraphBinaryWriter.write(T value,
ByteBuf buffer)
Writes an object in fully-qualified format, containing {type_code}{type_info}{value_flag}{value}.
|
void |
TypeSerializer.write(T value,
ByteBuf buffer,
GraphBinaryWriter context)
Writes the type code, information and value to a buffer using the provided allocator.
|
<T> void |
GraphBinaryWriter.writeFullyQualifiedNull(Class<T> objectClass,
ByteBuf buffer,
Object information)
Represents a null value of a specific type, useful when the parent type contains a type parameter that must be
specified.
|
void |
RequestMessageSerializer.writeValue(RequestMessage value,
ByteBuf buffer,
GraphBinaryWriter context) |
void |
ResponseMessageSerializer.writeValue(ResponseMessage value,
ByteBuf buffer,
GraphBinaryWriter context) |
<T> void |
GraphBinaryWriter.writeValue(T value,
ByteBuf buffer,
boolean nullable)
Writes a value without including type information.
|
void |
TypeSerializer.writeValue(T value,
ByteBuf buffer,
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) |
protected Set |
SetSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Bytecode |
ByteCodeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Property |
PropertySerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected ZoneOffset |
ZoneOffsetSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected abstract T |
SimpleTypeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context)
Reads a non-nullable value according to the type format.
|
protected Graph |
GraphSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Bytecode.Binding |
BindingSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected LocalDateTime |
LocalDateTimeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected BigInteger |
BigIntegerSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected BulkSet |
BulkSetSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected ZonedDateTime |
ZonedDateTimeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected T |
InetAddressSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected TraversalMetrics |
TraversalMetricsSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Class |
ClassSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected T |
PSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Instant |
InstantSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Tree |
TreeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Metrics |
MetricsSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Lambda |
LambdaSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Period |
PeriodSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected TraversalStrategy |
TraversalStrategySerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected YearMonth |
YearMonthSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Character |
CharSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Traverser |
TraverserSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Path |
PathSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected List |
ListSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Map.Entry |
MapEntrySerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected BigDecimal |
BigDecimalSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected OffsetTime |
OffsetTimeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Vertex |
VertexSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected VertexProperty |
VertexPropertySerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected OffsetDateTime |
OffsetDateTimeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected TraversalExplanation |
TraversalExplanationSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Duration |
DurationSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected ByteBuffer |
ByteBufferSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected MonthDay |
MonthDaySerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected LocalTime |
LocalTimeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected LocalDate |
LocalDateSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected E |
EnumSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Edge |
EdgeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
protected Map |
MapSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
T |
SimpleTypeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context,
boolean nullable) |
void |
SimpleTypeSerializer.write(T value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
BigDecimalSerializer.writeValue(BigDecimal value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
BigIntegerSerializer.writeValue(BigInteger value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
BulkSetSerializer.writeValue(BulkSet value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
ByteBufferSerializer.writeValue(ByteBuffer value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
BindingSerializer.writeValue(Bytecode.Binding value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
ByteCodeSerializer.writeValue(Bytecode value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
CharSerializer.writeValue(Character value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
ClassSerializer.writeValue(Class value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
DurationSerializer.writeValue(Duration value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
EnumSerializer.writeValue(E value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
EdgeSerializer.writeValue(Edge value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
GraphSerializer.writeValue(Graph value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
InstantSerializer.writeValue(Instant value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
LambdaSerializer.writeValue(Lambda value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
ListSerializer.writeValue(List value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
LocalDateSerializer.writeValue(LocalDate value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
LocalDateTimeSerializer.writeValue(LocalDateTime value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
LocalTimeSerializer.writeValue(LocalTime value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
MapEntrySerializer.writeValue(Map.Entry value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
MapSerializer.writeValue(Map value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
MetricsSerializer.writeValue(Metrics value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
MonthDaySerializer.writeValue(MonthDay value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
OffsetDateTimeSerializer.writeValue(OffsetDateTime value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
OffsetTimeSerializer.writeValue(OffsetTime value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
PathSerializer.writeValue(Path value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
PeriodSerializer.writeValue(Period value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
PropertySerializer.writeValue(Property value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
SetSerializer.writeValue(Set value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected abstract void |
SimpleTypeSerializer.writeValue(T value,
ByteBuf buffer,
GraphBinaryWriter context)
Writes a non-nullable value into a buffer using the provided allocator.
|
protected void |
InetAddressSerializer.writeValue(T value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
PSerializer.writeValue(T value,
ByteBuf buffer,
GraphBinaryWriter context) |
void |
SimpleTypeSerializer.writeValue(T value,
ByteBuf buffer,
GraphBinaryWriter context,
boolean nullable) |
protected void |
TraversalExplanationSerializer.writeValue(TraversalExplanation value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
TraversalMetricsSerializer.writeValue(TraversalMetrics value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
TraversalStrategySerializer.writeValue(TraversalStrategy value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
TraverserSerializer.writeValue(Traverser value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
TreeSerializer.writeValue(Tree value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
VertexSerializer.writeValue(Vertex value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
VertexPropertySerializer.writeValue(VertexProperty value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
YearMonthSerializer.writeValue(YearMonth value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
ZonedDateTimeSerializer.writeValue(ZonedDateTime value,
ByteBuf buffer,
GraphBinaryWriter context) |
protected void |
ZoneOffsetSerializer.writeValue(ZoneOffset value,
ByteBuf buffer,
GraphBinaryWriter context) |
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.