TinkerPop Predicates

Predicates are used to determine relationships between data within traversals.

eq

Given some object, return true or false, for equality.

neq

Given some object, return true or false, for non-equality.

lt

Given some object, return true or false, for values that are less than the specified integer.

lte

Given some object, return true or false, for values that are less than or equal to the specified integer.

gt

Given some object, return true or false, for values that are greater than the specified integer.

gte

Given some object, return true or false, for values that are greater than or equal to the specified integer.

inside

Given some object, return true or false, for values that are between the specified integers.

outside

Given some object, return true or false, for values that are outside the specified integers.

between

Given some object, return true or false, for values that are between the specified integers.

within

Given a list of objects, return the ones that listed.

without

Given a list of objects, return the ones that do are not listed.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com