@@ -227,7 +227,7 @@ void testTypedAppendWriteAndScan() throws Exception {
227227 try (Table table = conn .getTable (path )) {
228228 // write
229229 TypedAppendWriter <AllTypesPojo > writer =
230- table .newAppend ().createWriter (AllTypesPojo .class );
230+ table .newAppend ().createTypedWriter (AllTypesPojo .class );
231231 List <AllTypesPojo > expected = new ArrayList <>();
232232 for (int i = 0 ; i < 5 ; i ++) {
233233 AllTypesPojo u = newAllTypesPojo (i );
@@ -265,7 +265,7 @@ void testTypedUpsertWriteAndScan() throws Exception {
265265
266266 try (Table table = conn .getTable (path )) {
267267 Upsert upsert = table .newUpsert ();
268- TypedUpsertWriter <AllTypesPojo > writer = upsert .createWriter (AllTypesPojo .class );
268+ TypedUpsertWriter <AllTypesPojo > writer = upsert .createTypedWriter (AllTypesPojo .class );
269269
270270 AllTypesPojo p1 = newAllTypesPojo (1 );
271271 AllTypesPojo p2 = newAllTypesPojo (2 );
@@ -310,7 +310,7 @@ void testTypedLookups() throws Exception {
310310
311311 try (Table table = conn .getTable (path )) {
312312 TypedUpsertWriter <AllTypesPojo > writer =
313- table .newUpsert ().createWriter (AllTypesPojo .class );
313+ table .newUpsert ().createTypedWriter (AllTypesPojo .class );
314314 writer .upsert (newAllTypesPojo (1 )).get ();
315315 writer .upsert (newAllTypesPojo (2 )).get ();
316316 writer .close ();
@@ -338,7 +338,7 @@ void testInternalRowLookup() throws Exception {
338338 try (Table table = conn .getTable (path )) {
339339 // write a couple of rows via POJO writer
340340 TypedUpsertWriter <AllTypesPojo > writer =
341- table .newUpsert ().createWriter (AllTypesPojo .class );
341+ table .newUpsert ().createTypedWriter (AllTypesPojo .class );
342342 writer .upsert (newAllTypesPojo (101 )).get ();
343343 writer .upsert (newAllTypesPojo (202 )).get ();
344344 writer .close ();
@@ -371,7 +371,7 @@ void testTypedProjections() throws Exception {
371371
372372 try (Table table = conn .getTable (path )) {
373373 TypedAppendWriter <AllTypesPojo > writer =
374- table .newAppend ().createWriter (AllTypesPojo .class );
374+ table .newAppend ().createTypedWriter (AllTypesPojo .class );
375375 writer .append (newAllTypesPojo (10 )).get ();
376376 writer .append (newAllTypesPojo (11 )).get ();
377377 writer .flush ();
@@ -410,7 +410,7 @@ void testTypedPartialUpdates() throws Exception {
410410
411411 try (Table table = conn .getTable (path )) {
412412 Upsert upsert = table .newUpsert ().partialUpdate ("a" , "str" , "dec" );
413- TypedUpsertWriter <AllTypesPojo > writer = upsert .createWriter (AllTypesPojo .class );
413+ TypedUpsertWriter <AllTypesPojo > writer = upsert .createTypedWriter (AllTypesPojo .class );
414414
415415 // initial full row
416416 writer .upsert (newAllTypesPojo (1 )).get ();
0 commit comments