Interface EdgeConditionTraversal

All Known Subinterfaces:
EdgeTraversal, EdgeUntilTraversal

public interface EdgeConditionTraversal
The base conditions to EdgeTraversal and EdgeUntilTraversal
  • Method Summary

    Modifier and Type
    Method
    Description
    has(String propertyKey)
    Map the Element to the values of the associated properties given the provide property keys.
    has(String propertyKey, Object value)
    Adds a equals condition to a query
    has(String propertyKey, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate)
    Adds a equals condition to a query
    has(Supplier<String> propertyKey, Object value)
    Adds a equals condition to a query
    has(Supplier<String> propertyKey, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate)
    Adds a equals condition to a query
    has(org.apache.tinkerpop.gremlin.structure.T accessor, Object value)
    Adds a equals condition to a query
    has(org.apache.tinkerpop.gremlin.structure.T accessor, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate)
    Adds a equals condition to a query
    hasNot(String propertyKey)
    Defines Vertex has not a property
    hasNot(Supplier<String> propertyKey)
    Defines Vertex has not a property
  • Method Details

    • has

      EdgeTraversal has(String propertyKey)
      Map the Element to the values of the associated properties given the provide property keys. If no property keys are provided, then all property values are emitted.
      Parameters:
      propertyKey - the key
      Returns:
      a EdgeTraversal with the new condition
      Throws:
      NullPointerException - when propertyKey is null
    • has

      EdgeTraversal has(String propertyKey, Object value)
      Adds a equals condition to a query
      Parameters:
      propertyKey - the key
      value - the value to the condition
      Returns:
      a EdgeTraversal with the new condition
      Throws:
      NullPointerException - when either key or value are null
    • has

      EdgeTraversal has(String propertyKey, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate)
      Adds a equals condition to a query
      Parameters:
      propertyKey - the key
      predicate - the predicate condition
      Returns:
      a EdgeTraversal with the new condition
      Throws:
      NullPointerException - when either key or predicate condition are null
    • has

      default EdgeTraversal has(Supplier<String> propertyKey, Object value)
      Adds a equals condition to a query
      Parameters:
      propertyKey - the key
      value - the value to the condition
      Returns:
      a EdgeTraversal with the new condition
      Throws:
      NullPointerException - when either key or value are null
    • has

      default EdgeTraversal has(Supplier<String> propertyKey, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate)
      Adds a equals condition to a query
      Parameters:
      propertyKey - the key
      predicate - the predicate condition
      Returns:
      a EdgeTraversal with the new condition
      Throws:
      NullPointerException - when either key or predicate condition are null
    • has

      EdgeTraversal has(org.apache.tinkerpop.gremlin.structure.T accessor, Object value)
      Adds a equals condition to a query
      Parameters:
      accessor - the key
      value - the value to the condition
      Returns:
      a EdgeTraversal with the new condition
      Throws:
      NullPointerException - when either key or value are null
    • has

      EdgeTraversal has(org.apache.tinkerpop.gremlin.structure.T accessor, org.apache.tinkerpop.gremlin.process.traversal.P<?> predicate)
      Adds a equals condition to a query
      Parameters:
      accessor - the key
      predicate - the predicate condition
      Returns:
      a EdgeTraversal with the new condition
      Throws:
      NullPointerException - when either key or value are null
    • hasNot

      EdgeTraversal hasNot(String propertyKey)
      Defines Vertex has not a property
      Parameters:
      propertyKey - the property key
      Returns:
      a EdgeTraversal with the new condition
      Throws:
      NullPointerException - when propertyKey is null
    • hasNot

      default EdgeTraversal hasNot(Supplier<String> propertyKey)
      Defines Vertex has not a property
      Parameters:
      propertyKey - the property key
      Returns:
      a EdgeTraversal with the new condition
      Throws:
      NullPointerException - when propertyKey is null