[ 
https://issues.apache.org/jira/browse/RYA-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056471#comment-16056471
 ] 

ASF GitHub Bot commented on RYA-273:
------------------------------------

Github user isper3at commented on a diff in the pull request:

    https://github.com/apache/incubator-rya/pull/161#discussion_r123094972
  
    --- Diff: 
extras/rya.pcj.fluo/pcj.fluo.app/src/main/java/org/apache/rya/indexing/pcj/fluo/app/query/SparqlFluoQueryBuilder.java
 ---
    @@ -417,6 +438,60 @@ public void meet(final Projection node) {
                 // Walk to the next node.
                 super.meet(node);
             }
    +        
    +        
    +        public void meet(Reduced node) {
    +            //create id, initialize ConstructQueryMetadata builder, 
register ConstructQueryMetadata 
    +            //builder with FluoQueryBuilder, and add metadata that we 
currently have
    +            final String constructId = nodeIds.getOrMakeId(node);
    +            final ConstructQueryMetadata.Builder constructBuilder = 
ConstructQueryMetadata.builder();
    +            constructBuilder.setNodeId(constructId);
    +            fluoQueryBuilder.setConstructQueryMetadata(constructBuilder);
    +            constructBuilder.setSparql(sparql);
    +            
    +            //get child node
    +            QueryModelNode child = node.getArg();
    +            Preconditions.checkArgument(child instanceof Projection || 
child instanceof MultiProjection);
    --- End diff --
    
    you seem to be conflicted about statically importing these or not....


> Construct Query Support for Rya Fluo
> ------------------------------------
>
>                 Key: RYA-273
>                 URL: https://issues.apache.org/jira/browse/RYA-273
>             Project: Rya
>          Issue Type: New Feature
>    Affects Versions: 3.2.10
>            Reporter: Caleb Meier
>            Assignee: Caleb Meier
>
> Add support for Construct Queries to the Rya Fluo Application.  This will 
> require implementing ConstructQueryMetadata for Fluo and creating the 
> appropriate observer to generate the statements indicated by the construct 
> query.  See the documentation for creating a new query node for Fluo: 
> https://github.com/meiercaleb/incubator-rya/tree/periodic_query_service/extras/rya.pcj.fluo



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to