org.apache.hadoop.hbase.util
Class ByteRangeTool
java.lang.Object
org.apache.hadoop.hbase.util.ByteRangeTool
public class ByteRangeTool
- extends Object
Utility methods ByteRange
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteRangeTool
public ByteRangeTool()
copyToNewArrays
public static ArrayList<byte[]> copyToNewArrays(Collection<ByteRange> ranges)
fromArrays
public static ArrayList<ByteRange> fromArrays(Collection<byte[]> arrays)
write
public static void write(OutputStream os,
ByteRange byteRange)
throws IOException
- Throws:
IOException
write
public static void write(OutputStream os,
ByteRange byteRange,
int byteRangeInnerOffset)
throws IOException
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.