Top Description Fields Constructors Methods
org.eclipse.persistence.internal.expressions

public Class ArgumentListFunctionExpression

extends FunctionExpression
Class Inheritance
Imports
java.util.Map, org.eclipse.persistence.expressions.Expression, .ExpressionOperator, .ListExpressionOperator, org.eclipse.persistence.internal.databaseaccess.DatabasePlatform

INTERNAL: This an extended FunctionExpression that allows the argument list to grow after it is created. New expressions may be added to the list and the printing of the database string is handled automatically This expression's addChild() method is used to construct the list.

Note

This expression is designed to handle addition of children up until the first normalization (execution) of a query involving this expression. After normalization, the behavior is undefined.

Author
tware
See Also
ListExpressionOperator, Expression#coalesce(), Expression#caseStatement()

Field Summary

Modifier and TypeField and Description
protected Boolean
Inherited from org.eclipse.persistence.internal.expressions.FunctionExpression:
childrenoperatorplatformOperatorresultType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
addChild(Expression argument)

Overrides org.eclipse.persistence.internal.expressions.FunctionExpression.addChild.

INTERNAL: Add a new Expression to the list of arguments.
public synchronized void
addRightMostChild(Expression argument)

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

public void
protected void
postCopyIn(Map<K, V> alreadyDone)

Overrides org.eclipse.persistence.internal.expressions.FunctionExpression.postCopyIn.

INTERNAL: Used for cloning.
public void
public void
setOperator(ExpressionOperator theOperator)

Overrides org.eclipse.persistence.internal.expressions.FunctionExpression.setOperator.

INTERNAL: Set the operator for this expression.
Inherited from org.eclipse.persistence.internal.expressions.FunctionExpression:
aliasForTableasOfcomputeHashCodecreatecreatecreateWithBaseLastdescriptionOfNodeTypedoesConformequalsgetChildrengetFieldsgetLeafMappinggetLeafQueryKeyForgetMappingOfFirstPrimaryKeygetOperatorgetPlatformOperatorgetResultTypegetSelectionFieldshasResultTypeisFunctionExpressionisObjectComparisoniterateOnnormalizeprepareObjectAttributeCountprintJavarebuildOnresetPlaceHolderBuildersetLocalBasesetResultTypetwistedForBaseAndContextvalueFromObjectwriteDescriptionOnwriteFieldswriteSubexpressionsTo

Field Detail

hasLastChildback to summary
protected Boolean hasLastChild

Constructor Detail

ArgumentListFunctionExpressionback to summary
public ArgumentListFunctionExpression()

Method Detail

addChildback to summary
public synchronized void addChild(Expression argument)

Overrides org.eclipse.persistence.internal.expressions.FunctionExpression.addChild.

INTERNAL: Add a new Expression to the list of arguments. This method will update the list of arguments and any constant strings that are required to be printed with the arguments

Annotations
@Override
addRightMostChildback to summary
public synchronized void addRightMostChild(Expression argument)

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

initializePlatformOperatorback to summary
public void initializePlatformOperator(DatabasePlatform platform)

Overrides org.eclipse.persistence.internal.expressions.FunctionExpression.initializePlatformOperator.

INTERNAL:

Annotations
@Override
postCopyInback to summary
protected void postCopyIn(Map<K, V> alreadyDone)

Overrides org.eclipse.persistence.internal.expressions.FunctionExpression.postCopyIn.

Doc from org.eclipse.persistence.internal.expressions.FunctionExpression.postCopyIn.

INTERNAL: Used for cloning.

Annotations
@Override
printSQLback to summary
public void printSQL(ExpressionSQLPrinter printer)

Overrides org.eclipse.persistence.internal.expressions.FunctionExpression.printSQL.

INTERNAL: Print SQL

Annotations
@Override
setOperatorback to summary
public void setOperator(ExpressionOperator theOperator)

Overrides org.eclipse.persistence.internal.expressions.FunctionExpression.setOperator.

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

Annotations
@Override