Record Class ScmLanePruneMask
java.lang.Object
java.lang.Record
org.impulsegraph.compiler.ast.ScmLanePruneMask
- All Implemented Interfaces:
ImpScmNode
public record ScmLanePruneMask(int mode, int arg1, int arg2, String relationName, int relationId, List<Long> denyNodes)
extends Record
implements ImpScmNode
Multi-lane bitmask pruning step (opcode
0xC5 OP_LANE_PRUNE_MASK).
- Mode 0: Node exclusion bitset / deny mask
- Mode 1: Intra-word ALLOW & ~DENY split (low half & ~high half)
- Mode 2: Degree-gated hub quorum pruning
-
Constructor Summary
ConstructorsConstructorDescriptionScmLanePruneMask(int mode, int arg1, int arg2, String relationName, int relationId, List<Long> denyNodes) Creates an instance of aScmLanePruneMaskrecord class.ScmLanePruneMask(int mode, int arg0, int arg1, List<Long> denyNodes) -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(ImpScmVisitor<R> visitor) static ScmLanePruneMaskallowDenySplit(int halfLanes) intarg0()intarg1()Returns the value of thearg1record component.intarg2()Returns the value of thearg2record component.Returns the value of thedenyNodesrecord component.static ScmLanePruneMaskfinal booleanIndicates whether some other object is "equal to" this one.static ScmLanePruneMaskfromInlineDeny(List<Long> denyNodes) static ScmLanePruneMaskfromRegister(int mode, int denyReg) final inthashCode()Returns a hash code value for this object.static ScmLanePruneMaskintmode()Returns the value of themoderecord component.intReturns the value of therelationIdrecord component.Returns the value of therelationNamerecord component.final StringtoString()Returns a string representation of this record class.withRelationId(int id)
-
Constructor Details
-
ScmLanePruneMask
public ScmLanePruneMask(int mode, int arg1, int arg2, String relationName, int relationId, List<Long> denyNodes) Creates an instance of aScmLanePruneMaskrecord class.- Parameters:
mode- the value for themoderecord componentarg1- the value for thearg1record componentarg2- the value for thearg2record componentrelationName- the value for therelationNamerecord componentrelationId- the value for therelationIdrecord componentdenyNodes- the value for thedenyNodesrecord component
-
ScmLanePruneMask
-
-
Method Details
-
denyNodes
-
fromInlineDeny
-
fromRegister
-
arg0
public int arg0() -
allowDenySplit
-
hubPrune
-
withRelationId
-
toScmString
- Specified by:
toScmStringin interfaceImpScmNode
-
accept
- Specified by:
acceptin interfaceImpScmNode
-
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. -
mode
public int mode()Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
arg1
public int arg1()Returns the value of thearg1record component.- Returns:
- the value of the
arg1record component
-
arg2
public int arg2()Returns the value of thearg2record component.- Returns:
- the value of the
arg2record component
-
relationName
Returns the value of therelationNamerecord component.- Returns:
- the value of the
relationNamerecord component
-
relationId
public int relationId()Returns the value of therelationIdrecord component.- Returns:
- the value of the
relationIdrecord component
-
denyNodes
-