Tabnine Logo
ArgumentListFunctionExpression.addRightMostChild
Code IndexAdd Tabnine to your IDE (free)

How to use
addRightMostChild
method
in
org.eclipse.persistence.internal.expressions.ArgumentListFunctionExpression

Best Java code snippets using org.eclipse.persistence.internal.expressions.ArgumentListFunctionExpression.addRightMostChild (Showing top 4 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

/**
 * Add an "else" clause to the case expression.
 * @param result  "else" result
 * @return expression
 */
public Expression<R> otherwise(R result){
   org.eclipse.persistence.expressions.Expression resultExp = org.eclipse.persistence.expressions.Expression.from(result, new ExpressionBuilder());
  ((ArgumentListFunctionExpression)currentNode).addRightMostChild(resultExp);
  return this;
}
origin: com.haulmont.thirdparty/eclipselink

  /**
   * Add an "else" clause to the case expression.
   * @param result  "else" result expression
   * @return expression
   */
  public Expression<R> otherwise(Expression<? extends R> result){
    org.eclipse.persistence.expressions.Expression resultExp = ((InternalSelection)result).getCurrentNode();
    resultExp = org.eclipse.persistence.expressions.Expression.from(resultExp, currentNode);
    ((ArgumentListFunctionExpression)currentNode).addRightMostChild(resultExp);
    return this;
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Add an "else" clause to the case expression.
 * @param result  "else" result
 * @return expression
 */
public Expression<R> otherwise(R result){
  org.eclipse.persistence.expressions.Expression resultExp = org.eclipse.persistence.expressions.Expression.from(result, new ExpressionBuilder());
  ((ArgumentListFunctionExpression)currentNode).addRightMostChild(resultExp);
  return this;
}
origin: com.haulmont.thirdparty/eclipselink

  /**
   * Add an "else" clause to the case expression.
   * @param result  "else" result expression
   * @return expression
   */
  public Expression<R> otherwise(Expression<? extends R> result){
    
    org.eclipse.persistence.expressions.Expression resultExp = ((InternalSelection)result).getCurrentNode();
    resultExp = org.eclipse.persistence.expressions.Expression.from(resultExp, currentNode);
    ((ArgumentListFunctionExpression)currentNode).addRightMostChild(resultExp);
    return this;
  }
}
org.eclipse.persistence.internal.expressionsArgumentListFunctionExpressionaddRightMostChild

Javadoc

INTERNAL: Add a child and ensure it is the rightmost in the tree as long as it is in the tree If there is already a node that is set as therightmost node, replace it

Popular methods of ArgumentListFunctionExpression

  • <init>
  • addChild
    INTERNAL: Add a new Expression to the list of arguments. This method will update the list of argumen
  • getChildren
  • getPlatformOperator
  • setBaseExpression
  • setOperator
    INTERNAL: Set the operator for this expression. The operator must be a ListExpressionOperator This m

Popular in Java

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top Sublime Text 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