-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
111 additions
and
71 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
10 changes: 6 additions & 4 deletions
10
driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/OrientIndexQuery.java
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 |
---|---|---|
@@ -1,18 +1,20 @@ | ||
package org.apache.tinkerpop.gremlin.orientdb; | ||
|
||
import com.orientechnologies.orient.core.index.OIndex; | ||
|
||
import java.util.Iterator; | ||
import java.util.Optional; | ||
|
||
public class OrientIndexQuery { | ||
public final Optional<Object> value; | ||
public final Iterator<Object> values; | ||
public final OIndex index; | ||
|
||
public OrientIndexQuery(OIndex index, Optional<Object> value) { | ||
public OrientIndexQuery(OIndex index, Iterator<Object> values) { | ||
this.index = index; | ||
this.value = value; | ||
this.values = values; | ||
} | ||
|
||
public String toString() { | ||
return "OrientIndexQuery(index=" + index + ", value=" + value + ")"; | ||
return "OrientIndexQuery(index=" + index + ")"; | ||
} | ||
} |
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