public class QuickKryoGeSerializer extends Object implements GeSerializer
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_COMPRESS |
static boolean |
CONFIG_COMPRESS_DEFAULT |
| Constructor and Description |
|---|
QuickKryoGeSerializer(boolean enableCompression) |
QuickKryoGeSerializer(GraphConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
bytesToObject(byte[] bytes) |
protected byte[] |
compress(byte[] bytes) |
protected byte[] |
expand(byte[] bytes) |
byte[] |
objectToBytes(Object object) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbytesToObject, bytesToObjectpublic static final String CONFIG_COMPRESS
public static final boolean CONFIG_COMPRESS_DEFAULT
public QuickKryoGeSerializer(GraphConfiguration config)
public QuickKryoGeSerializer(boolean enableCompression)
public byte[] objectToBytes(Object object)
objectToBytes in interface GeSerializerpublic <T> T bytesToObject(byte[] bytes)
bytesToObject in interface GeSerializerprotected byte[] compress(byte[] bytes)
protected byte[] expand(byte[] bytes)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.