Class QList

All Implemented Interfaces:
Expression<List<?>>, FactoryExpression<List<?>>, Serializable

public class QList extends FactoryExpressionBase<List<?>>
QList represents a projection of type List
Author:
tiwe
See Also:
  • Constructor Details

    • QList

      protected QList(Expression<?>... args)
      Create a new QList instance
      Parameters:
      args -
    • QList

      protected QList(List<Expression<?>> args)
      Create a new QList instance
      Parameters:
      args -
    • QList

      protected QList(Expression<?>[]... args)
      Create a new QMap instance
      Parameters:
      args -
  • Method Details

    • accept

      @Nullable 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 @Unmodifiable List<Expression<?>> getArgs()
      Description copied from interface: FactoryExpression
      Get the invocation arguments
      Returns:
      argument expressions
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class FactoryExpressionBase<List<?>>
    • newInstance

      @Nullable public @Nullable List<?> newInstance(Object... args)
      Description copied from interface: FactoryExpression
      Create a projection with the given arguments
      Parameters:
      args - row arguments
      Returns:
      constructed value