@InterfaceAudience.Private public class MultiResponse extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AbstractResponse.ResponseType | 
| Constructor and Description | 
|---|
| MultiResponse() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(byte[] regionName,
   int originalIndex,
   Object resOrEx)Add the pair to the container, grouped by the regionName. | 
| void | addException(byte[] regionName,
            Throwable ie) | 
| void | addStatistic(byte[] regionName,
            org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.RegionLoadStats stat) | 
| Throwable | getException(byte[] regionName)Returns the exception for the region, if any. | 
| Map<byte[],Throwable> | getExceptions() | 
| Map<byte[],org.apache.hadoop.hbase.client.MultiResponse.RegionResult> | getResults() | 
| int | size()Returns Number of pairs in this container | 
| AbstractResponse.ResponseType | type() | 
public int size()
public void add(byte[] regionName,
                int originalIndex,
                Object resOrEx)
public void addException(byte[] regionName,
                         Throwable ie)
public Throwable getException(byte[] regionName)
public void addStatistic(byte[] regionName,
                         org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.RegionLoadStats stat)
public Map<byte[],org.apache.hadoop.hbase.client.MultiResponse.RegionResult> getResults()
public AbstractResponse.ResponseType type()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.