Top Description Constructors Methods
org.eclipse.persistence.internal.jpa.parsing

public Class AvgNode

extends AggregateNode
Class Inheritance
Imports
org.eclipse.persistence.queries.ObjectLevelReadQuery, .ReportQuery, org.eclipse.persistence.expressions.Expression

INTERNAL

Purpose: Model a AVG

Responsibilities:

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Expression
public void
applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.applyToQuery.

INTERNAL Apply this node to the passed query
public String
getAsString()

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.getAsString.

INTERNAL Get the string representation of this node.
public void
validate(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.validate.

INTERNAL Validate node and calculate its type.
Inherited from org.eclipse.persistence.internal.jpa.parsing.AggregateNode:
generateExpressionisAggregateNodeisAliasableNoderesolveAttributeresolveClasssetDistinctusesDistinct

Constructor Detail

AvgNodeback to summary
public AvgNode()

Method Detail

addAggregateExressionback to summary
protected Expression addAggregateExression(Expression expr)

Implements abstract org.eclipse.persistence.internal.jpa.parsing.AggregateNode.addAggregateExression.

INTERNAL

Annotations
@Override
applyToQueryback to summary
public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.applyToQuery.

INTERNAL Apply this node to the passed query

Annotations
@Override
getAsStringback to summary
public String getAsString()

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.getAsString.

INTERNAL Get the string representation of this node.

Annotations
@Override
validateback to summary
public void validate(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.validate.

INTERNAL Validate node and calculate its type.

Annotations
@Override