org.apache.hadoop.io
Class BufferUtils

java.lang.Object
  extended by org.apache.hadoop.io.BufferUtils

@InterfaceAudience.LimitedPrivate(value={"HDFS","MapReduce"})
@InterfaceStability.Unstable
public class BufferUtils
extends Object


Constructor Summary
BufferUtils()
           
 
Method Summary
static int compare(org.apache.hadoop.io.DataInputBuffer buf1, org.apache.hadoop.io.DataInputBuffer buf2)
           
static int compare(org.apache.hadoop.io.DataInputBuffer buf1, org.apache.hadoop.io.DataOutputBuffer buf2)
           
static int compare(org.apache.hadoop.io.DataOutputBuffer buf1, org.apache.hadoop.io.DataInputBuffer buf2)
           
static int compare(org.apache.hadoop.io.DataOutputBuffer buf1, org.apache.hadoop.io.DataOutputBuffer buf2)
           
static void copy(org.apache.hadoop.io.DataInputBuffer src, org.apache.hadoop.io.DataOutputBuffer dst)
           
static void copy(org.apache.hadoop.io.DataOutputBuffer src, org.apache.hadoop.io.DataOutputBuffer dst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferUtils

public BufferUtils()
Method Detail

compare

public static int compare(org.apache.hadoop.io.DataInputBuffer buf1,
                          org.apache.hadoop.io.DataInputBuffer buf2)

compare

public static int compare(org.apache.hadoop.io.DataOutputBuffer buf1,
                          org.apache.hadoop.io.DataOutputBuffer buf2)

compare

public static int compare(org.apache.hadoop.io.DataInputBuffer buf1,
                          org.apache.hadoop.io.DataOutputBuffer buf2)

compare

public static int compare(org.apache.hadoop.io.DataOutputBuffer buf1,
                          org.apache.hadoop.io.DataInputBuffer buf2)

copy

public static void copy(org.apache.hadoop.io.DataInputBuffer src,
                        org.apache.hadoop.io.DataOutputBuffer dst)
                 throws IOException
Throws:
IOException

copy

public static void copy(org.apache.hadoop.io.DataOutputBuffer src,
                        org.apache.hadoop.io.DataOutputBuffer dst)
                 throws IOException
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All rights reserved.