public class EntityProjectionMaker extends CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
Modifier and Type | Class and Description |
---|---|
static class |
EntityProjectionMaker.NamedEntityProjection
An entity projection labeled with the class name or relationship name it is associated with.
|
Constructor and Description |
---|
EntityProjectionMaker(EntityDictionary dictionary,
RequestScope scope) |
visitId, visitQuery, visitStart, visitTerm
defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public static final String INCLUDE
public EntityProjectionMaker(EntityDictionary dictionary, RequestScope scope)
public EntityProjection parsePath(String path)
public EntityProjection parseInclude(Type<?> entityClass)
public Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitRootCollectionLoadEntities(CoreParser.RootCollectionLoadEntitiesContext ctx)
CoreBaseVisitor
rootCollectionLoadEntities
labeled alternative in CoreParser.rootCollection()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRootCollectionLoadEntities
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitRootCollectionLoadEntities
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treepublic Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitSubCollectionReadCollection(CoreParser.SubCollectionReadCollectionContext ctx)
CoreBaseVisitor
subCollectionReadCollection
labeled alternative in CoreParser.subCollection()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSubCollectionReadCollection
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitSubCollectionReadCollection
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treepublic Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitRootCollectionSubCollection(CoreParser.RootCollectionSubCollectionContext ctx)
CoreBaseVisitor
rootCollectionSubCollection
labeled alternative in CoreParser.rootCollection()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRootCollectionSubCollection
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitRootCollectionSubCollection
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treepublic Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitSubCollectionSubCollection(CoreParser.SubCollectionSubCollectionContext ctx)
CoreBaseVisitor
subCollectionSubCollection
labeled alternative in CoreParser.subCollection()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSubCollectionSubCollection
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitSubCollectionSubCollection
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treepublic Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitRootCollectionRelationship(CoreParser.RootCollectionRelationshipContext ctx)
CoreBaseVisitor
rootCollectionRelationship
labeled alternative in CoreParser.rootCollection()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRootCollectionRelationship
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitRootCollectionRelationship
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treepublic Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitSubCollectionRelationship(CoreParser.SubCollectionRelationshipContext ctx)
CoreBaseVisitor
subCollectionRelationship
labeled alternative in CoreParser.subCollection()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSubCollectionRelationship
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitSubCollectionRelationship
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treepublic Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitRootCollectionLoadEntity(CoreParser.RootCollectionLoadEntityContext ctx)
CoreBaseVisitor
rootCollectionLoadEntity
labeled alternative in CoreParser.rootCollection()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRootCollectionLoadEntity
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitRootCollectionLoadEntity
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treepublic Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitSubCollectionReadEntity(CoreParser.SubCollectionReadEntityContext ctx)
CoreBaseVisitor
subCollectionReadEntity
labeled alternative in CoreParser.subCollection()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSubCollectionReadEntity
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitSubCollectionReadEntity
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treepublic Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitRelationship(CoreParser.RelationshipContext ctx)
CoreBaseVisitor
CoreParser.relationship()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRelationship
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitRelationship
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treepublic Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> visitEntity(CoreParser.EntityContext ctx)
CoreBaseVisitor
CoreParser.entity()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEntity
in interface CoreVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
visitEntity
in class CoreBaseVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
ctx
- the parse treeprotected Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> aggregateResult(Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> aggregate, Function<Type<?>,EntityProjectionMaker.NamedEntityProjection> nextResult)
aggregateResult
in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Function<Type<?>,EntityProjectionMaker.NamedEntityProjection>>
public EntityProjection visitIncludePath(Path path)
Copyright © 2015–2021 Yahoo! Inc.. All rights reserved.