public class TopNMapFn extends Object implements com.google.common.base.Function<Cursor,Result<TopNResultValue>>
Constructor and Description |
---|
TopNMapFn(TopNQuery query,
TopNAlgorithm topNAlgorithm) |
Modifier and Type | Method and Description |
---|---|
Result<TopNResultValue> |
apply(Cursor cursor) |
static com.google.common.base.Function<Object,Object> |
getValueTransformer(ValueType outputType) |
public TopNMapFn(TopNQuery query, TopNAlgorithm topNAlgorithm)
public static com.google.common.base.Function<Object,Object> getValueTransformer(ValueType outputType)
public Result<TopNResultValue> apply(Cursor cursor)
apply
in interface com.google.common.base.Function<Cursor,Result<TopNResultValue>>
Copyright © 2011–2017. All rights reserved.