Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2929

Introduce new marker interfaces to identify whether a step can perform write or delete or both

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.2
    • 3.7.0, 3.6.3
    • process
    • None

    Description

      As described in the PR https://github.com/apache/tinkerpop/pull/2025 

      Currently all steps that can change graph data implements Mutating interface. However, there is no straight forward way to know whether the step can perform write or delete or both on the graph data. This PR introduces two new marker interfaces Writing and Deleting defining whether step can perform write or delete or both.

      In addition to this, this PR creates a static map of Traversal steps that shall be added for a given operator. Both can be combined to assess whether a given query can perform read or write or delete or any combination of these before query execution.

      For details see dev list post: https://lists.apache.org/thread/433bc2qr5owvjcfn0tbj55sgz95zg6df

      Attachments

        Activity

          People

            xiazcy Yang Xia
            xiazcy Yang Xia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: