public class AvroUtil extends Object
Constructor and Description |
---|
AvroUtil() |
Modifier and Type | Method and Description |
---|---|
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(ServerName sn,
HServerLoad hsl) |
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) |
public static AServerAddress hsaToASA(HServerAddress hsa) throws IOException
IOException
public static ARegionLoad hrlToARL(HServerLoad.RegionLoad rl) throws IOException
IOException
public static AServerLoad hslToASL(HServerLoad hsl) throws IOException
IOException
public static AServerInfo hsiToASI(ServerName sn, HServerLoad hsl) throws IOException
IOException
public static AClusterStatus csToACS(ClusterStatus cs) throws IOException
IOException
public static ATableDescriptor htdToATD(HTableDescriptor table) throws IOException
IOException
public static HTableDescriptor atdToHTD(ATableDescriptor atd) throws IOException, AIllegalArgument
IOException
AIllegalArgument
public static AFamilyDescriptor hcdToAFD(HColumnDescriptor hcd) throws IOException
IOException
public static HColumnDescriptor afdToHCD(AFamilyDescriptor afd) throws IOException
IOException
public static Get agetToGet(AGet aget) throws IOException
IOException
public static Put aputToPut(APut aput) throws IOException
IOException
public static Delete adeleteToDelete(ADelete adelete) throws IOException
IOException
public static Scan ascanToScan(AScan ascan) throws IOException
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.