package snowpark_java
Type Members
-
class
DataFrame extends AnyRef
Represents a lazily-evaluated relational dataset that contains a collection of
Rowobjects with columns defined by a schema (column name and type).Represents a lazily-evaluated relational dataset that contains a collection of
Rowobjects with columns defined by a schema (column name and type).A
DataFrameis considered lazy because it encapsulates the computation or query required to produce a relational dataset. The computation is not performed until you call a method that performs an action (e.g.collect).- Since
0.8.0
-
class
Session extends AnyRef
Establishes a connection with a Snowflake database and provides methods for creating DataFrames and accessing objects for working with files in stages.
Establishes a connection with a Snowflake database and provides methods for creating DataFrames and accessing objects for working with files in stages.
When you create a
Sessionobject, you provide configuration settings to establish a connection with a Snowflake database (e.g. the URL for the account, a user name, etc.). You can specify these settings in a configuration file or in a Map that associates configuration setting names with values.To create a Session from a file:
Session session = Session.builder().configFile("/path/to/file.properties").create();Session contains functions to construct
DataFrames likeSession.table,Session.sql, andSession.read- Since
0.8.0
- See also
com.snowflake.snowpark_java.DataFrame DataFrame
-
class
SessionBuilder extends AnyRef
Provides methods to set configuration properties and create a
Session.Provides methods to set configuration properties and create a
Session.- Since
0.8.0
- See also
com.snowflake.snowpark_java.Session Session