public final class RelationalPathExtractor extends Object implements Visitor<Set<RelationalPath<?>>,Set<RelationalPath<?>>>
RelationalPathExtractor
extracts RelationalPath
instances from expressions and queriesModifier and Type | Field and Description |
---|---|
static RelationalPathExtractor |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
static Set<RelationalPath<?>> |
extract(Expression<?> expr) |
static Set<RelationalPath<?>> |
extract(QueryMetadata md) |
Set<RelationalPath<?>> |
visit(Constant<?> expr,
Set<RelationalPath<?>> known)
Visit a Constant instance with the given context
|
Set<RelationalPath<?>> |
visit(FactoryExpression<?> expr,
Set<RelationalPath<?>> known)
Visit a FactoryExpression instance with the given context
|
Set<RelationalPath<?>> |
visit(Operation<?> expr,
Set<RelationalPath<?>> known)
Visit an Operation instance with the given context
|
Set<RelationalPath<?>> |
visit(ParamExpression<?> expr,
Set<RelationalPath<?>> known)
Visit a ParamExpression instance with the given context
|
Set<RelationalPath<?>> |
visit(Path<?> expr,
Set<RelationalPath<?>> known)
Visit a Path instance with the given context
|
Set<RelationalPath<?>> |
visit(SubQueryExpression<?> expr,
Set<RelationalPath<?>> known)
Visit a SubQueryExpression instance with the given context
|
Set<RelationalPath<?>> |
visit(TemplateExpression<?> expr,
Set<RelationalPath<?>> known)
Visit a TemplateExpression instance with the given context
|
public static final RelationalPathExtractor DEFAULT
public static Set<RelationalPath<?>> extract(QueryMetadata md)
public static Set<RelationalPath<?>> extract(Expression<?> expr)
public Set<RelationalPath<?>> visit(Constant<?> expr, Set<RelationalPath<?>> known)
Visitor
visit
in interface Visitor<Set<RelationalPath<?>>,Set<RelationalPath<?>>>
expr
- expression to visitknown
- context of the visit or null, if not usedpublic Set<RelationalPath<?>> visit(FactoryExpression<?> expr, Set<RelationalPath<?>> known)
Visitor
visit
in interface Visitor<Set<RelationalPath<?>>,Set<RelationalPath<?>>>
expr
- expression to visitknown
- context of the visit or null, if not usedpublic Set<RelationalPath<?>> visit(Operation<?> expr, Set<RelationalPath<?>> known)
Visitor
visit
in interface Visitor<Set<RelationalPath<?>>,Set<RelationalPath<?>>>
expr
- expression to visitknown
- context of the visit or null, if not usedpublic Set<RelationalPath<?>> visit(ParamExpression<?> expr, Set<RelationalPath<?>> known)
Visitor
visit
in interface Visitor<Set<RelationalPath<?>>,Set<RelationalPath<?>>>
expr
- expression to visitknown
- context of the visit or null, if not usedpublic Set<RelationalPath<?>> visit(Path<?> expr, Set<RelationalPath<?>> known)
Visitor
visit
in interface Visitor<Set<RelationalPath<?>>,Set<RelationalPath<?>>>
expr
- expression to visitknown
- context of the visit or null, if not usedpublic Set<RelationalPath<?>> visit(SubQueryExpression<?> expr, Set<RelationalPath<?>> known)
Visitor
visit
in interface Visitor<Set<RelationalPath<?>>,Set<RelationalPath<?>>>
expr
- expression to visitknown
- context of the visit or null, if not usedpublic Set<RelationalPath<?>> visit(TemplateExpression<?> expr, Set<RelationalPath<?>> known)
Visitor
visit
in interface Visitor<Set<RelationalPath<?>>,Set<RelationalPath<?>>>
expr
- expression to visitknown
- context of the visit or null, if not usedCopyright © 2007–2016 Querydsl. All rights reserved.