Class AbstractBinaryOperator

java.lang.Object
org.gvsig.expressionevaluator.spi.AbstractFunction
org.gvsig.expressionevaluator.impl.function.operator.AbstractBinaryOperator
All Implemented Interfaces:
org.gvsig.expressionevaluator.Function, BinaryOperator, Operator
Direct Known Subclasses:
AddOperator, AndOperator, ConcatOperator, DivOperator, EqOperator, GeOperator, GtOperator, IlikeOperator, InOperator, IsOperator, LeOperator, LikeOperator, LtOperator, MulOperator, NeOperator, OrOperator, RegExpOperator, SubstOperator

public abstract class AbstractBinaryOperator extends org.gvsig.expressionevaluator.spi.AbstractFunction implements BinaryOperator
  • 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
    Modifier
    Constructor
    Description
    protected
    AbstractBinaryOperator(String group, String name, boolean isSQLCompatible)
     
    protected
    AbstractBinaryOperator(String group, String name, String description, boolean isSQLCompatible)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    call(org.gvsig.expressionevaluator.Interpreter interpreter, Object[] args)
     
    boolean
     

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

    addAlias, aliases, allowConstantFolding, argc, call, 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, isSQLCompatible, name, returnType, setDescription, setDescriptionArgs, setReturnType, setTemplate, template, toBoolean, toString, toString, toValue, useArgumentsInsteadObjects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.gvsig.expressionevaluator.impl.function.operator.BinaryOperator

    call

    Methods inherited from interface org.gvsig.expressionevaluator.Function

    addAlias, aliases, allowConstantFolding, argc, call, description, descriptionArgs, getFullDescription, group, isHidden, isSQLCompatible, name, returnType, template, toString, toValue, useArgumentsInsteadObjects
  • Constructor Details

    • AbstractBinaryOperator

      protected AbstractBinaryOperator(String group, String name, String description, boolean isSQLCompatible)
    • AbstractBinaryOperator

      protected AbstractBinaryOperator(String group, String name, boolean isSQLCompatible)
  • Method Details

    • call

      public Object call(org.gvsig.expressionevaluator.Interpreter interpreter, Object[] args)
      Specified by:
      call in interface org.gvsig.expressionevaluator.Function
    • isOperator

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