[
https://issues.apache.org/jira/browse/USERGRID-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965743#comment-13965743
]
David Johnson commented on USERGRID-121:
----------------------------------------
Yes that is correct Ed. These would be interfaces in the Core Persistence
module only. I do not want to introduce any changes to our existing
EntityManager or RelationshipManager or other interfaces in Usergrid, or break
any callers of those interfaces.
> Implement Graph Edge queries in Core Persistence
> ------------------------------------------------
>
> Key: USERGRID-121
> URL: https://issues.apache.org/jira/browse/USERGRID-121
> Project: Usergrid
> Issue Type: Story
> Components: Stack
> Reporter: David Johnson
> Assignee: David Johnson
>
> Core Persistence must be able to support the same connection-based queries
> that are currently supported in Usergrid.
> For example...
> Example Entities
> Entity Bob
> Entity TacoStand
> location
> foodType
> Entity FishTruck
> location
> foodType
> Example Edges
> Edge Bob Likes TacoStand
> Edge Bob Likes FishTruck
> Example Queries
> GET /org/app/users/bob/likes?q=select * where location within d of x,y
> GET /org/app/users/bob/likes?q=select * where foodType=‘taco'
> That task is:
> 1. design a Java interface or changes to our existing Query Index interfaces
> that allows a caller to index a new edge and implement that interface.
> 2. design a Java interface, or changes to our existing Query Index module
> interfaces that allows a caller to query starting from a specific Entity
> connection context (e.g. "Bob likes...")
--
This message was sent by Atlassian JIRA
(v6.2#6252)