Class NumberConversions<T>

Type Parameters:
T -
All Implemented Interfaces:
Expression<T>, FactoryExpression<T>, Serializable

public class NumberConversions<T> extends FactoryExpressionBase<T>
NumberConversions ensures that the results of a projection involving numeric expressions conform to the types of the numeric expressions
Author:
tiwe
See Also:
  • Constructor Details

  • Method Details

    • accept

      public <R, C> R accept(Visitor<R,C> v, C context)
      Description copied from interface: Expression
      Accept the visitor with the given context
      Type Parameters:
      R - return type
      C - context type
      Parameters:
      v - visitor
      context - context of visit
      Returns:
      result of visit
    • getArgs

      public List<Expression<?>> getArgs()
      Description copied from interface: FactoryExpression
      Get the invocation arguments
      Returns:
      argument expressions
    • newInstance

      public T newInstance(Object... args)
      Description copied from interface: FactoryExpression
      Create a projection with the given arguments
      Parameters:
      args - row arguments
      Returns:
      constructed value