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

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

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

origin: apache/asterixdb

  @Override
  public boolean transform(Mutable<ILogicalExpression> exprRef) {
    ILogicalExpression expr = exprRef.getValue();
    if (expr.getExpressionTag() != LogicalExpressionTag.FUNCTION_CALL) {
      return false;
    }
    AbstractFunctionCallExpression funcExpr = (AbstractFunctionCallExpression) expr;
    if (!funcExpr.getFunctionIdentifier().equals(BuiltinFunctions.META_KEY)) {
      return false;
    }

    // function is meta key access
    for (int i = 0; i < metaKeyAccessExpressions.size(); i++) {
      if (metaKeyAccessExpressions.get(i).equals(funcExpr)) {
        VariableReferenceExpression varRef = new VariableReferenceExpression(keyVars.get(i));
        varRef.setSourceLocation(expr.getSourceLocation());
        exprRef.setValue(varRef);
        return true;
      }
    }
    return false;
  }
}
org.apache.hyracks.algebricks.core.algebra.expressionsScalarFunctionCallExpressionequals

Popular methods of ScalarFunctionCallExpression

  • <init>
  • getArguments
  • setSourceLocation
  • getAnnotations
  • getFunctionIdentifier
  • getFunctionInfo
  • cloneAnnotations
  • cloneArguments
  • getOpaqueParameters
  • getSourceLocation
  • getUsedVariables
  • isFunctional
  • getUsedVariables,
  • isFunctional,
  • setOpaqueParameters,
  • substituteVar,
  • 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