org.apache.hadoop.hbase.avro
Class AvroUtil

java.lang.Object
  extended by org.apache.hadoop.hbase.avro.AvroUtil

public class AvroUtil
extends Object


Constructor Summary
AvroUtil()
           
 
Method Summary
static Delete adeleteToDelete(ADelete adelete)
           
static HColumnDescriptor afdToHCD(AFamilyDescriptor afd)
           
static Get agetToGet(AGet aget)
           
static Put aputToPut(APut aput)
           
static Scan ascanToScan(AScan ascan)
           
static HTableDescriptor atdToHTD(ATableDescriptor atd)
           
static AClusterStatus csToACS(ClusterStatus cs)
           
static AFamilyDescriptor hcdToAFD(HColumnDescriptor hcd)
           
static ARegionLoad hrlToARL(HServerLoad.RegionLoad rl)
           
static AServerAddress hsaToASA(HServerAddress hsa)
           
static AServerInfo hsiToASI(HServerInfo hsi)
           
static AServerLoad hslToASL(HServerLoad hsl)
           
static ATableDescriptor htdToATD(HTableDescriptor table)
           
static org.apache.avro.generic.GenericArray<AResult> resultsToAResults(Result[] results)
           
static AResult resultToAResult(Result result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvroUtil

public AvroUtil()
Method Detail

hsaToASA

public static AServerAddress hsaToASA(HServerAddress hsa)
                               throws IOException
Throws:
IOException

hrlToARL

public static ARegionLoad hrlToARL(HServerLoad.RegionLoad rl)
                            throws IOException
Throws:
IOException

hslToASL

public static AServerLoad hslToASL(HServerLoad hsl)
                            throws IOException
Throws:
IOException

hsiToASI

public static AServerInfo hsiToASI(HServerInfo hsi)
                            throws IOException
Throws:
IOException

csToACS

public static AClusterStatus csToACS(ClusterStatus cs)
                              throws IOException
Throws:
IOException

htdToATD

public static ATableDescriptor htdToATD(HTableDescriptor table)
                                 throws IOException
Throws:
IOException

atdToHTD

public static HTableDescriptor atdToHTD(ATableDescriptor atd)
                                 throws IOException,
                                        AIllegalArgument
Throws:
IOException
AIllegalArgument

hcdToAFD

public static AFamilyDescriptor hcdToAFD(HColumnDescriptor hcd)
                                  throws IOException
Throws:
IOException

afdToHCD

public static HColumnDescriptor afdToHCD(AFamilyDescriptor afd)
                                  throws IOException
Throws:
IOException

agetToGet

public static Get agetToGet(AGet aget)
                     throws IOException
Throws:
IOException

resultToAResult

public static AResult resultToAResult(Result result)

aputToPut

public static Put aputToPut(APut aput)
                     throws IOException
Throws:
IOException

adeleteToDelete

public static Delete adeleteToDelete(ADelete adelete)
                              throws IOException
Throws:
IOException

ascanToScan

public static Scan ascanToScan(AScan ascan)
                        throws IOException
Throws:
IOException

resultsToAResults

public static org.apache.avro.generic.GenericArray<AResult> resultsToAResults(Result[] results)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.