Uses of Class
org.apache.calcite.linq4j.tree.NewExpression
-
Packages that use NewExpression Package Description org.apache.calcite.linq4j.tree Object model for Java expressions. -
-
Uses of NewExpression in org.apache.calcite.linq4j.tree
Methods in org.apache.calcite.linq4j.tree that return NewExpression Modifier and Type Method Description static NewExpressionExpressions. new_(Constructor constructor)Creates a NewExpression that represents calling the specified constructor that takes no arguments.static NewExpressionExpressions. new_(Constructor constructor, Iterable<? extends Expression> expressions)Creates a NewExpression that represents calling the specified constructor with the specified arguments.static NewExpressionExpressions. new_(Constructor constructor, Iterable<? extends Expression> expressions, Iterable<? extends MemberDeclaration> memberDeclarations)Creates a NewExpression that represents calling the specified constructor with the specified arguments.static NewExpressionExpressions. new_(Constructor constructor, Iterable<? extends Expression> expressions, MemberDeclaration... memberDeclarations)Creates a NewExpression that represents calling the specified constructor with the specified arguments, using varargs.static NewExpressionExpressions. new_(Constructor constructor, Expression... expressions)Creates a NewExpression that represents calling the specified constructor with the specified arguments, using varargs.static NewExpressionExpressions. new_(Type type)Creates a NewExpression that represents calling the parameterless constructor of the specified type.static NewExpressionExpressions. new_(Type type, Iterable<? extends Expression> arguments)Creates a NewExpression that represents calling the constructor of the specified type whose parameters are assignable from the specified arguments.static NewExpressionExpressions. new_(Type type, Iterable<? extends Expression> arguments, Iterable<? extends MemberDeclaration> memberDeclarations)Creates a NewExpression that represents calling the constructor of the specified type whose parameters are assignable from the specified arguments.static NewExpressionExpressions. new_(Type type, Iterable<? extends Expression> arguments, MemberDeclaration... memberDeclarations)Creates a NewExpression that represents calling the constructor of the specified type whose parameters are assignable from the specified arguments, using varargs.static NewExpressionExpressions. new_(Type type, Expression... arguments)Creates a NewExpression that represents calling the constructor of the specified type whose parameters are assignable from the specified arguments, using varargs.Methods in org.apache.calcite.linq4j.tree with parameters of type NewExpression Modifier and Type Method Description protected booleanDeterministicCodeOptimizer. isConstructorDeterministic(NewExpression newExpression)Checks if new instance creation can be reused.static ListInitExpressionExpressions. listInit(NewExpression newExpression, Iterable<? extends ElementInit> elementInits)Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.static ListInitExpressionExpressions. listInit(NewExpression newExpression, Method method, Iterable<? extends Expression> arguments)Creates a ListInitExpression that uses a specified method to add elements to a collection.static ListInitExpressionExpressions. listInit(NewExpression newExpression, Method method, Expression... arguments)Creates a ListInitExpression that uses a specified method to add elements to a collection, using varargs.static ListInitExpressionExpressions. listInit(NewExpression newExpression, ElementInit... elementInits)Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection, using varargs.static ListInitExpressionExpressions. listInit(NewExpression newExpression, Expression... arguments)Creates a ListInitExpression that uses a method named "Add" to add elements to a collection, using varargs.static ListInitExpressionExpressions. listInitE(NewExpression newExpression, Iterable<? extends Expression> arguments)Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.static MemberInitExpressionExpressions. memberInit(NewExpression newExpression, Iterable<? extends MemberBinding> bindings)Represents an expression that creates a new object and initializes a property of the object.static MemberInitExpressionExpressions. memberInit(NewExpression newExpression, MemberBinding... bindings)Represents an expression that creates a new object and initializes a property of the object, using varargs.ShuttleClassDeclarationFinder. preVisit(NewExpression newExpression)Creates optimizer local to the newly generated anonymous class.ShuttleShuttle. preVisit(NewExpression newExpression)protected ExpressionClassDeclarationFinder. tryOptimizeNewInstance(NewExpression newExpression)Optimizesnew Type()constructs.protected ExpressionDeterministicCodeOptimizer. tryOptimizeNewInstance(NewExpression newExpression)Optimizesnew Type()constructs,ExpressionClassDeclarationFinder. visit(NewExpression newExpression, List<Expression> arguments, List<MemberDeclaration> memberDeclarations)ExpressionShuttle. visit(NewExpression newExpression, List<Expression> arguments, List<MemberDeclaration> memberDeclarations)RVisitor. visit(NewExpression newExpression)RVisitorImpl. visit(NewExpression newExpression)
-