public final class TopNKeyFilter extends Object
TopNKeyOperator
and
VectorTopNKeyOperator
Constructor and Description |
---|
TopNKeyFilter(int topN,
Comparator<? extends KeyWrapper> comparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
canForward(KeyWrapper kw) |
void |
clear() |
float |
forwardingRatio()
Ratio between the forwarded rows and the total incoming rows.
|
long |
getTotal() |
String |
toString() |
public TopNKeyFilter(int topN, Comparator<? extends KeyWrapper> comparator)
public final boolean canForward(KeyWrapper kw)
public void clear()
public float forwardingRatio()
public long getTotal()
Copyright © 2022 The Apache Software Foundation. All rights reserved.