se.kuseman.payloadbuilder.api.catalog.TableFunctionInfo Maven / Gradle / Ivy
package se.kuseman.payloadbuilder.api.catalog;
import java.util.List;
import java.util.Optional;
import se.kuseman.payloadbuilder.api.execution.IExecutionContext;
import se.kuseman.payloadbuilder.api.execution.TupleIterator;
import se.kuseman.payloadbuilder.api.execution.TupleVector;
import se.kuseman.payloadbuilder.api.expression.IExpression;
/**
* Definition of a table valued function. These functions are applied row by row.
**/
// CSOFF
public abstract class TableFunctionInfo extends FunctionInfo
// CSON
{
public TableFunctionInfo(String name)
{
super(name, FunctionType.TABLE);
}
/**
* Return the schema for this function. NOTE! If schema cannot be resolved throw a {@link SchemaResolveException}
*/
public Schema getSchema(List arguments, List