Record Class CompiledQuery.QueryBindingState
java.lang.Object
java.lang.Record
org.impulsegraph.vm.CompiledQuery.QueryBindingState
- Enclosing class:
CompiledQuery
public static record CompiledQuery.QueryBindingState(ImpulseGraphSnapshot snapshot, MethodHandle methodHandle, JitDriver jitDriver, VmHandlers.Instruction[] decodedInstructions, MemorySegment programSeg, long instructionCount, Map<String,Integer> relationIdMap)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionQueryBindingState(ImpulseGraphSnapshot snapshot, MethodHandle methodHandle, MemorySegment programSeg, long instructionCount, Map<String, Integer> relationIdMap) QueryBindingState(ImpulseGraphSnapshot snapshot, MethodHandle methodHandle, JitDriver jitDriver, MemorySegment programSeg, long instructionCount, Map<String, Integer> relationIdMap) QueryBindingState(ImpulseGraphSnapshot snapshot, MethodHandle methodHandle, JitDriver jitDriver, VmHandlers.Instruction[] decodedInstructions, MemorySegment programSeg, long instructionCount, Map<String, Integer> relationIdMap) Creates an instance of aQueryBindingStaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedecodedInstructionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of theinstructionCountrecord component.Returns the value of thejitDriverrecord component.Returns the value of themethodHandlerecord component.Returns the value of theprogramSegrecord component.Returns the value of therelationIdMaprecord component.snapshot()Returns the value of thesnapshotrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueryBindingState
public QueryBindingState(ImpulseGraphSnapshot snapshot, MethodHandle methodHandle, JitDriver jitDriver, MemorySegment programSeg, long instructionCount, Map<String, Integer> relationIdMap) -
QueryBindingState
public QueryBindingState(ImpulseGraphSnapshot snapshot, MethodHandle methodHandle, MemorySegment programSeg, long instructionCount, Map<String, Integer> relationIdMap) -
QueryBindingState
public QueryBindingState(ImpulseGraphSnapshot snapshot, MethodHandle methodHandle, JitDriver jitDriver, VmHandlers.Instruction[] decodedInstructions, MemorySegment programSeg, long instructionCount, Map<String, Integer> relationIdMap) Creates an instance of aQueryBindingStaterecord class.- Parameters:
snapshot- the value for thesnapshotrecord componentmethodHandle- the value for themethodHandlerecord componentjitDriver- the value for thejitDriverrecord componentdecodedInstructions- the value for thedecodedInstructionsrecord componentprogramSeg- the value for theprogramSegrecord componentinstructionCount- the value for theinstructionCountrecord componentrelationIdMap- the value for therelationIdMaprecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
snapshot
Returns the value of thesnapshotrecord component.- Returns:
- the value of the
snapshotrecord component
-
methodHandle
Returns the value of themethodHandlerecord component.- Returns:
- the value of the
methodHandlerecord component
-
jitDriver
Returns the value of thejitDriverrecord component.- Returns:
- the value of the
jitDriverrecord component
-
decodedInstructions
Returns the value of thedecodedInstructionsrecord component.- Returns:
- the value of the
decodedInstructionsrecord component
-
programSeg
Returns the value of theprogramSegrecord component.- Returns:
- the value of the
programSegrecord component
-
instructionCount
public long instructionCount()Returns the value of theinstructionCountrecord component.- Returns:
- the value of the
instructionCountrecord component
-
relationIdMap
-