Package com.snowflake.snowpark_java
Class TableFunction
- java.lang.Object
- 
- com.snowflake.snowpark_java.TableFunction
 
- 
 public class TableFunction extends Object Looks up table functions by funcName and returns tableFunction object which can be used inDataFrame.joinandSession.tableFunctionmethods.It can reference both system-defined table function and user-defined table functions. - Since:
- 1.2.0
 
- 
- 
Constructor SummaryConstructors Constructor Description TableFunction(String funcName)Create a new table function reference.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Columncall(Column... args)Create a Column reference by passing arguments in the TableFunction object.Columncall(Map<String,Column> args)Create a Column reference by passing arguments in the TableFunction object.StringfuncName()Returns the function name.
 
- 
- 
- 
Constructor Detail- 
TableFunctionpublic TableFunction(String funcName) Create a new table function reference.- Parameters:
- funcName- A string function name.
- Since:
- 1.2.0
 
 
- 
 - 
Method Detail- 
funcNamepublic String funcName() Returns the function name.- Returns:
- A string function name.
- Since:
- 1.4.0
 
 - 
callpublic Column call(Column... args) Create a Column reference by passing arguments in the TableFunction object.- Parameters:
- args- A list of Column objects representing the arguments of the given table function
- Returns:
- A Column reference
- Since:
- 1.10.0
 
 - 
callpublic Column call(Map<String,Column> args) Create a Column reference by passing arguments in the TableFunction object.- Parameters:
- args- function arguments map of the given table function. Some functions, like flatten, have named parameters. use this map to assign values to the corresponding parameters.
- Returns:
- A Column reference
- Since:
- 1.10.0
 
 
- 
 
-