Record Class PatternKey
java.lang.Object
java.lang.Record
org.eclipse.rdf4j.query.algebra.evaluation.optimizer.PatternKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionPatternKey(IRI predicate, int boundMask) Creates an instance of aPatternKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theboundMaskrecord component.booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepredicaterecord component.toString()Returns a string representation of this record class.
-
Field Details
-
SUBJECT_BOUND
public static final int SUBJECT_BOUND- See Also:
-
PREDICATE_BOUND
public static final int PREDICATE_BOUND- See Also:
-
OBJECT_BOUND
public static final int OBJECT_BOUND- See Also:
-
-
Constructor Details
-
PatternKey
Creates an instance of aPatternKeyrecord class.- Parameters:
predicate- the value for thepredicaterecord componentboundMask- the value for theboundMaskrecord component
-
-
Method Details
-
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. -
toString
-
hashCode
-
predicate
Returns the value of thepredicaterecord component.- Returns:
- the value of the
predicaterecord component
-
boundMask
public int boundMask()Returns the value of theboundMaskrecord component.- Returns:
- the value of the
boundMaskrecord component
-