Uses of Class
org.apache.calcite.linq4j.tree.NewExpression
-
Packages that use NewExpression Package Description org.apache.calcite.adapter.enumerable Query optimizer rules for Java calling convention.org.apache.calcite.linq4j.tree Object model for Java expressions. -
-
Uses of NewExpression in org.apache.calcite.adapter.enumerable
Methods in org.apache.calcite.adapter.enumerable with parameters of type NewExpression Modifier and Type Method Description java.lang.Void
EnumerableRelImplementor.TypeFinder. visit(NewExpression newExpression)
-
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 NewExpression
Expressions. new_(java.lang.reflect.Constructor constructor)
Creates a NewExpression that represents calling the specified constructor that takes no arguments.static NewExpression
Expressions. new_(java.lang.reflect.Constructor constructor, java.lang.Iterable<? extends Expression> expressions)
Creates a NewExpression that represents calling the specified constructor with the specified arguments.static NewExpression
Expressions. new_(java.lang.reflect.Constructor constructor, java.lang.Iterable<? extends Expression> expressions, java.lang.Iterable<? extends MemberDeclaration> memberDeclarations)
Creates a NewExpression that represents calling the specified constructor with the specified arguments.static NewExpression
Expressions. new_(java.lang.reflect.Constructor constructor, java.lang.Iterable<? extends Expression> expressions, MemberDeclaration... memberDeclarations)
Creates a NewExpression that represents calling the specified constructor with the specified arguments, using varargs.static NewExpression
Expressions. new_(java.lang.reflect.Constructor constructor, Expression... expressions)
Creates a NewExpression that represents calling the specified constructor with the specified arguments, using varargs.static NewExpression
Expressions. new_(java.lang.reflect.Type type)
Creates a NewExpression that represents calling the parameterless constructor of the specified type.static NewExpression
Expressions. new_(java.lang.reflect.Type type, java.lang.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 NewExpression
Expressions. new_(java.lang.reflect.Type type, java.lang.Iterable<? extends Expression> arguments, java.lang.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 NewExpression
Expressions. new_(java.lang.reflect.Type type, java.lang.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 NewExpression
Expressions. new_(java.lang.reflect.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 boolean
DeterministicCodeOptimizer. isConstructorDeterministic(NewExpression newExpression)
Checks if new instance creation can be reused.static ListInitExpression
Expressions. listInit(NewExpression newExpression, java.lang.Iterable<? extends ElementInit> elementInits)
Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.static ListInitExpression
Expressions. listInit(NewExpression newExpression, java.lang.reflect.Method method, java.lang.Iterable<? extends Expression> arguments)
Creates a ListInitExpression that uses a specified method to add elements to a collection.static ListInitExpression
Expressions. listInit(NewExpression newExpression, java.lang.reflect.Method method, Expression... arguments)
Creates a ListInitExpression that uses a specified method to add elements to a collection, using varargs.static ListInitExpression
Expressions. listInit(NewExpression newExpression, ElementInit... elementInits)
Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection, using varargs.static ListInitExpression
Expressions. listInit(NewExpression newExpression, Expression... arguments)
Creates a ListInitExpression that uses a method named "Add" to add elements to a collection, using varargs.static ListInitExpression
Expressions. listInitE(NewExpression newExpression, java.lang.Iterable<? extends Expression> arguments)
Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.static MemberInitExpression
Expressions. memberInit(NewExpression newExpression, java.lang.Iterable<? extends MemberBinding> bindings)
Represents an expression that creates a new object and initializes a property of the object.static MemberInitExpression
Expressions. memberInit(NewExpression newExpression, MemberBinding... bindings)
Represents an expression that creates a new object and initializes a property of the object, using varargs.Shuttle
ClassDeclarationFinder. preVisit(NewExpression newExpression)
Creates optimizer local to the newly generated anonymous class.Shuttle
Shuttle. preVisit(NewExpression newExpression)
protected Expression
ClassDeclarationFinder. tryOptimizeNewInstance(NewExpression newExpression)
Optimizesnew Type()
constructs.protected Expression
DeterministicCodeOptimizer. tryOptimizeNewInstance(NewExpression newExpression)
Optimizesnew Type()
constructs,Expression
ClassDeclarationFinder. visit(NewExpression newExpression, java.util.List<Expression> arguments, java.util.List<MemberDeclaration> memberDeclarations)
Expression
Shuttle. visit(NewExpression newExpression, java.util.List<Expression> arguments, java.util.List<MemberDeclaration> memberDeclarations)
R
Visitor. visit(NewExpression newExpression)
R
VisitorImpl. visit(NewExpression newExpression)
-