Record Class JoinResolution.BoundsFacts
java.lang.Object
java.lang.Record
com.darkcollective.relix.symbol.graph.JoinResolution.BoundsFacts
- Record Components:
fanOut- some endpoint hasmax > 1or an unboundedmaxrowDrop- some endpoint hasmin == 0
- Enclosing interface:
JoinResolution
Multiplicity facts of a chosen path: whether the join fans
out (an endpoint admits more than one match, repeating rows) and whether an
inner join may drop rows (an endpoint's
min is zero).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JoinResolution.BoundsFactsNeither effect — a clean 1:1 path. -
Constructor Summary
ConstructorsConstructorDescriptionBoundsFacts(boolean fanOut, boolean rowDrop) Creates an instance of aBoundsFactsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanany()True if either effect is present (the join changes row multiplicity).final booleanIndicates whether some other object is "equal to" this one.booleanfanOut()Returns the value of thefanOutrecord component.final inthashCode()Returns a hash code value for this object.booleanrowDrop()Returns the value of therowDroprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NONE
Neither effect — a clean 1:1 path.
-
-
Constructor Details
-
Method Details
-
any
public boolean any()True if either effect is present (the join changes row multiplicity). -
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. -
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. -
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. All components in this record class are compared with '=='. -
fanOut
public boolean fanOut()Returns the value of thefanOutrecord component.- Returns:
- the value of the
fanOutrecord component
-
rowDrop
public boolean rowDrop()Returns the value of therowDroprecord component.- Returns:
- the value of the
rowDroprecord component
-