| Package | Description |
|---|---|
| com.snowflake.snowpark_java |
Provides most of the classes for the Snowpark Java API.
|
| Modifier and Type | Method and Description |
|---|---|
static TableFunction |
TableFunctions.flatten()
Flattens (explodes) compound values into multiple rows.
|
TableFunction |
UDTFRegistration.registerPermanent(String funcName,
JavaUDTF udtf,
String stageLocation)
Registers an UDTF instance as a Snowflake UDTF.
|
TableFunction |
UDTFRegistration.registerTemporary(JavaUDTF udtf)
Registers an UDTF instance as a temporary anonymous UDTF that is scoped to this session.
|
TableFunction |
UDTFRegistration.registerTemporary(String funcName,
JavaUDTF udtf)
Registers an UDTF instance as a temporary Snowflake UDTF that you plan to use in the session.
|
static TableFunction |
TableFunctions.split_to_table()
This table function splits a string (based on a specified delimiter) and flattens the results
into rows.
|
| Modifier and Type | Method and Description |
|---|---|
DataFrame |
DataFrame.join(TableFunction func,
Column... args)
Joins the current DataFrame with the output of the specified table function `func`.
|
DataFrame |
DataFrame.join(TableFunction func,
Column[] args,
Column[] partitionBy,
Column[] orderBy)
Joins the current DataFrame with the output of the specified user-defined table function (UDTF)
`func`.
|
DataFrame |
DataFrame.join(TableFunction func,
Map<String,Column> args)
Joins the current DataFrame with the output of the specified table function `func` that takes
named parameters (e.g.
|
DataFrame |
DataFrame.join(TableFunction func,
Map<String,Column> args,
Column[] partitionBy,
Column[] orderBy)
Joins the current DataFrame with the output of the specified user-defined table function (UDTF)
`func`.
|
DataFrame |
Session.tableFunction(TableFunction func,
Column... args)
Creates a new DataFrame from the given table function and arguments.
|
DataFrame |
Session.tableFunction(TableFunction func,
Map<String,Column> args)
Creates a new DataFrame from the given table function and arguments.
|
© 2022 Snowflake Inc. All Rights Reserved