Record Class CypherCompiler.CompilationResult
java.lang.Object
java.lang.Record
org.impulsegraph.compiler.cypher.CypherCompiler.CompilationResult
- Enclosing class:
CypherCompiler
public static record CypherCompiler.CompilationResult(ScmProgram ast, String seedVariable, String seedParameterOrValue)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCompilationResult(ScmProgram ast, String seedVariable, String seedParameterOrValue) Creates an instance of aCompilationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionast()Returns the value of theastrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theseedParameterOrValuerecord component.Returns the value of theseedVariablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompilationResult
Creates an instance of aCompilationResultrecord class.- Parameters:
ast- the value for theastrecord componentseedVariable- the value for theseedVariablerecord componentseedParameterOrValue- the value for theseedParameterOrValuerecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
ast
Returns the value of theastrecord component.- Returns:
- the value of the
astrecord component
-
seedVariable
Returns the value of theseedVariablerecord component.- Returns:
- the value of the
seedVariablerecord component
-
seedParameterOrValue
Returns the value of theseedParameterOrValuerecord component.- Returns:
- the value of the
seedParameterOrValuerecord component
-