@VisibleForTesting public void testPutRow(byte[] currentKey, byte[] currentValue) throws HiveException, IOException { if (testKeyBytesWritable == null) { testKeyBytesWritable = new BytesWritable(); testValueBytesWritable = new BytesWritable(); } testKeyBytesWritable.set(currentKey, 0, currentKey.length); testValueBytesWritable.set(currentValue, 0, currentValue.length); putRow(testKeyBytesWritable, testValueBytesWritable); }
@VisibleForTesting public void testPutRow(byte[] currentKey, byte[] currentValue) throws HiveException, IOException { if (testKeyBytesWritable == null) { testKeyBytesWritable = new BytesWritable(); testValueBytesWritable = new BytesWritable(); } testKeyBytesWritable.set(currentKey, 0, currentKey.length); testValueBytesWritable.set(currentValue, 0, currentValue.length); putRow(testKeyBytesWritable, testValueBytesWritable); }