public class BytesWritableHelper extends Object
| Constructor and Description |
|---|
BytesWritableHelper() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.datasketches.memory.Memory |
wrapAsMemory(org.apache.hadoop.io.BytesWritable bw)
Wraps BytesWritable with a read-only Memory interface, without copying the underlying data.
|
public static org.apache.datasketches.memory.Memory wrapAsMemory(org.apache.hadoop.io.BytesWritable bw)
bw - Input BytesWritable objectCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.