[
https://issues.apache.org/jira/browse/RYA-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16329441#comment-16329441
]
ASF GitHub Bot commented on RYA-442:
------------------------------------
Github user kchilton2 commented on a diff in the pull request:
https://github.com/apache/incubator-rya/pull/265#discussion_r162173884
--- Diff:
extras/rya.streams/api/src/main/java/org/apache/rya/streams/api/queries/QueryChange.java
---
@@ -37,9 +37,11 @@
@DefaultAnnotation(NonNull.class)
public final class QueryChange implements Serializable {
private static final long serialVersionUID = 1L;
+
private final UUID queryId;
private final ChangeType changeType;
private final Optional<String> sparql;
+ private final Optional<Boolean> isActive;
--- End diff --
Null objects are ambiguous and prone to NPEs, so I avoid using them.
> KafkaStreams: Implement the StartQuery and StopQuery interactors.
> -----------------------------------------------------------------
>
> Key: RYA-442
> URL: https://issues.apache.org/jira/browse/RYA-442
> Project: Rya
> Issue Type: Task
> Reporter: Kevin Chilton
> Assignee: Kevin Chilton
> Priority: Major
>
> We need implementations of the StartQuery and StopQuery interfaces that
> interact with the QueryRepository to update the isActive state of a
> StreamsQuery in Rya Streams.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)