Class SingleValueQueryFunction

  • All Implemented Interfaces:
    Serializable, Cloneable, Expression

    public class SingleValueQueryFunction
    extends ColumnAggregationExpression
    Deprecated.
    use the formula expression with the same name instead.
    Fires a query against the data-source and returns a single value. The current data-row is used as source for the parameters of the query. The parameters that should be used must be declared as list of fields.
    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • SingleValueQueryFunction

        public SingleValueQueryFunction()
        Deprecated.
        Default Constructor.
    • Method Detail

      • getQueryTimeout

        public int getQueryTimeout()
        Deprecated.
      • setQueryTimeout

        public void setQueryTimeout​(int queryTimeout)
        Deprecated.
      • getResultColumn

        public String getResultColumn()
        Deprecated.
        Returns the name of the result-column. The result-column specified the name of the column of the query's result-table that should be used. If undefined, the first column is used.
        Returns:
        the result column name.
      • setResultColumn

        public void setResultColumn​(String resultColumn)
        Deprecated.
        Defines the name of the result-column. The result-column specified the name of the column of the query's result-table that should be used. If undefined, the first column is used.
        Parameters:
        resultColumn - the result column name.
      • getQuery

        public String getQuery()
        Deprecated.
        Returns the query name.
        Returns:
        the query name.
      • setQuery

        public void setQuery​(String query)
        Deprecated.
        Defines the query name.
        Parameters:
        query - the query name.
      • getValue

        public Object getValue()
        Deprecated.
        Returns the query result.
        Returns:
        the query result.