BigtableClassicApi extends BigtableApi { @Override public DataClientWrapper getDataClient() { return dataClientWrapper; } BigtableClassicApi(BigtableHBaseClassicSettings settings);  BigtableClassicApi(BigtableHBaseSettings settings, BigtableSession session); @Override AdminClientWrapper getAdminClient(); @Override DataClientWrapper getDataClient(); @Override void close();  }
@Test public void testDataClient() throws Exception { assertTrue(bigtableApi.getDataClient() instanceof DataClientClassicApi); Query query = Query.create(TABLE_ID).rowKey(ROW_KEY); bigtableApi.getDataClient().readRowsAsync(query); ReadRowsRequest request = fakeDataService.popLastRequest(); assertEquals(ROW_KEY, request.getRows().getRowKeys(0).toStringUtf8()); }