Record Class ElementNode.JoinLink
java.lang.Object
java.lang.Record
org.aksw.jenax.graphql.sparql.v2.model.ElementNode.JoinLink
- Enclosing class:
- ElementNode
public static record ElementNode.JoinLink(ElementNode child, List<org.apache.jena.sparql.core.Var> parentVars, List<org.apache.jena.sparql.core.Var> childVars)
extends Record
Which variables of the parent join with which variables of the child
Could extend to List>Expr< or ExprList
-
Constructor Summary
ConstructorsConstructorDescriptionJoinLink(ElementNode child, List<org.apache.jena.sparql.core.Var> parentVars, List<org.apache.jena.sparql.core.Var> childVars) Creates an instance of aJoinLinkrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchild()Returns the value of thechildrecord component.List<org.apache.jena.sparql.core.Var>Returns the value of thechildVarsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.List<org.apache.jena.sparql.core.Var>Returns the value of theparentVarsrecord component.intsize()final StringtoString()Avoid cycles in toString().
-
Constructor Details
-
JoinLink
public JoinLink(ElementNode child, List<org.apache.jena.sparql.core.Var> parentVars, List<org.apache.jena.sparql.core.Var> childVars) Creates an instance of aJoinLinkrecord class.- Parameters:
child- the value for thechildrecord componentparentVars- the value for theparentVarsrecord componentchildVars- the value for thechildVarsrecord component
-
-
Method Details
-
size
public int size() -
toString
Avoid cycles in toString(). -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
child
Returns the value of thechildrecord component.- Returns:
- the value of the
childrecord component
-
parentVars
Returns the value of theparentVarsrecord component.- Returns:
- the value of the
parentVarsrecord component
-
childVars
Returns the value of thechildVarsrecord component.- Returns:
- the value of the
childVarsrecord component
-