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

             Summary: MatchPredicateStrategy can be inlined optimized.
                 Key: TINKERPOP-1475
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1475
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.2.2
            Reporter: Marko A. Rodriguez


Given the work in TINKERPOP-1456, it will be possible to inline 
"has()"-pullouts to a stronger extent for ALL filters, not just "has()"-chains.

{code}
match(
  a.has(z).filter(x.y)
  ...
)
{code}

can become:

{code}
a.has(z).filter(x.y).match(...)
{code}

The, via {{InlineFilterStrategy}}, children of {{filter()}} can be analyzed for 
inlining. 

{code}
a.has(z).x.y.match(...)
{code}

The point of all this is to try and inline filters as much as possible so they 
can be picked up by provider-specific graph- and vertex-centric index 
strategies.

{{MatchPredicateStrategy}} will need to be a POST to {{InlineFilterStrategy}}.



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

Reply via email to