public static <T, U> Pair<T, U> of(T first, U second) { return new Pair<T, U>(first, second); }
public static <T, U> Pair<T, U> of(T first, U second) { return new Pair<T, U>(first, second); }
public static <T, U> Pair<T, U> of(T first, U second) { return new Pair<T, U>(first, second); }
@Override public void process(Pair<ImmutableBytesWritable, Result> row, Emitter<Pair<String, String>> emitter) { byte[] type = row.second().getValue(COLUMN_FAMILY_SOURCE, COLUMN_QUALIFIER_SOURCE_PLAY); byte[] def = row.second().getValue(COLUMN_FAMILY_SOURCE, COLUMN_QUALIFIER_SOURCE_QUOTE); if (type != null && def != null) { emitter.emit(new Pair<String, String>(Bytes.toString(type), Bytes.toString(def))); } } }, Writables.tableOf(Writables.strings(), Writables.strings()));