GEODE-2617: make LuceneResultStruct serializable
Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/c7c28f07 Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/c7c28f07 Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/c7c28f07 Branch: refs/heads/develop Commit: c7c28f07c9d92cd443b5bb0779626db15e5c3c3b Parents: 7b57985 Author: zhouxh <[email protected]> Authored: Tue Mar 7 14:02:09 2017 -0800 Committer: Kevin J. Duling <[email protected]> Committed: Wed Mar 8 10:43:29 2017 -0800 ---------------------------------------------------------------------- .../java/org/apache/geode/cache/lucene/LuceneResultStruct.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/c7c28f07/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneResultStruct.java ---------------------------------------------------------------------- diff --git a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneResultStruct.java b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneResultStruct.java index 4a6481f..5d2184e 100644 --- a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneResultStruct.java +++ b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/LuceneResultStruct.java @@ -14,6 +14,8 @@ */ package org.apache.geode.cache.lucene; +import java.io.Serializable; + import org.apache.geode.annotations.Experimental; /** @@ -21,7 +23,7 @@ import org.apache.geode.annotations.Experimental; * */ @Experimental -public interface LuceneResultStruct<K, V> { +public interface LuceneResultStruct<K, V> extends Serializable { /** * @return The region key of the entry matching the query
