forked from JanusGraph/janusgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLT-191: Support for redis in janusgraph
- Loading branch information
Showing
14 changed files
with
529 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,14 +17,15 @@ | |
import com.google.common.base.Preconditions; | ||
import org.janusgraph.diskstorage.StaticBuffer; | ||
|
||
import java.io.Serializable; | ||
import java.util.Objects; | ||
|
||
/** | ||
* Extends {@link SliceQuery} by a key that identifies the location of the slice in the key-ring. | ||
* @author Matthias Broecheler ([email protected]) | ||
*/ | ||
|
||
public class KeySliceQuery extends SliceQuery { | ||
public class KeySliceQuery extends SliceQuery implements Serializable { | ||
|
||
private final StaticBuffer key; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
import org.janusgraph.graphdb.query.BackendQuery; | ||
import org.janusgraph.graphdb.query.BaseQuery; | ||
|
||
import java.io.Serializable; | ||
import java.util.ArrayList; | ||
import java.util.Collections; | ||
import java.util.List; | ||
|
@@ -37,7 +38,7 @@ | |
* @author Matthias Broecheler ([email protected]) | ||
*/ | ||
|
||
public class SliceQuery extends BaseQuery implements BackendQuery<SliceQuery> { | ||
public class SliceQuery extends BaseQuery implements BackendQuery<SliceQuery>, Serializable { | ||
|
||
private final StaticBuffer sliceStart; | ||
private final StaticBuffer sliceEnd; | ||
|
Oops, something went wrong.