All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.kuseman.payloadbuilder.api.catalog.TableFunctionInfo Maven / Gradle / Ivy

The newest version!
package se.kuseman.payloadbuilder.api.catalog;

import static java.util.Collections.emptyMap;

import java.util.List;
import java.util.Map;
import java.util.Optional;

import se.kuseman.payloadbuilder.api.execution.IExecutionContext;
import se.kuseman.payloadbuilder.api.execution.IStatementContext;
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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy