Tabnine Logo
ListExpressionOperator.copyTo
Code IndexAdd Tabnine to your IDE (free)

How to use
copyTo
method
in
org.eclipse.persistence.expressions.ListExpressionOperator

Best Java code snippets using org.eclipse.persistence.expressions.ListExpressionOperator.copyTo (Showing top 9 results out of 315)

origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Print SQL
 */
public void printSQL(ExpressionSQLPrinter printer) {
  ListExpressionOperator platformOperator = (ListExpressionOperator)getPlatformOperator(printer.getPlatform());
  platformOperator.copyTo(operator);
  operator.printCollection(getChildren(), printer);
}
 
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Print SQL
 */
public void printSQL(ExpressionSQLPrinter printer) {
  ListExpressionOperator platformOperator = (ListExpressionOperator)getPlatformOperator(printer.getPlatform());
  platformOperator.copyTo(operator);
  ((ListExpressionOperator)operator).setIsComplete(true);
  operator.printCollection(getChildren(), printer);
}
 
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Print SQL
 */
public void printSQL(ExpressionSQLPrinter printer) {
  ListExpressionOperator platformOperator = (ListExpressionOperator)getPlatformOperator(printer.getPlatform());
  platformOperator.copyTo(operator);
  ((ListExpressionOperator)operator).setIsComplete(true);
  operator.printCollection(getChildren(), printer);
}
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: 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: 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: 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: 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;
}
org.eclipse.persistence.expressionsListExpressionOperatorcopyTo

Popular methods of ListExpressionOperator

  • <init>
  • bePrefix
  • incrementNumberOfItems
  • setIsBindingSupported
  • setNodeClass
  • setNumberOfItems
  • setSelector
  • setSeparator
  • setSeparators
  • setStartString
  • setStartStrings
  • setTerminationString
  • setStartStrings,
  • setTerminationString,
  • setTerminationStrings,
  • setType,
  • getNumberOfItems,
  • setIsComplete

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • requestLocationUpdates (LocationManager)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • BoxLayout (javax.swing)
  • From CI to AI: The AI layer in your organization
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