Record Class ElementGeneratorLateral.SortNode
java.lang.Object
java.lang.Record
org.aksw.jenax.graphql.sparql.v2.api2.ElementGeneratorLateral.SortNode
- Enclosing class:
- ElementGeneratorLateral
public static record ElementGeneratorLateral.SortNode(ElementGeneratorLateral.SortNode parent, int localIdx, org.apache.jena.graph.Node stateId, List<org.apache.jena.query.SortCondition> sortConditions, List<ElementGeneratorLateral.SortNode> children)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSortNode(ElementGeneratorLateral.SortNode parent, int localIdx, org.apache.jena.graph.Node stateId, List<org.apache.jena.query.SortCondition> sortConditions, List<ElementGeneratorLateral.SortNode> children) Creates an instance of aSortNoderecord class. -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.final booleanIndicates whether some other object is "equal to" this one.getPath()final inthashCode()Returns a hash code value for this object.intlocalIdx()Returns the value of thelocalIdxrecord component.parent()Returns the value of theparentrecord component.List<org.apache.jena.query.SortCondition>Returns the value of thesortConditionsrecord component.org.apache.jena.graph.NodestateId()Returns the value of thestateIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SortNode
public SortNode(ElementGeneratorLateral.SortNode parent, int localIdx, org.apache.jena.graph.Node stateId, List<org.apache.jena.query.SortCondition> sortConditions, List<ElementGeneratorLateral.SortNode> children) Creates an instance of aSortNoderecord class.- Parameters:
parent- the value for theparentrecord componentlocalIdx- the value for thelocalIdxrecord componentstateId- the value for thestateIdrecord componentsortConditions- the value for thesortConditionsrecord componentchildren- the value for thechildrenrecord component
-
-
Method Details
-
getPath
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
parent
Returns the value of theparentrecord component.- Returns:
- the value of the
parentrecord component
-
localIdx
public int localIdx()Returns the value of thelocalIdxrecord component.- Returns:
- the value of the
localIdxrecord component
-
stateId
public org.apache.jena.graph.Node stateId()Returns the value of thestateIdrecord component.- Returns:
- the value of the
stateIdrecord component
-
sortConditions
Returns the value of thesortConditionsrecord component.- Returns:
- the value of the
sortConditionsrecord component
-
children
Returns the value of thechildrenrecord component.- Returns:
- the value of the
childrenrecord component
-