@InterfaceAudience.Public public final class AsyncAggregationClient extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
AsyncAggregationClient.AbstractAggregationCallback<T> |
Modifier | Constructor and Description |
---|---|
private |
AsyncAggregationClient() |
Modifier and Type | Method and Description |
---|---|
static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
avg(AsyncTable<?> table,
ColumnInterpreter<R,S,P,Q,T> ci,
Scan scan) |
private static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
findMedian(CompletableFuture<R> future,
AsyncTable<AdvancedScanResultConsumer> table,
ColumnInterpreter<R,S,P,Q,T> ci,
Scan scan,
NavigableMap<byte[],S> sumByRegion) |
private static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
getCellValueFromProto(ColumnInterpreter<R,S,P,Q,T> ci,
org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse resp,
int firstPartIndex) |
private static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
getPromotedValueFromProto(ColumnInterpreter<R,S,P,Q,T> ci,
org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse resp,
int firstPartIndex) |
static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
max(AsyncTable<?> table,
ColumnInterpreter<R,S,P,Q,T> ci,
Scan scan) |
static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
median(AsyncTable<AdvancedScanResultConsumer> table,
ColumnInterpreter<R,S,P,Q,T> ci,
Scan scan) |
static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
min(AsyncTable<?> table,
ColumnInterpreter<R,S,P,Q,T> ci,
Scan scan) |
private static byte[] |
nullToEmpty(byte[] b) |
static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
rowCount(AsyncTable<?> table,
ColumnInterpreter<R,S,P,Q,T> ci,
Scan scan) |
static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
std(AsyncTable<?> table,
ColumnInterpreter<R,S,P,Q,T> ci,
Scan scan) |
static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
sum(AsyncTable<?> table,
ColumnInterpreter<R,S,P,Q,T> ci,
Scan scan) |
private static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> |
sumByRegion(AsyncTable<?> table,
ColumnInterpreter<R,S,P,Q,T> ci,
Scan scan) |
private AsyncAggregationClient()
private static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> R getCellValueFromProto(ColumnInterpreter<R,S,P,Q,T> ci, org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse resp, int firstPartIndex) throws IOException
IOException
private static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> S getPromotedValueFromProto(ColumnInterpreter<R,S,P,Q,T> ci, org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse resp, int firstPartIndex) throws IOException
IOException
private static byte[] nullToEmpty(byte[] b)
public static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> CompletableFuture<R> max(AsyncTable<?> table, ColumnInterpreter<R,S,P,Q,T> ci, Scan scan)
public static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> CompletableFuture<R> min(AsyncTable<?> table, ColumnInterpreter<R,S,P,Q,T> ci, Scan scan)
public static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> CompletableFuture<Long> rowCount(AsyncTable<?> table, ColumnInterpreter<R,S,P,Q,T> ci, Scan scan)
public static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> CompletableFuture<S> sum(AsyncTable<?> table, ColumnInterpreter<R,S,P,Q,T> ci, Scan scan)
public static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> CompletableFuture<Double> avg(AsyncTable<?> table, ColumnInterpreter<R,S,P,Q,T> ci, Scan scan)
public static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> CompletableFuture<Double> std(AsyncTable<?> table, ColumnInterpreter<R,S,P,Q,T> ci, Scan scan)
private static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> CompletableFuture<NavigableMap<byte[],S>> sumByRegion(AsyncTable<?> table, ColumnInterpreter<R,S,P,Q,T> ci, Scan scan)
private static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> void findMedian(CompletableFuture<R> future, AsyncTable<AdvancedScanResultConsumer> table, ColumnInterpreter<R,S,P,Q,T> ci, Scan scan, NavigableMap<byte[],S> sumByRegion)
public static <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> CompletableFuture<R> median(AsyncTable<AdvancedScanResultConsumer> table, ColumnInterpreter<R,S,P,Q,T> ci, Scan scan)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.