Package org.umlg.sqlg.predicate
Record Class LqueryArray
java.lang.Object
java.lang.Record
org.umlg.sqlg.predicate.LqueryArray
- All Implemented Interfaces:
BiPredicate<LqueryArray.LqueryQueryArray,
,LqueryArray.LqueryQueryArray> org.apache.tinkerpop.gremlin.process.traversal.PBiPredicate<LqueryArray.LqueryQueryArray,
LqueryArray.LqueryQueryArray>
public record LqueryArray(String operator)
extends Record
implements org.apache.tinkerpop.gremlin.process.traversal.PBiPredicate<LqueryArray.LqueryQueryArray,LqueryArray.LqueryQueryArray>
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionLqueryArray
(String operator) Creates an instance of aLqueryArray
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.tinkerpop.gremlin.process.traversal.P<LqueryArray.LqueryQueryArray>
ancestorOfRightOrEquals
(String[] ltree) static org.apache.tinkerpop.gremlin.process.traversal.P<LqueryArray.LqueryQueryArray>
descendantOfRightOrEquals
(String[] ltree) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.operator()
Returns the value of theoperator
record component.boolean
final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.function.BiPredicate
and, or
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.PBiPredicate
getPredicateName, negate
-
Constructor Details
-
LqueryArray
Creates an instance of aLqueryArray
record class.- Parameters:
operator
- the value for theoperator
record component
-
-
Method Details
-
ancestorOfRightOrEquals
public static org.apache.tinkerpop.gremlin.process.traversal.P<LqueryArray.LqueryQueryArray> ancestorOfRightOrEquals(String[] ltree) -
descendantOfRightOrEquals
public static org.apache.tinkerpop.gremlin.process.traversal.P<LqueryArray.LqueryQueryArray> descendantOfRightOrEquals(String[] ltree) -
test
- Specified by:
test
in interfaceBiPredicate<LqueryArray.LqueryQueryArray,
LqueryArray.LqueryQueryArray>
-
getOperator
-
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 withObjects::equals(Object,Object)
. -
operator
Returns the value of theoperator
record component.- Returns:
- the value of the
operator
record component
-