Package com.snowflake.snowpark_java
Class SessionBuilder
java.lang.Object
com.snowflake.snowpark_java.SessionBuilder
Stub of Snowpark's
Session.builder() fluent builder. The configuration methods are accepted
so handler code compiles against the real Snowpark idiom, but create() is rejected: Snowflake
prohibits creating a new session from within a stored procedure (see the Java stored-procedure
limitations documentation). Building the config is allowed; only the terminal create fails — matching
Snowflake, where the prohibition is on session creation, not on assembling options.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SessionBuilder
public SessionBuilder()
-
-
Method Details
-
configs
-
config
-
create
- Throws:
UnsupportedOperationException- always — a new session cannot be created inside a stored procedure.
-