@Override public MapJoinKey putRow(Writable currentKey, Writable currentValue) throws SerDeException, HiveException { MapJoinKey key = MapJoinKey.read(output, keyContext, currentKey); FlatRowContainer values = (FlatRowContainer)get(key); if (values == null) { values = new FlatRowContainer(); put(key, values); } values.add(valueContext, (BytesWritable)currentValue); return key; }
@Override public MapJoinKey putRow(Writable currentKey, Writable currentValue) throws SerDeException, HiveException { MapJoinKey key = MapJoinKey.read(output, keyContext, currentKey); FlatRowContainer values = (FlatRowContainer)get(key); if (values == null) { values = new FlatRowContainer(); put(key, values); } values.add(valueContext, (BytesWritable)currentValue); return key; }
@Override public MapJoinKey putRow(MapJoinObjectSerDeContext keyContext, Writable currentKey, MapJoinObjectSerDeContext valueContext, Writable currentValue) throws SerDeException, HiveException { MapJoinKey key = MapJoinKey.read(output, keyContext, currentKey); FlatRowContainer values = (FlatRowContainer)get(key); if (values == null) { values = new FlatRowContainer(); put(key, values); } values.add(valueContext, (BytesWritable)currentValue); return key; }