Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Compiled class file
*.class
/bin/
/target/
/test-output/


# Log file
*.log
Expand All @@ -20,3 +24,7 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

#eclispe
.classpath
.project
13 changes: 0 additions & 13 deletions .idea/libraries/Maven__redis_clients_jedis_3_0_0.xml

This file was deleted.

26 changes: 8 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,20 @@
<version>1.0.0</version>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8</version>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>3.0.0</version>
<groupId>com.redislabs</groupId>
<artifactId>jredisearch-jedis</artifactId>
<version>3.0.0-20180508</version>
</dependency>

<!--<dependency>-->
<!--<groupId>redis.clients</groupId>-->
<!--<artifactId>jedis</artifactId>-->
<!--<version>3.0.0</version>-->
<!--<type>jar</type>-->
<!--<scope>system</scope>-->
<!--<systemPath>${project.basedir}/lib/jedis-3.0.0.jar</systemPath>-->
<!--</dependency>-->
</dependencies>
</project>
</project>
231 changes: 0 additions & 231 deletions src/main/java/com/redislabs/redisgraph/Client.java

This file was deleted.

22 changes: 22 additions & 0 deletions src/main/java/com/redislabs/redisgraph/Command.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package com.redislabs.redisgraph;
import redis.clients.jedis.util.SafeEncoder;
import redis.clients.jedis.commands.ProtocolCommand;

/**
*
*
*
*/
public enum Command implements ProtocolCommand {
QUERY("graph.QUERY");

private final byte[] raw;

Command(String alt) {
raw = SafeEncoder.encode(alt);
}

public byte[] getRaw() {
return raw;
}
}
32 changes: 0 additions & 32 deletions src/main/java/com/redislabs/redisgraph/Commands.java

This file was deleted.

Loading