java.lang.Object
org.gvsig.expressionevaluator.spi.AbstractFunction
org.gvsig.expressionevaluator.impl.function.programming.IFFunction
All Implemented Interfaces:
org.gvsig.expressionevaluator.Function

public class IFFunction extends org.gvsig.expressionevaluator.spi.AbstractFunction
  • Field Summary

    Fields inherited from class org.gvsig.expressionevaluator.spi.AbstractFunction

    LOGGER, TYPE_BIGDECIMAL, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_NULL, TYPE_STRING

    Fields inherited from interface org.gvsig.expressionevaluator.Function

    GROUP_AGGREGATE, GROUP_BOOLEAN, GROUP_CONVERSION, GROUP_DATETIME, GROUP_NUMERIC, GROUP_OGC, GROUP_OTHER, GROUP_PROGRAMMING, GROUP_STRING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    call(org.gvsig.expressionevaluator.Interpreter interpreter, Object[] args)
     
    call(org.gvsig.expressionevaluator.Interpreter interpreter, org.gvsig.expressionevaluator.Codes args)
     
    toString(org.gvsig.expressionevaluator.Codes args, org.gvsig.expressionevaluator.Formatter<org.gvsig.expressionevaluator.Code> formatter)
     
    boolean
     

    Methods inherited from class org.gvsig.expressionevaluator.spi.AbstractFunction

    addAlias, aliases, argc, checkDoubleValue, checkFloatValue, description, descriptionArgs, getBigDecimal, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getComparable, getComparable, getDate, getDate, getDouble, getDouble, getFile, getFile, getFloat, getFloat, getFullDescription, getInt, getInt, getInt, getJsonArray, getJsonArray, getJsonObject, getJsonObject, getJsonStructure, getJsonStructure, getList, getLocalDateTime, getLocalDateTime, getLong, getLong, getObject, getObject, getStr, getStr, getType, getURL, group, isHidden, isNull, isOperator, isSQLCompatible, name, returnType, setDescription, setDescriptionArgs, setReturnType, setTemplate, template, toBoolean, toString, toValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • IFFunction

      public IFFunction()
  • Method Details

    • useArgumentsInsteadObjects

      public boolean useArgumentsInsteadObjects()
      Specified by:
      useArgumentsInsteadObjects in interface org.gvsig.expressionevaluator.Function
      Overrides:
      useArgumentsInsteadObjects in class org.gvsig.expressionevaluator.spi.AbstractFunction
    • allowConstantFolding

      public boolean allowConstantFolding()
      Specified by:
      allowConstantFolding in interface org.gvsig.expressionevaluator.Function
      Overrides:
      allowConstantFolding in class org.gvsig.expressionevaluator.spi.AbstractFunction
    • call

      public Object call(org.gvsig.expressionevaluator.Interpreter interpreter, Object[] args) throws Exception
      Throws:
      Exception
    • call

      public Object call(org.gvsig.expressionevaluator.Interpreter interpreter, org.gvsig.expressionevaluator.Codes args) throws Exception
      Specified by:
      call in interface org.gvsig.expressionevaluator.Function
      Overrides:
      call in class org.gvsig.expressionevaluator.spi.AbstractFunction
      Throws:
      Exception
    • toString

      public String toString(org.gvsig.expressionevaluator.Codes args, org.gvsig.expressionevaluator.Formatter<org.gvsig.expressionevaluator.Code> formatter)
      Specified by:
      toString in interface org.gvsig.expressionevaluator.Function
      Overrides:
      toString in class org.gvsig.expressionevaluator.spi.AbstractFunction