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 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 a QueryBindingState record class.
      Parameters:
      snapshot - the value for the snapshot record component
      methodHandle - the value for the methodHandle record component
      jitDriver - the value for the jitDriver record component
      decodedInstructions - the value for the decodedInstructions record component
      programSeg - the value for the programSeg record component
      instructionCount - the value for the instructionCount record component
      relationIdMap - the value for the relationIdMap record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • snapshot

      public ImpulseGraphSnapshot snapshot()
      Returns the value of the snapshot record component.
      Returns:
      the value of the snapshot record component
    • methodHandle

      public MethodHandle methodHandle()
      Returns the value of the methodHandle record component.
      Returns:
      the value of the methodHandle record component
    • jitDriver

      public JitDriver jitDriver()
      Returns the value of the jitDriver record component.
      Returns:
      the value of the jitDriver record component
    • decodedInstructions

      public VmHandlers.Instruction[] decodedInstructions()
      Returns the value of the decodedInstructions record component.
      Returns:
      the value of the decodedInstructions record component
    • programSeg

      public MemorySegment programSeg()
      Returns the value of the programSeg record component.
      Returns:
      the value of the programSeg record component
    • instructionCount

      public long instructionCount()
      Returns the value of the instructionCount record component.
      Returns:
      the value of the instructionCount record component
    • relationIdMap

      public Map<String,Integer> relationIdMap()
      Returns the value of the relationIdMap record component.
      Returns:
      the value of the relationIdMap record component