public class OResultSerializerNetwork extends Object
Constructor and Description |
---|
OResultSerializerNetwork() |
Modifier and Type | Method and Description |
---|---|
OResultInternal |
deserialize(BytesContainer bytes) |
Object |
deserializeValue(BytesContainer bytes,
OType type) |
OResultInternal |
fromStream(OChannelDataInput channel) |
protected int |
readInteger(BytesContainer container) |
protected OType |
readOType(BytesContainer bytes) |
protected String |
readString(BytesContainer bytes) |
void |
serialize(OResult document,
BytesContainer bytes) |
void |
serializeValue(BytesContainer bytes,
Object value,
OType type,
OType linkedType) |
protected String |
stringFromBytes(byte[] bytes,
int offset,
int len) |
void |
toStream(OResult item,
OChannelDataOutput channel) |
public OResultInternal deserialize(BytesContainer bytes)
public void serialize(OResult document, BytesContainer bytes)
protected OType readOType(BytesContainer bytes)
public Object deserializeValue(BytesContainer bytes, OType type)
public void serializeValue(BytesContainer bytes, Object value, OType type, OType linkedType)
protected String readString(BytesContainer bytes)
protected int readInteger(BytesContainer container)
protected String stringFromBytes(byte[] bytes, int offset, int len)
public void toStream(OResult item, OChannelDataOutput channel) throws IOException
IOException
public OResultInternal fromStream(OChannelDataInput channel) throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.