Package | Description |
---|---|
org.apache.giraph.writable.kryo |
Utilities for using Kryo to efficiently serialize objects,
and integrate with Writable interface.
|
Modifier and Type | Method and Description |
---|---|
static HadoopKryo |
HadoopKryo.getNontrackingKryo()
Returns a kryo which doesn't track objects, hence
serialization of recursive/nested objects is not
supported.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
HadoopKryo.readWithKryo(HadoopKryo kryo,
com.esotericsoftware.kryo.io.Input in)
Reads class and object from specified input stream with
specified kryo object.
|
static void |
HadoopKryo.readWithKryoIntoObject(HadoopKryo kryo,
com.esotericsoftware.kryo.io.Input in,
Object object)
Read into object with given kryo.
|
static void |
HadoopKryo.writeWithKryo(HadoopKryo kryo,
com.esotericsoftware.kryo.io.Output out,
Object object)
Writes class and object to specified output stream with specified
Kryo object.
|
static void |
HadoopKryo.writeWithKryoOutOfObject(HadoopKryo kryo,
com.esotericsoftware.kryo.io.Output out,
Object object)
Write out of object with given kryo
|
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.