-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-984877 Update to support customzed url parser and RequestBuilder
- Loading branch information
1 parent
efbd0e5
commit e52bc1f
Showing
3 changed files
with
88 additions
and
14 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
src/main/java/net/snowflake/ingest/connection/RequestBuilderFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package net.snowflake.ingest.connection; | ||
|
||
import net.snowflake.client.jdbc.internal.apache.http.impl.client.CloseableHttpClient; | ||
import net.snowflake.ingest.utils.SnowflakeURL; | ||
|
||
public class RequestBuilderFactory { | ||
public RequestBuilder build(SnowflakeURL url, | ||
String userName, | ||
Object credential, | ||
CloseableHttpClient httpClient, | ||
String clientName) { | ||
return new RequestBuilder(url, userName, credential, httpClient, clientName); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters