EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql
Class FromSubqueryResolver.VirtualMappingBuilder

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
      extended by org.eclipse.persistence.jpa.jpql.parser.AbstractEclipseLinkExpressionVisitor
          extended by org.eclipse.persistence.jpa.jpql.FromSubqueryResolver.VirtualMappingBuilder
All Implemented Interfaces:
EclipseLinkExpressionVisitor, ExpressionVisitor
Enclosing class:
FromSubqueryResolver

protected class FromSubqueryResolver.VirtualMappingBuilder
extends AbstractEclipseLinkExpressionVisitor

This visitor will traverse the SELECT clause and create virtual mappings for the state field path expressions and any expression aliased with a result variable.


Field Summary
protected  IManagedType parent
          The virtual IManagedType.
 
Constructor Summary
protected FromSubqueryResolver.VirtualMappingBuilder()
           
 
Method Summary
protected  IMapping buildMapping(java.lang.String name, Resolver resolver)
           
protected  java.lang.String literal(Expression expression, LiteralType literalType)
           
 void visit(CollectionExpression expression)
          Visits the CollectionExpression expression.
 void visit(ResultVariable expression)
          Visits the ResultVariable expression.
 void visit(SimpleSelectClause expression)
          Visits the SimpleSelectClause expression.
 void visit(SimpleSelectStatement expression)
          Visits the SimpleSelectStatement expression.
 void visit(StateFieldPathExpression expression)
          Visits the StateFieldPathExpression expression.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractEclipseLinkExpressionVisitor
visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.persistence.jpa.jpql.parser.ExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 

Field Detail

parent

protected IManagedType parent
The virtual IManagedType.

Constructor Detail

FromSubqueryResolver.VirtualMappingBuilder

protected FromSubqueryResolver.VirtualMappingBuilder()
Method Detail

buildMapping

protected IMapping buildMapping(java.lang.String name,
                                Resolver resolver)

literal

protected java.lang.String literal(Expression expression,
                                   LiteralType literalType)

visit

public void visit(CollectionExpression expression)
Visits the CollectionExpression expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AbstractExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(ResultVariable expression)
Visits the ResultVariable expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AbstractExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(SimpleSelectClause expression)
Visits the SimpleSelectClause expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AbstractExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(SimpleSelectStatement expression)
Visits the SimpleSelectStatement expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AbstractExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(StateFieldPathExpression expression)
Visits the StateFieldPathExpression expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AbstractExpressionVisitor
Parameters:
expression - The Expression to visit

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference