File tree 4 files changed +36
-0
lines changed
src/main/java/com/arangodb
4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ v4.2.2 (xxxx-xx-xx)
9
9
* added ArangoDatabase.updateUserDefaultCollectionAccess(String, Permissions)
10
10
* added ArangoCollection.getDocuments(Collection<String>, Class)
11
11
* added connection/handshake retry on same host
12
+ * added deduplicate field for hash/skiplist index
12
13
13
14
v4.2.1 (2017-06-20)
14
15
---------------------------
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ public class IndexEntity {
38
38
private Boolean isNewlyCreated ;
39
39
private Boolean geoJson ;
40
40
private Boolean constraint ;
41
+ private Boolean deduplicate ;
41
42
42
43
public IndexEntity () {
43
44
super ();
@@ -83,4 +84,8 @@ public Boolean getConstraint() {
83
84
return constraint ;
84
85
}
85
86
87
+ public Boolean getDeduplicate () {
88
+ return deduplicate ;
89
+ }
90
+
86
91
}
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public class HashIndexOptions {
35
35
private final IndexType type = IndexType .hash ;
36
36
private Boolean unique ;
37
37
private Boolean sparse ;
38
+ private Boolean deduplicate ;
38
39
39
40
public HashIndexOptions () {
40
41
super ();
@@ -86,4 +87,18 @@ public HashIndexOptions sparse(final Boolean sparse) {
86
87
return this ;
87
88
}
88
89
90
+ public Boolean getDeduplicate () {
91
+ return deduplicate ;
92
+ }
93
+
94
+ /**
95
+ * @param deduplicate
96
+ * if false, the deduplication of array values is turned off.
97
+ * @return options
98
+ */
99
+ public HashIndexOptions deduplicate (final Boolean deduplicate ) {
100
+ this .deduplicate = deduplicate ;
101
+ return this ;
102
+ }
103
+
89
104
}
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public class SkiplistIndexOptions {
35
35
private final IndexType type = IndexType .skiplist ;
36
36
private Boolean unique ;
37
37
private Boolean sparse ;
38
+ private Boolean deduplicate ;
38
39
39
40
public SkiplistIndexOptions () {
40
41
super ();
@@ -86,4 +87,18 @@ public SkiplistIndexOptions sparse(final Boolean sparse) {
86
87
return this ;
87
88
}
88
89
90
+ public Boolean getDeduplicate () {
91
+ return deduplicate ;
92
+ }
93
+
94
+ /**
95
+ * @param deduplicate
96
+ * if false, the deduplication of array values is turned off.
97
+ * @return options
98
+ */
99
+ public SkiplistIndexOptions deduplicate (final Boolean deduplicate ) {
100
+ this .deduplicate = deduplicate ;
101
+ return this ;
102
+ }
103
+
89
104
}
You can’t perform that action at this time.
0 commit comments