Tabnine Logo
ScalarFunctionCallExpression.substituteVar
Code IndexAdd Tabnine to your IDE (free)

How to use
substituteVar
method
in
org.apache.hyracks.algebricks.core.algebra.expressions.ScalarFunctionCallExpression

Best Java code snippets using org.apache.hyracks.algebricks.core.algebra.expressions.ScalarFunctionCallExpression.substituteVar (Showing top 1 results out of 315)

origin: apache/asterixdb

public static void prepareVarAndExpression(List<String> field, LogicalVariable resVar, List<LogicalVariable> vars,
    List<Mutable<ILogicalExpression>> assignExpressions, List<Mutable<ILogicalExpression>> varRefs,
    IVariableContext context, SourceLocation sourceLoc) {
  VariableReferenceExpression dummyVarRef = new VariableReferenceExpression(DUMMY_VAR);
  dummyVarRef.setSourceLocation(sourceLoc);
  ScalarFunctionCallExpression f = createFieldAccessExpression(dummyVarRef, field, sourceLoc);
  f.substituteVar(DUMMY_VAR, resVar);
  assignExpressions.add(new MutableObject<ILogicalExpression>(f));
  LogicalVariable v = context.newVar();
  vars.add(v);
  if (varRefs != null) {
    VariableReferenceExpression vRef = new VariableReferenceExpression(v);
    vRef.setSourceLocation(sourceLoc);
    varRefs.add(new MutableObject<ILogicalExpression>(vRef));
  }
}
org.apache.hyracks.algebricks.core.algebra.expressionsScalarFunctionCallExpressionsubstituteVar

Popular methods of ScalarFunctionCallExpression

  • <init>
  • getArguments
  • setSourceLocation
  • getAnnotations
  • getFunctionIdentifier
  • getFunctionInfo
  • cloneAnnotations
  • cloneArguments
  • equals
  • getOpaqueParameters
  • getSourceLocation
  • getUsedVariables
  • getSourceLocation,
  • getUsedVariables,
  • isFunctional,
  • setOpaqueParameters,
  • toString

Popular in Java

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • JButton (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now