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

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

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

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

/**
 * INTERNAL:
 * Build operator.
 * Note: This operator works differently from other operators.
 * @see Expression#caseStatement(Map, String)
 */
public static ExpressionOperator caseStatement() {
  ListExpressionOperator exOperator = new ListExpressionOperator();
  exOperator.setType(FunctionOperator);
  exOperator.setSelector(Case);
  exOperator.bePrefix();
  exOperator.setNodeClass(FunctionExpression.class);
  exOperator.setIsBindingSupported(false);
  return exOperator;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Build operator.
 * Note: This operator works differently from other operators.
 * @see Expression#caseStatement(Map, Object)
 */
public static ExpressionOperator coalesce() {
  ListExpressionOperator exOperator = new ListExpressionOperator();
  exOperator.setType(FunctionOperator);
  exOperator.setSelector(Coalesce);
  exOperator.bePrefix();
  exOperator.setNodeClass(ClassConstants.ArgumentListFunctionExpression_Class);
  exOperator.setStartString("COALESCE(");
  exOperator.setSeparator(",");
  exOperator.setTerminationString(" )");
  return exOperator;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Build operator.
 * Note: This operator works differently from other operators.
 * @see Expression#caseStatement(Map, Object)
 */
public static ExpressionOperator coalesce() {
  ListExpressionOperator exOperator = new ListExpressionOperator();
  exOperator.setType(FunctionOperator);
  exOperator.setSelector(Coalesce);
  exOperator.bePrefix();
  exOperator.setNodeClass(ClassConstants.ArgumentListFunctionExpression_Class);
  exOperator.setStartString("COALESCE(");
  exOperator.setSeparator(",");
  exOperator.setTerminationString(" )");
  return exOperator;
}
 
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Build operator.
 * Note: This operator works differently from other operators.
 * @see Expression#caseStatement(Map, String)
 */
public static ExpressionOperator coalesce() {
  ListExpressionOperator exOperator = new ListExpressionOperator();
  exOperator.setType(FunctionOperator);
  exOperator.setSelector(Coalesce);
  exOperator.bePrefix();
  exOperator.setNodeClass(FunctionExpression.class);
  exOperator.setStartString("COALESCE(");
  exOperator.setSeparator(",");
  exOperator.setTerminationString(" )");
  return exOperator;
}
 
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Build operator.
 * Note: This operator works differently from other operators.
 * @see Expression#caseStatement(Map, Object)
 */
public static ExpressionOperator caseStatement() {
  ListExpressionOperator exOperator = new ListExpressionOperator();
  exOperator.setType(FunctionOperator);
  exOperator.setSelector(Case);
  exOperator.bePrefix();
  exOperator.setNodeClass(ClassConstants.ArgumentListFunctionExpression_Class);
  exOperator.setIsBindingSupported(false);
  exOperator.setStartString("CASE ");
  exOperator.setSeparators(new String[]{" WHEN ", " THEN "});
  exOperator.setTerminationStrings(new String[]{" ELSE ", " END"});
  return exOperator;
}
 
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Build operator.
 * Note: This operator works differently from other operators.
 * @see Expression#caseStatement(Map, Object)
 */
public static ExpressionOperator caseStatement() {
  ListExpressionOperator exOperator = new ListExpressionOperator();
  exOperator.setType(FunctionOperator);
  exOperator.setSelector(Case);
  exOperator.bePrefix();
  exOperator.setNodeClass(ClassConstants.ArgumentListFunctionExpression_Class);
  exOperator.setIsBindingSupported(false);
  exOperator.setStartString("CASE ");
  exOperator.setSeparators(new String[]{" WHEN ", " THEN "});
  exOperator.setTerminationStrings(new String[]{" ELSE ", " END"});
  return exOperator;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Build operator.
 * Note: This operator works differently from other operators.
 * @see Expression#caseStatement(Map, Object)
 */
public static ExpressionOperator caseConditionStatement() {
  ListExpressionOperator exOperator = new ListExpressionOperator();
  exOperator.setType(FunctionOperator);
  exOperator.setSelector(CaseCondition);
  exOperator.bePrefix();
  exOperator.setNodeClass(ClassConstants.ArgumentListFunctionExpression_Class);
  exOperator.setIsBindingSupported(false);
  exOperator.setStartStrings(new String[]{"CASE WHEN ", " THEN "});
  exOperator.setSeparators(new String[]{" WHEN ", " THEN "});
  exOperator.setTerminationStrings(new String[]{" ELSE ", " END "});
  return exOperator;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Build operator.
 * Note: This operator works differently from other operators.
 * @see Expression#caseStatement(Map, Object)
 */
public static ExpressionOperator caseConditionStatement() {
  ListExpressionOperator exOperator = new ListExpressionOperator();
  exOperator.setType(FunctionOperator);
  exOperator.setSelector(CaseCondition);
  exOperator.bePrefix();
  exOperator.setNodeClass(ClassConstants.ArgumentListFunctionExpression_Class);
  exOperator.setIsBindingSupported(false);
  exOperator.setStartStrings(new String[]{"CASE WHEN ", " THEN "});
  exOperator.setSeparators(new String[]{" WHEN ", " THEN "});
  exOperator.setTerminationStrings(new String[]{" ELSE ", " END "});
  return exOperator;
}
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

operator.setSelector(ExpressionOperator.Case);
operator.setNodeClass(FunctionExpression.class);
operator.setType(ExpressionOperator.FunctionOperator);
operator.bePrefix();
operator.setIsBindingSupported(false);
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

operator.setSelector(ExpressionOperator.Case);
operator.setNodeClass(FunctionExpression.class);
operator.setType(ExpressionOperator.FunctionOperator);
operator.bePrefix();
operator.setIsBindingSupported(false);
org.eclipse.persistence.expressionsListExpressionOperatorsetType

Popular methods of ListExpressionOperator

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (Timer)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • 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