IndexRowKeyBuilder { public static IndexRowKeyBuilder newBuilder(long tableId, long indexId) { Verify.isValidId(tableId); Verify.isValidId(indexId); IndexRowKeyBuilder builder = new IndexRowKeyBuilder(); builder.tableId = tableId; builder.indexId = indexId; return builder; } private  IndexRowKeyBuilder(); static IndexRowKeyBuilder newBuilder(long tableId,
                                                long indexId); IndexRowKeyBuilder withSortOrder(SortOrder order); IndexRowKeyBuilder withRow(Row row,
                                      String indexName,
                                      TableSchema tableSchema); IndexRowKeyBuilder withQueryKey(QueryKey queryKey,
                                           TableSchema tableSchema); IndexRowKeyBuilder withUUID(UUID uuid); IndexRowKey build();  }
@Test(expected = IllegalArgumentException.class) public void testNewBuilderInvalidTableId() { final long invalidTableId = -1; IndexRowKeyBuilder.newBuilder(invalidTableId, INDEX_ID); }
@Test(expected = IllegalArgumentException.class) public void testNewBuilderInvalidIndexId() { final long invalidIndexId = -1; IndexRowKeyBuilder.newBuilder(TABLE_ID, invalidIndexId); }
@Test public void testNewBuilder() { assertNotNull(IndexRowKeyBuilder.newBuilder(TABLE_ID, INDEX_ID)); }