Record Class ImpOpsBytecodeEmitter.EmittedProgram
java.lang.Object
java.lang.Record
org.impulsegraph.compiler.emitter.ImpOpsBytecodeEmitter.EmittedProgram
- Enclosing class:
ImpOpsBytecodeEmitter
public static record ImpOpsBytecodeEmitter.EmittedProgram(MemorySegment programSegment, long instructionCount, List<RelationInstructionPatch> patches, Map<String,Integer> relationIdMap, List<ImpOpsBytecodeEmitter.InstructionWord> instructionList, List<String> stringPool, MemorySegment inlineDataSegment)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionEmittedProgram(MemorySegment programSegment, long instructionCount, List<RelationInstructionPatch> patches, Map<String, Integer> relationIdMap, List<ImpOpsBytecodeEmitter.InstructionWord> instructionList, List<String> stringPool) EmittedProgram(MemorySegment programSegment, long instructionCount, List<RelationInstructionPatch> patches, Map<String, Integer> relationIdMap, List<ImpOpsBytecodeEmitter.InstructionWord> instructionList, List<String> stringPool, MemorySegment inlineDataSegment) Creates an instance of aEmittedProgramrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinlineDataSegmentrecord component.longReturns the value of theinstructionCountrecord component.Returns the value of theinstructionListrecord component.patches()Returns the value of thepatchesrecord component.Returns the value of theprogramSegmentrecord component.Returns the value of therelationIdMaprecord component.Returns the value of thestringPoolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EmittedProgram
public EmittedProgram(MemorySegment programSegment, long instructionCount, List<RelationInstructionPatch> patches, Map<String, Integer> relationIdMap, List<ImpOpsBytecodeEmitter.InstructionWord> instructionList, List<String> stringPool) -
EmittedProgram
public EmittedProgram(MemorySegment programSegment, long instructionCount, List<RelationInstructionPatch> patches, Map<String, Integer> relationIdMap, List<ImpOpsBytecodeEmitter.InstructionWord> instructionList, List<String> stringPool, MemorySegment inlineDataSegment) Creates an instance of aEmittedProgramrecord class.- Parameters:
programSegment- the value for theprogramSegmentrecord componentinstructionCount- the value for theinstructionCountrecord componentpatches- the value for thepatchesrecord componentrelationIdMap- the value for therelationIdMaprecord componentinstructionList- the value for theinstructionListrecord componentstringPool- the value for thestringPoolrecord componentinlineDataSegment- the value for theinlineDataSegmentrecord 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. -
programSegment
Returns the value of theprogramSegmentrecord component.- Returns:
- the value of the
programSegmentrecord component
-
instructionCount
public long instructionCount()Returns the value of theinstructionCountrecord component.- Returns:
- the value of the
instructionCountrecord component
-
patches
Returns the value of thepatchesrecord component.- Returns:
- the value of the
patchesrecord component
-
relationIdMap
-
instructionList
Returns the value of theinstructionListrecord component.- Returns:
- the value of the
instructionListrecord component
-
stringPool
-
inlineDataSegment
Returns the value of theinlineDataSegmentrecord component.- Returns:
- the value of the
inlineDataSegmentrecord component
-