@Test public void testWhenSplitCell() { ByteString valuePart1 = ByteString.copyFromUtf8("part-1"); ByteString valuePart2 = ByteString.copyFromUtf8("part-2"); ByteString valuePart3 = ByteString.copyFromUtf8("part-3"); RowAdapter.RowBuilder<Result> rowBuilder = underTest.createRowBuilder(); rowBuilder.startRow(ROW_KEY); rowBuilder.startCell(COL_FAMILY, QUAL_ONE, 10000L, Collections.<String>emptyList(), 18); rowBuilder.cellValue(valuePart1); rowBuilder.cellValue(valuePart2); rowBuilder.cellValue(valuePart3); rowBuilder.finishCell(); Result actualResult = rowBuilder.finishRow(); assertArrayEquals( valuePart1.concat(valuePart2).concat(valuePart3).toByteArray(), actualResult.getValue(COL_FAMILY.getBytes(), QUAL_ONE.toByteArray())); }
@Override public RowBuilder<Result> createRowBuilder() { return new RowResultBuilder(); }
RowResultAdapter implements RowAdapter<Result> { @Override public RowBuilder<Result> createRowBuilder() { return new RowResultBuilder(); } }
RowResultAdapter implements RowAdapter<Result> { @Override public RowBuilder<Result> createRowBuilder() { return new RowResultBuilder(); }  }
RowResultAdapter implements RowAdapter<Result> { @Override public RowBuilder<Result> createRowBuilder() { return new RowResultBuilder(); }  @Override RowBuilder<Result> createRowBuilder(); @Override boolean isScanMarkerRow(Result result); @Override ByteString getKey(Result result); }
RowResultAdapter implements RowAdapter<Result> { @Override public RowBuilder<Result> createRowBuilder() { return new RowResultBuilder(); }  @Override RowBuilder<Result> createRowBuilder(); @Override boolean isScanMarkerRow(Result result); @Override ByteString getKey(Result result);  }