Codota Logo
ArgumentListFunctionExpression.setOperator
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain ArgumentListFunctionExpression
private void myMethod () {
ArgumentListFunctionExpression a =
  • Codota Iconnew ArgumentListFunctionExpression()
  • Smart code suggestions by Codota
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public ArgumentListFunctionExpression coalesce() {
  ListExpressionOperator coalesceOperator = (ListExpressionOperator)getOperator(ExpressionOperator.Coalesce);
  ListExpressionOperator clonedCoalesceOperator = new ListExpressionOperator();
  coalesceOperator.copyTo(clonedCoalesceOperator);
  ArgumentListFunctionExpression expression = new ArgumentListFunctionExpression();
  expression.setBaseExpression(this);
  expression.setOperator(clonedCoalesceOperator);
  return expression;
}
origin: com.haulmont.thirdparty/eclipselink

public ArgumentListFunctionExpression coalesce() {
  ListExpressionOperator coalesceOperator = (ListExpressionOperator)getOperator(ExpressionOperator.Coalesce);
  ListExpressionOperator clonedCoalesceOperator = new ListExpressionOperator();
  coalesceOperator.copyTo(clonedCoalesceOperator);
  ArgumentListFunctionExpression expression = new ArgumentListFunctionExpression();
  expression.setBaseExpression(this);
  expression.setOperator(clonedCoalesceOperator);
  return expression;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Creates an ArgumentListFunctionExpression that is capable of creating a case statement of the form:
 * <blockquote><pre>
 * SQL: CASE name WHEN "Robert" THEN "Bob"
 *     WHEN "Susan" THEN "Sue"
 *  ELSE "No-Nickname"
 * </pre></blockquote>
 * 
 * This expression must be manipulated to successfully build a case statement by adding appropriate 
 * children to it.
 * 
 * A child must be added for the "case expression" (name above), a pair of children must be added for 
 * each "when then" expression and a child must be added for the else.
 * 
 * @see ArgumentListFunctionExpression
 */
public ArgumentListFunctionExpression caseStatement() {
  
  ListExpressionOperator caseOperator = (ListExpressionOperator)getOperator(ExpressionOperator.Case);
  ListExpressionOperator clonedCaseOperator = new ListExpressionOperator();
  caseOperator.copyTo(clonedCaseOperator);
  ArgumentListFunctionExpression expression = new ArgumentListFunctionExpression();
  expression.setBaseExpression(this);
  expression.setOperator(clonedCaseOperator);
  return expression;
}
 
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Creates an ArgumentListFunctionExpression that is capable of creating a case statement of the form:
 * <blockquote><pre>
 * SQL: CASE WHEN name = "Robert" THEN "Bob"
 *     WHEN name = "Susan" THEN "Sue"
 *  ELSE "No-Nickname" 
 * </pre></blockquote>
 * 
 * This expression must be manipulated to successfully build a case statement by adding appropriate 
 * children to it.
 * 
 * A pair of children must be added for  each "when then" expression and a child must be added for the else.
 * 
 * @see ArgumentListFunctionExpression
 */
public ArgumentListFunctionExpression caseConditionStatement() {
  ListExpressionOperator caseOperator = (ListExpressionOperator)getOperator(ExpressionOperator.CaseCondition);
  ListExpressionOperator clonedCaseOperator = new ListExpressionOperator();
  caseOperator.copyTo(clonedCaseOperator);
  ArgumentListFunctionExpression expression = new ArgumentListFunctionExpression();
  expression.setBaseExpression(this);
  expression.setOperator(clonedCaseOperator);
  return expression;
}
 
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Creates an ArgumentListFunctionExpression that is capable of creating a case statement of the form:
 * <blockquote><pre>
 * SQL: CASE name WHEN "Robert" THEN "Bob"
 *     WHEN "Susan" THEN "Sue"
 *  ELSE "No-Nickname"
 * </pre></blockquote>
 *
 * This expression must be manipulated to successfully build a case statement by adding appropriate
 * children to it.
 *
 * A child must be added for the "case expression" (name above), a pair of children must be added for
 * each "when then" expression and a child must be added for the else.
 *
 * @see ArgumentListFunctionExpression
 */
public ArgumentListFunctionExpression caseStatement() {
  ListExpressionOperator caseOperator = (ListExpressionOperator)getOperator(ExpressionOperator.Case);
  ListExpressionOperator clonedCaseOperator = new ListExpressionOperator();
  caseOperator.copyTo(clonedCaseOperator);
  ArgumentListFunctionExpression expression = new ArgumentListFunctionExpression();
  expression.setBaseExpression(this);
  expression.setOperator(clonedCaseOperator);
  return expression;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Creates an ArgumentListFunctionExpression that is capable of creating a case statement of the form:
 * <blockquote><pre>
 * SQL: CASE WHEN name = "Robert" THEN "Bob"
 *     WHEN name = "Susan" THEN "Sue"
 *  ELSE "No-Nickname"
 * </pre></blockquote>
 *
 * This expression must be manipulated to successfully build a case statement by adding appropriate
 * children to it.
 *
 * A pair of children must be added for  each "when then" expression and a child must be added for the else.
 *
 * @see ArgumentListFunctionExpression
 */
public ArgumentListFunctionExpression caseConditionStatement() {
  ListExpressionOperator caseOperator = (ListExpressionOperator)getOperator(ExpressionOperator.CaseCondition);
  ListExpressionOperator clonedCaseOperator = new ListExpressionOperator();
  caseOperator.copyTo(clonedCaseOperator);
  ArgumentListFunctionExpression expression = new ArgumentListFunctionExpression();
  expression.setBaseExpression(this);
  expression.setOperator(clonedCaseOperator);
  return expression;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public ArgumentListFunctionExpression coalesce() {
  ListExpressionOperator anOperator = new ListExpressionOperator();
  anOperator.setSelector(ExpressionOperator.Coalesce);
  anOperator.setNodeClass(FunctionExpression.class);
  anOperator.setType(ExpressionOperator.FunctionOperator);
  anOperator.bePrefix();
  anOperator.setStartString("COALESCE(");
  anOperator.setSeparator(",");
  anOperator.setTerminationString(" )");
  ArgumentListFunctionExpression expression = new ArgumentListFunctionExpression();
  expression.setBaseExpression(this);
  expression.setOperator(anOperator);
  return expression;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

expression.setBaseExpression(this);
expression.setOperator(operator);
return expression;
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

expression.setBaseExpression(this);
expression.setOperator(operator);
return expression;
org.eclipse.persistence.internal.expressionsArgumentListFunctionExpressionsetOperator

Javadoc

INTERNAL: Set the operator for this expression. The operator must be a ListExpressionOperator This method asserts that the passed argument is a ListExpressionOperator rather than throwing an exception since this method is entirely internal and the user should never get this behavior

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
  • addRightMostChild
    INTERNAL: Add a child and ensure it is the rightmost in the tree as long as it is in the tree If the

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now