File tree 3 files changed +30
-0
lines changed
src/main/java/net/snowflake/client
3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Snowflake Computing Inc. All right reserved.
3
+ */
4
+ package net .snowflake .client .core ;
5
+
6
+ import java .lang .annotation .Documented ;
7
+ import java .lang .annotation .ElementType ;
8
+ import java .lang .annotation .Retention ;
9
+ import java .lang .annotation .RetentionPolicy ;
10
+ import java .lang .annotation .Target ;
11
+
12
+ /**
13
+ * Elements marked with this annotation should be considered as internal API and are public API only
14
+ * for Snowflake internal tools. Starting from version 4.x there will be no guarantees that
15
+ * annotated elements will maintain backward compatibility.
16
+ */
17
+ @ Target ({
18
+ ElementType .PACKAGE ,
19
+ ElementType .TYPE ,
20
+ ElementType .FIELD ,
21
+ ElementType .CONSTRUCTOR ,
22
+ ElementType .METHOD
23
+ })
24
+ @ Retention (RetentionPolicy .RUNTIME )
25
+ @ Documented
26
+ public @interface SnowflakeOrgInternalApi {}
Original file line number Diff line number Diff line change 57
57
import net .snowflake .client .core .SFFixedViewResultSet ;
58
58
import net .snowflake .client .core .SFSession ;
59
59
import net .snowflake .client .core .SFStatement ;
60
+ import net .snowflake .client .core .SnowflakeOrgInternalApi ;
60
61
import net .snowflake .client .jdbc .cloud .storage .SnowflakeStorageClient ;
61
62
import net .snowflake .client .jdbc .cloud .storage .StageInfo ;
62
63
import net .snowflake .client .jdbc .cloud .storage .StorageClientFactory ;
@@ -2199,6 +2200,7 @@ private static void pushFileToRemoteStore(
2199
2200
* @param config Configuration to upload a file to cloud storage
2200
2201
* @throws Exception if error occurs while data upload.
2201
2202
*/
2203
+ @ SnowflakeOrgInternalApi
2202
2204
public static void uploadWithoutConnection (SnowflakeFileTransferConfig config ) throws Exception {
2203
2205
logger .trace ("Entering uploadWithoutConnection..." );
2204
2206
Original file line number Diff line number Diff line change 8
8
import java .util .Properties ;
9
9
import net .snowflake .client .core .OCSPMode ;
10
10
import net .snowflake .client .core .SFSession ;
11
+ import net .snowflake .client .core .SnowflakeOrgInternalApi ;
11
12
12
13
/**
13
14
* This class manages the parameters to call SnowflakeFileTransferAgent.uploadWithoutConnection()
14
15
*/
16
+ @ SnowflakeOrgInternalApi
15
17
public class SnowflakeFileTransferConfig {
16
18
private SnowflakeFileTransferMetadata metadata ;
17
19
private InputStream uploadStream ;
You can’t perform that action at this time.
0 commit comments