org.apache.hadoop.hbase.util
Class ByteRangeTool

java.lang.Object
  extended by org.apache.hadoop.hbase.util.ByteRangeTool

public class ByteRangeTool
extends Object

Utility methods ByteRange.


Constructor Summary
ByteRangeTool()
           
 
Method Summary
static ArrayList<byte[]> copyToNewArrays(Collection<ByteRange> ranges)
           
static ArrayList<ByteRange> fromArrays(Collection<byte[]> arrays)
           
static void write(OutputStream os, ByteRange byteRange)
           
static void write(OutputStream os, ByteRange byteRange, int byteRangeInnerOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteRangeTool

public ByteRangeTool()
Method Detail

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.