Package | Description |
---|---|
org.apache.giraph.utils |
Package of all generic utility classes.
|
Modifier and Type | Method and Description |
---|---|
static <T extends org.apache.hadoop.io.Writable> |
WritableUtils.createCopy(UnsafeByteArrayOutputStream reusableOut,
UnsafeReusableByteArrayInput reusableIn,
T original,
ImmutableClassesGiraphConfiguration conf)
Create a copy of Writable object, by serializing and deserializing it.
|
static <T extends org.apache.hadoop.io.Writable> |
WritableUtils.fromByteArrayUnsafe(byte[] data,
T to,
UnsafeReusableByteArrayInput reusableInput)
Deserialize from given byte array into given writable,
using given reusable UnsafeReusableByteArrayInput.
|
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.