Package org.umlg.sqlg.predicate
Record Class Lquery
java.lang.Object
java.lang.Record
org.umlg.sqlg.predicate.Lquery
- All Implemented Interfaces:
BiPredicate<Lquery.LqueryQuery,
,Lquery.LqueryQuery> org.apache.tinkerpop.gremlin.process.traversal.PBiPredicate<Lquery.LqueryQuery,
Lquery.LqueryQuery>
public record Lquery(String operator)
extends Record
implements org.apache.tinkerpop.gremlin.process.traversal.PBiPredicate<Lquery.LqueryQuery,Lquery.LqueryQuery>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.tinkerpop.gremlin.process.traversal.P<Lquery.LqueryQuery>
ancestorOfRightOrEquals
(String ltree) static org.apache.tinkerpop.gremlin.process.traversal.P<Lquery.LqueryQuery>
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.static org.apache.tinkerpop.gremlin.process.traversal.P<Lquery.LqueryQuery>
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
-
Lquery
Creates an instance of aLquery
record class.- Parameters:
operator
- the value for theoperator
record component
-
-
Method Details
-
ancestorOfRightOrEquals
public static org.apache.tinkerpop.gremlin.process.traversal.P<Lquery.LqueryQuery> ancestorOfRightOrEquals(String ltree) -
descendantOfRightOrEquals
public static org.apache.tinkerpop.gremlin.process.traversal.P<Lquery.LqueryQuery> descendantOfRightOrEquals(String ltree) -
lquery
public static org.apache.tinkerpop.gremlin.process.traversal.P<Lquery.LqueryQuery> lquery(String lquery) -
test
- Specified by:
test
in interfaceBiPredicate<Lquery.LqueryQuery,
Lquery.LqueryQuery>
-
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
-