Marko A. Rodriguez created TINKERPOP-1311:
---------------------------------------------

             Summary: AttachableFactory and its entailments.
                 Key: TINKERPOP-1311
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1311
             Project: TinkerPop
          Issue Type: Improvement
          Components: structure
    Affects Versions: 3.2.0-incubating
            Reporter: Marko A. Rodriguez


I think that {{ReferenceXXX}}, {{DetachedXXX}}, and {{StarXXX}} should all 
implement both {{Attachable}} and have a respective {{AttachableFactory}}.

With proper interfaces, providers can create their own {{ProviderXXX}} 
attachables to be used in OLAP and OLTP as they please. For instance, I'm 
already seeing that I can solve the {{path.by("name")}} problem in OLAP by 
using {{DetachedXXX}} where appropriate in a traversal. Or, if its 
{{path.by(outE().count())}}, then {{StarXXX}}. In other words, 
detaching/attaching should be really flexible, dynamic, and we can come up with 
all sorts of sweet attachables that are optimized for every nook and cranny 
case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to