org.apache.hadoop.hbase.avro
Class AvroUtil
java.lang.Object
org.apache.hadoop.hbase.avro.AvroUtil
public class AvroUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvroUtil
public AvroUtil()
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.