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.
Part of JanusGraph#1438 Signed-off-by: Jan Jansen <[email protected]>
- Loading branch information
Showing
7 changed files
with
25 additions
and
85 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
45 changes: 0 additions & 45 deletions
45
...p/src/main/java/org/janusgraph/hadoop/formats/util/input/JanusGraphHadoopSetupCommon.java
This file was deleted.
Oops, something went wrong.
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,7 +17,10 @@ | |
import com.google.common.base.Preconditions; | ||
import org.janusgraph.core.JanusGraphFactory; | ||
import org.janusgraph.core.JanusGraphVertex; | ||
import org.janusgraph.diskstorage.StaticBuffer; | ||
import org.janusgraph.diskstorage.configuration.BasicConfiguration; | ||
import org.janusgraph.diskstorage.keycolumnvalue.SliceQuery; | ||
import org.janusgraph.diskstorage.util.StaticArrayBuffer; | ||
import org.janusgraph.graphdb.database.RelationReader; | ||
import org.janusgraph.graphdb.database.StandardJanusGraph; | ||
import org.janusgraph.graphdb.idmanagement.IDManager; | ||
|
@@ -32,15 +35,18 @@ | |
import org.janusgraph.graphdb.types.vertices.JanusGraphSchemaVertex; | ||
import org.janusgraph.hadoop.config.ModifiableHadoopConfiguration; | ||
import org.janusgraph.hadoop.config.JanusGraphHadoopConfiguration; | ||
import org.janusgraph.hadoop.formats.util.input.JanusGraphHadoopSetup; | ||
import org.janusgraph.hadoop.formats.util.input.SystemTypeInspector; | ||
import org.janusgraph.hadoop.formats.util.input.JanusGraphHadoopSetupCommon; | ||
import org.apache.tinkerpop.gremlin.structure.Direction; | ||
import org.apache.hadoop.conf.Configuration; | ||
|
||
/** | ||
* @author Matthias Broecheler ([email protected]) | ||
*/ | ||
public class JanusGraphHadoopSetupImpl extends JanusGraphHadoopSetupCommon { | ||
public class JanusGraphHadoopSetupImpl implements JanusGraphHadoopSetup { | ||
|
||
private static final StaticBuffer DEFAULT_COLUMN = StaticArrayBuffer.of(new byte[0]); | ||
public static final SliceQuery DEFAULT_SLICE_QUERY = new SliceQuery(DEFAULT_COLUMN, DEFAULT_COLUMN); | ||
|
||
private final ModifiableHadoopConfiguration scanConf; | ||
private final StandardJanusGraph graph; | ||
|
@@ -108,7 +114,7 @@ public IDManager getIDManager() { | |
} | ||
|
||
@Override | ||
public RelationReader getRelationReader(long vertexId) { | ||
public RelationReader getRelationReader() { | ||
return graph.getEdgeSerializer(); | ||
} | ||
|
||
|