Record Class GraphQlFieldRewrite<K>
java.lang.Object
java.lang.Record
org.aksw.jenax.graphql.sparql.v2.rewrite.GraphQlFieldRewrite<K>
- Type Parameters:
K-
public record GraphQlFieldRewrite<K>(ElementNode rootElementNode, AggStateBuilder<org.apache.jena.sparql.engine.binding.Binding,org.apache.jena.sparql.function.FunctionEnv,K,org.apache.jena.graph.Node> rootAggBuilder, boolean isSingle, graphql.language.Node<?> graphQlNode)
extends Record
Intermediate state for generating the final SPARQL query.
-
Constructor Summary
ConstructorsConstructorDescriptionGraphQlFieldRewrite(ElementNode rootElementNode, AggStateBuilder<org.apache.jena.sparql.engine.binding.Binding, org.apache.jena.sparql.function.FunctionEnv, K, org.apache.jena.graph.Node> rootAggBuilder, boolean isSingle, graphql.language.Node<?> graphQlNode) Creates an instance of aGraphQlFieldRewriterecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.graphql.language.Node<?>Returns the value of thegraphQlNoderecord component.final inthashCode()Returns a hash code value for this object.booleanisSingle()Returns the value of theisSinglerecord component.AggStateBuilder<org.apache.jena.sparql.engine.binding.Binding,org.apache.jena.sparql.function.FunctionEnv, K, org.apache.jena.graph.Node> Returns the value of therootAggBuilderrecord component.Returns the value of therootElementNoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GraphQlFieldRewrite
public GraphQlFieldRewrite(ElementNode rootElementNode, AggStateBuilder<org.apache.jena.sparql.engine.binding.Binding, org.apache.jena.sparql.function.FunctionEnv, K, org.apache.jena.graph.Node> rootAggBuilder, boolean isSingle, graphql.language.Node<?> graphQlNode) Creates an instance of aGraphQlFieldRewriterecord class.- Parameters:
rootElementNode- the value for therootElementNoderecord componentrootAggBuilder- the value for therootAggBuilderrecord componentisSingle- the value for theisSinglerecord componentgraphQlNode- the value for thegraphQlNoderecord component
-
-
Method Details
-
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 '=='. -
rootElementNode
Returns the value of therootElementNoderecord component.- Returns:
- the value of the
rootElementNoderecord component
-
rootAggBuilder
public AggStateBuilder<org.apache.jena.sparql.engine.binding.Binding,org.apache.jena.sparql.function.FunctionEnv, rootAggBuilder()K, org.apache.jena.graph.Node> Returns the value of therootAggBuilderrecord component.- Returns:
- the value of the
rootAggBuilderrecord component
-
isSingle
public boolean isSingle()Returns the value of theisSinglerecord component.- Returns:
- the value of the
isSinglerecord component
-
graphQlNode
public graphql.language.Node<?> graphQlNode()Returns the value of thegraphQlNoderecord component.- Returns:
- the value of the
graphQlNoderecord component
-