Package | Description |
---|---|
org.apache.hadoop.hbase.client.coprocessor |
Provides client classes for invoking Coprocessor RPC protocols
|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
Modifier and Type | Class and Description |
---|---|
class |
BigDecimalColumnInterpreter
ColumnInterpreter for doing Aggregation's with BigDecimal columns.
|
class |
LongColumnInterpreter
a concrete column interpreter implementation.
|
Modifier and Type | Method and Description |
---|---|
<R,S> double |
AggregationClient.avg(byte[] tableName,
ColumnInterpreter<R,S> ci,
Scan scan)
This is the client side interface/handle for calling the average method for
a given cf-cq combination.
|
<R,S> R |
AggregationClient.max(byte[] tableName,
ColumnInterpreter<R,S> ci,
Scan scan)
It gives the maximum value of a column for a given column family for the
given range.
|
<R,S> R |
AggregationClient.median(byte[] tableName,
ColumnInterpreter<R,S> ci,
Scan scan)
This is the client side interface/handler for calling the median method for a
given cf-cq combination.
|
<R,S> R |
AggregationClient.min(byte[] tableName,
ColumnInterpreter<R,S> ci,
Scan scan)
It gives the minimum value of a column for a given column family for the
given range.
|
<R,S> long |
AggregationClient.rowCount(byte[] tableName,
ColumnInterpreter<R,S> ci,
Scan scan)
It gives the row count, by summing up the individual results obtained from
regions.
|
<R,S> double |
AggregationClient.std(byte[] tableName,
ColumnInterpreter<R,S> ci,
Scan scan)
This is the client side interface/handle for calling the std method for a
given cf-cq combination.
|
<R,S> S |
AggregationClient.sum(byte[] tableName,
ColumnInterpreter<R,S> ci,
Scan scan)
It sums up the value returned from various regions.
|
Modifier and Type | Method and Description |
---|---|
<T,S> Pair<S,Long> |
AggregateImplementation.getAvg(ColumnInterpreter<T,S> ci,
Scan scan) |
<T,S> Pair<S,Long> |
AggregateProtocol.getAvg(ColumnInterpreter<T,S> ci,
Scan scan)
Gives a Pair with first object as Sum and second object as row count,
computed for a given combination of column qualifier and column family in
the given row range as defined in the Scan object.
|
<T,S> T |
AggregateImplementation.getMax(ColumnInterpreter<T,S> ci,
Scan scan) |
<T,S> T |
AggregateProtocol.getMax(ColumnInterpreter<T,S> ci,
Scan scan)
Gives the maximum for a given combination of column qualifier and column
family, in the given row range as defined in the Scan object.
|
<T,S> List<S> |
AggregateImplementation.getMedian(ColumnInterpreter<T,S> ci,
Scan scan) |
<T,S> List<S> |
AggregateProtocol.getMedian(ColumnInterpreter<T,S> ci,
Scan scan)
Gives a List containing sum of values and sum of weights.
|
<T,S> T |
AggregateImplementation.getMin(ColumnInterpreter<T,S> ci,
Scan scan) |
<T,S> T |
AggregateProtocol.getMin(ColumnInterpreter<T,S> ci,
Scan scan)
Gives the minimum for a given combination of column qualifier and column
family, in the given row range as defined in the Scan object.
|
<T,S> long |
AggregateImplementation.getRowNum(ColumnInterpreter<T,S> ci,
Scan scan) |
<T,S> long |
AggregateProtocol.getRowNum(ColumnInterpreter<T,S> ci,
Scan scan) |
<T,S> Pair<List<S>,Long> |
AggregateImplementation.getStd(ColumnInterpreter<T,S> ci,
Scan scan) |
<T,S> Pair<List<S>,Long> |
AggregateProtocol.getStd(ColumnInterpreter<T,S> ci,
Scan scan)
Gives a Pair with first object a List containing Sum and sum of squares,
and the second object as row count.
|
<T,S> S |
AggregateImplementation.getSum(ColumnInterpreter<T,S> ci,
Scan scan) |
<T,S> S |
AggregateProtocol.getSum(ColumnInterpreter<T,S> ci,
Scan scan)
Gives the sum for a given combination of column qualifier and column
family, in the given row range as defined in the Scan object.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.