public class AstJoin extends AbstractAstNode implements AstTerm<AstJoin>
AstNode.AbstractVisitor<C,R>, AstNode.Visitor<C,R>| Modifier and Type | Field and Description |
|---|---|
AstGrouping |
grouping
The grouping properties for each equivalent join.
|
AstModelMapping |
mapping
The mapping function how to convert join target to the result model.
|
AstModelReference |
reference
The reference to the join target model.
|
| Constructor and Description |
|---|
AstJoin(Region region,
AstModelReference reference,
AstModelMapping mapping,
AstGrouping grouping)
Creates and returns a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<C,R> R |
accept(C context,
AstNode.Visitor<C,R> visitor)
Accepts and calls back the visitor.
|
boolean |
equals(Object obj) |
Region |
getRegion()
Returns the region of this node.
|
AstJoin |
getUnit()
Returns itself.
|
int |
hashCode() |
public final AstModelReference reference
public final AstModelMapping mapping
This can be null if mapping is identity.
public final AstGrouping grouping
This can be null if use total grouping.
public AstJoin(Region region, AstModelReference reference, AstModelMapping mapping, AstGrouping grouping)
region - the region of this node on the enclosing script, or null if unknownreference - the reference to the join target modelmapping - the mapping function, or null on identity mappinggrouping - the grouping properties, or null on total groupingIllegalArgumentException - if some parameters were nullpublic Region getRegion()
AstNodepublic <C,R> R accept(C context,
AstNode.Visitor<C,R> visitor)
AstNodeCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.