@@ -672,18 +672,18 @@ String createMode(String source, boolean overwrite) {
672672 return overwrite ? "CREATE_OVERWRITE" : "CREATE" ;
673673 }
674674
675- public TransactionResult execute (String database , String engine , String source )
675+ public TransactionResult executeV1 (String database , String engine , String source )
676676 throws HttpError , InterruptedException , IOException {
677- return execute (database , engine , source , false , null );
677+ return executeV1 (database , engine , source , false , null );
678678 }
679679
680- public TransactionResult execute (
680+ public TransactionResult executeV1 (
681681 String database , String engine , String source , boolean readonly )
682682 throws HttpError , InterruptedException , IOException {
683- return execute (database , engine , source , readonly , null );
683+ return executeV1 (database , engine , source , readonly , null );
684684 }
685685
686- public TransactionResult execute (
686+ public TransactionResult executeV1 (
687687 String database , String engine ,
688688 String source , boolean readonly ,
689689 Map <String , String > inputs )
@@ -695,12 +695,12 @@ public TransactionResult execute(
695695 return Json .deserialize ((String ) rsp , TransactionResult .class );
696696 }
697697
698- public TransactionAsyncResult executeAsyncWait (
698+ public TransactionAsyncResult execute (
699699 String database , String engine , String source , boolean readonly ) throws HttpError , IOException , InterruptedException {
700- return executeAsyncWait (database , engine , source , readonly , new HashMap <>());
700+ return execute (database , engine , source , readonly , new HashMap <>());
701701 }
702702
703- public TransactionAsyncResult executeAsyncWait (
703+ public TransactionAsyncResult execute (
704704 String database , String engine ,
705705 String source , boolean readonly ,
706706 Map <String , String > inputs ) throws HttpError , IOException , InterruptedException {
@@ -1014,7 +1014,7 @@ public TransactionResult loadCsv(
10141014 var source = genLoadCsv (relation , options );
10151015 var inputs = new HashMap <String , String >();
10161016 inputs .put ("data" , data );
1017- return execute (database , engine , source , false , inputs );
1017+ return executeV1 (database , engine , source , false , inputs );
10181018 }
10191019
10201020 // Generate the Rel to load JSON data into a relation.
@@ -1038,6 +1038,6 @@ public TransactionResult loadJson(
10381038 var inputs = new HashMap <String , String >();
10391039 inputs .put ("data" , data );
10401040 var source = genLoadJson (relation );
1041- return execute (database , engine , source , false , inputs );
1041+ return executeV1 (database , engine , source , false , inputs );
10421042 }
10431043}
0 commit comments