org.apache.hadoop.hbase.avro
Class AvroUtil
java.lang.Object
org.apache.hadoop.hbase.avro.AvroUtil
public class AvroUtil
- extends java.lang.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 java.io.IOException
- Throws:
java.io.IOException
hrlToARL
public static ARegionLoad hrlToARL(HServerLoad.RegionLoad rl)
throws java.io.IOException
- Throws:
java.io.IOException
hslToASL
public static AServerLoad hslToASL(HServerLoad hsl)
throws java.io.IOException
- Throws:
java.io.IOException
hsiToASI
public static AServerInfo hsiToASI(HServerInfo hsi)
throws java.io.IOException
- Throws:
java.io.IOException
csToACS
public static AClusterStatus csToACS(ClusterStatus cs)
throws java.io.IOException
- Throws:
java.io.IOException
htdToATD
public static ATableDescriptor htdToATD(HTableDescriptor table)
throws java.io.IOException
- Throws:
java.io.IOException
atdToHTD
public static HTableDescriptor atdToHTD(ATableDescriptor atd)
throws java.io.IOException,
AIllegalArgument
- Throws:
java.io.IOException
AIllegalArgument
hcdToAFD
public static AFamilyDescriptor hcdToAFD(HColumnDescriptor hcd)
throws java.io.IOException
- Throws:
java.io.IOException
afdToHCD
public static HColumnDescriptor afdToHCD(AFamilyDescriptor afd)
throws java.io.IOException
- Throws:
java.io.IOException
agetToGet
public static Get agetToGet(AGet aget)
throws java.io.IOException
- Throws:
java.io.IOException
resultToAResult
public static AResult resultToAResult(Result result)
aputToPut
public static Put aputToPut(APut aput)
throws java.io.IOException
- Throws:
java.io.IOException
adeleteToDelete
public static Delete adeleteToDelete(ADelete adelete)
throws java.io.IOException
- Throws:
java.io.IOException
ascanToScan
public static Scan ascanToScan(AScan ascan)
throws java.io.IOException
- Throws:
java.io.IOException
resultsToAResults
public static org.apache.avro.generic.GenericArray<AResult> resultsToAResults(Result[] results)
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.