public class StringWritableOp<T> extends Object implements IAggregableReduceOp<Writable,T>
IAggregableReduceOp operating on a String to one operating
on Writable instances. It's expected this will only work if that Writable
supports a conversion to TextWritable.
Created by huitseeker on 5/14/17.| Constructor and Description |
|---|
StringWritableOp() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Writable writable) |
<W extends IAggregableReduceOp<Writable,T>> |
combine(W accu) |
T |
get() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic <W extends IAggregableReduceOp<Writable,T>> void combine(W accu)
combine in interface IAggregableReduceOp<Writable,T>public void accept(Writable writable)
accept in interface java.util.function.Consumer<Writable>public T get()
get in interface java.util.function.Supplier<T>Copyright © 2017. All rights reserved.