@@ -1098,7 +1098,7 @@ public <T> DocumentEntity<T> replaceDocument(
1098
1098
final long collectionId ,
1099
1099
final long documentId ,
1100
1100
final T value ,
1101
- final Long rev ,
1101
+ final String rev ,
1102
1102
final Boolean waitForSync ) throws ArangoException {
1103
1103
return replaceDocument (createDocumentHandle (collectionId , String .valueOf (documentId )), value , rev , waitForSync );
1104
1104
}
@@ -1127,7 +1127,7 @@ public DocumentEntity<?> replaceDocument(
1127
1127
final String collectionName ,
1128
1128
final long documentId ,
1129
1129
final Object value ,
1130
- final Long rev ,
1130
+ final String rev ,
1131
1131
final Boolean waitForSync ) throws ArangoException {
1132
1132
return replaceDocument (createDocumentHandle (collectionName , String .valueOf (documentId )), value , rev ,
1133
1133
waitForSync );
@@ -1157,7 +1157,7 @@ public DocumentEntity<?> replaceDocument(
1157
1157
final long collectionId ,
1158
1158
final String documentKey ,
1159
1159
final Object value ,
1160
- final Long rev ,
1160
+ final String rev ,
1161
1161
final Boolean waitForSync ) throws ArangoException {
1162
1162
return replaceDocument (createDocumentHandle (collectionId , documentKey ), value , rev , waitForSync );
1163
1163
}
@@ -1186,7 +1186,7 @@ public DocumentEntity<?> replaceDocument(
1186
1186
final String collectionName ,
1187
1187
final String documentKey ,
1188
1188
final Object value ,
1189
- final Long rev ,
1189
+ final String rev ,
1190
1190
final Boolean waitForSync ) throws ArangoException {
1191
1191
return replaceDocument (createDocumentHandle (collectionName , documentKey ), value , rev , waitForSync );
1192
1192
}
@@ -1212,7 +1212,7 @@ public DocumentEntity<?> replaceDocument(
1212
1212
public <T > DocumentEntity <T > replaceDocument (
1213
1213
final String documentHandle ,
1214
1214
final T value ,
1215
- final Long rev ,
1215
+ final String rev ,
1216
1216
final Boolean waitForSync ) throws ArangoException {
1217
1217
return documentDriver .replaceDocument (getDefaultDatabase (), documentHandle , value , rev , waitForSync );
1218
1218
}
@@ -1432,7 +1432,7 @@ public DocumentEntity<?> updateDocument(
1432
1432
final long collectionId ,
1433
1433
final long documentId ,
1434
1434
final Object value ,
1435
- final Long rev ,
1435
+ final String rev ,
1436
1436
final Boolean waitForSync ,
1437
1437
final Boolean keepNull ) throws ArangoException {
1438
1438
return updateDocument (createDocumentHandle (collectionId , String .valueOf (documentId )), value , rev , waitForSync ,
@@ -1464,7 +1464,7 @@ public DocumentEntity<?> updateDocument(
1464
1464
final String collectionName ,
1465
1465
final long documentId ,
1466
1466
final Object value ,
1467
- final Long rev ,
1467
+ final String rev ,
1468
1468
final Boolean waitForSync ,
1469
1469
final Boolean keepNull ) throws ArangoException {
1470
1470
return updateDocument (createDocumentHandle (collectionName , String .valueOf (documentId )), value , rev , waitForSync ,
@@ -1496,7 +1496,7 @@ public DocumentEntity<?> updateDocument(
1496
1496
final long collectionId ,
1497
1497
final String documentKey ,
1498
1498
final Object value ,
1499
- final Long rev ,
1499
+ final String rev ,
1500
1500
final Boolean waitForSync ,
1501
1501
final Boolean keepNull ) throws ArangoException {
1502
1502
return updateDocument (createDocumentHandle (collectionId , documentKey ), value , rev , waitForSync , keepNull );
@@ -1527,7 +1527,7 @@ public DocumentEntity<?> updateDocument(
1527
1527
final String collectionName ,
1528
1528
final String documentKey ,
1529
1529
final Object value ,
1530
- final Long rev ,
1530
+ final String rev ,
1531
1531
final Boolean waitForSync ,
1532
1532
final Boolean keepNull ) throws ArangoException {
1533
1533
return updateDocument (createDocumentHandle (collectionName , documentKey ), value , rev , waitForSync , keepNull );
@@ -1555,7 +1555,7 @@ public DocumentEntity<?> updateDocument(
1555
1555
public <T > DocumentEntity <T > updateDocument (
1556
1556
final String documentHandle ,
1557
1557
final T value ,
1558
- final Long rev ,
1558
+ final String rev ,
1559
1559
final Boolean waitForSync ,
1560
1560
final Boolean keepNull ) throws ArangoException {
1561
1561
return documentDriver .updateDocument (getDefaultDatabase (), documentHandle , value , rev , waitForSync , keepNull );
@@ -1671,10 +1671,10 @@ public boolean exists(final String documentHandle) throws ArangoException {
1671
1671
* The collection id.
1672
1672
* @param documentId
1673
1673
* The document id
1674
- * @return the document revision number
1674
+ * @return the document revision
1675
1675
* @throws ArangoException
1676
1676
*/
1677
- public long checkDocument (final long collectionId , final long documentId ) throws ArangoException {
1677
+ public String checkDocument (final long collectionId , final long documentId ) throws ArangoException {
1678
1678
return checkDocument (createDocumentHandle (collectionId , String .valueOf (documentId )));
1679
1679
}
1680
1680
@@ -1685,10 +1685,10 @@ public long checkDocument(final long collectionId, final long documentId) throws
1685
1685
* The collection name.
1686
1686
* @param documentId
1687
1687
* The document id
1688
- * @return the document revision number
1688
+ * @return the document revision
1689
1689
* @throws ArangoException
1690
1690
*/
1691
- public long checkDocument (final String collectionName , final long documentId ) throws ArangoException {
1691
+ public String checkDocument (final String collectionName , final long documentId ) throws ArangoException {
1692
1692
return checkDocument (createDocumentHandle (collectionName , String .valueOf (documentId )));
1693
1693
}
1694
1694
@@ -1699,10 +1699,10 @@ public long checkDocument(final String collectionName, final long documentId) th
1699
1699
* The collection id.
1700
1700
* @param documentKey
1701
1701
* The document key
1702
- * @return the document revision number
1702
+ * @return the document revision
1703
1703
* @throws ArangoException
1704
1704
*/
1705
- public long checkDocument (final long collectionId , final String documentKey ) throws ArangoException {
1705
+ public String checkDocument (final long collectionId , final String documentKey ) throws ArangoException {
1706
1706
return checkDocument (createDocumentHandle (collectionId , documentKey ));
1707
1707
}
1708
1708
@@ -1713,10 +1713,10 @@ public long checkDocument(final long collectionId, final String documentKey) thr
1713
1713
* The collection name.
1714
1714
* @param documentKey
1715
1715
* The document key
1716
- * @return the document revision number
1716
+ * @return the document revision
1717
1717
* @throws ArangoException
1718
1718
*/
1719
- public long checkDocument (final String collectionName , final String documentKey ) throws ArangoException {
1719
+ public String checkDocument (final String collectionName , final String documentKey ) throws ArangoException {
1720
1720
return checkDocument (createDocumentHandle (collectionName , documentKey ));
1721
1721
}
1722
1722
@@ -1725,10 +1725,10 @@ public long checkDocument(final String collectionName, final String documentKey)
1725
1725
*
1726
1726
* @param documentHandle
1727
1727
* The document handle
1728
- * @return the document revision number
1728
+ * @return the document revision
1729
1729
* @throws ArangoException
1730
1730
*/
1731
- public long checkDocument (final String documentHandle ) throws ArangoException {
1731
+ public String checkDocument (final String documentHandle ) throws ArangoException {
1732
1732
return documentDriver .checkDocument (getDefaultDatabase (), documentHandle );
1733
1733
}
1734
1734
@@ -1843,8 +1843,8 @@ public <T> DocumentEntity<T> getDocument(final String documentHandle, final Clas
1843
1843
public <T > DocumentEntity <T > getDocument (
1844
1844
final String documentHandle ,
1845
1845
final Class <T > clazz ,
1846
- final Long ifNoneMatchRevision ,
1847
- final Long ifMatchRevision ) throws ArangoException {
1846
+ final String ifNoneMatchRevision ,
1847
+ final String ifMatchRevision ) throws ArangoException {
1848
1848
return documentDriver .getDocument (getDefaultDatabase (), documentHandle , clazz , ifNoneMatchRevision ,
1849
1849
ifMatchRevision );
1850
1850
}
@@ -2938,7 +2938,7 @@ public UserEntity getUser(final String username) throws ArangoException {
2938
2938
* @return a DefaultEntity object
2939
2939
* @throws ArangoException
2940
2940
*/
2941
- public DefaultEntity grantDatabaseAccess (String username , String database ) throws ArangoException {
2941
+ public DefaultEntity grantDatabaseAccess (final String username , final String database ) throws ArangoException {
2942
2942
return usersDriver .grantDatabaseAccess (username , database );
2943
2943
}
2944
2944
@@ -3051,7 +3051,7 @@ public ImportResultEntity importDocumentsByHeaderValues(
3051
3051
public ImportResultEntity importDocumentsByHeaderValues (
3052
3052
final String collection ,
3053
3053
final Collection <? extends Collection <?>> headerValues ,
3054
- ImportOptions importOptions ) throws ArangoException {
3054
+ final ImportOptions importOptions ) throws ArangoException {
3055
3055
return importDriver .importDocumentsByHeaderValues (getDefaultDatabase (), collection , headerValues ,
3056
3056
importOptions );
3057
3057
}
@@ -3071,8 +3071,8 @@ public ImportResultEntity importDocumentsByHeaderValues(
3071
3071
*/
3072
3072
public ImportResultEntity importDocumentsByHeaderValuesRaw (
3073
3073
final String collection ,
3074
- String headerValues ,
3075
- ImportOptions importOptions ) throws ArangoException {
3074
+ final String headerValues ,
3075
+ final ImportOptions importOptions ) throws ArangoException {
3076
3076
return importDriver .importDocumentsByHeaderValuesRaw (getDefaultDatabase (), collection , headerValues ,
3077
3077
importOptions );
3078
3078
}
@@ -3816,8 +3816,8 @@ public <T> VertexEntity<T> graphGetVertex(
3816
3816
final String collectionName ,
3817
3817
final String key ,
3818
3818
final Class <T > clazz ,
3819
- final Long ifNoneMatchRevision ,
3820
- final Long ifMatchRevision ) throws ArangoException {
3819
+ final String ifNoneMatchRevision ,
3820
+ final String ifMatchRevision ) throws ArangoException {
3821
3821
return graphDriver .getVertex (getDefaultDatabase (), graphName , collectionName , key , clazz , ifMatchRevision ,
3822
3822
ifNoneMatchRevision );
3823
3823
}
@@ -3889,8 +3889,8 @@ public DeletedEntity graphDeleteVertex(
3889
3889
final String collectionName ,
3890
3890
final String key ,
3891
3891
final Boolean waitForSync ,
3892
- final Long ifMatchRevision ,
3893
- final Long ifNoneMatchRevision ) throws ArangoException {
3892
+ final String ifMatchRevision ,
3893
+ final String ifNoneMatchRevision ) throws ArangoException {
3894
3894
return graphDriver .deleteVertex (getDefaultDatabase (), graphName , collectionName , key , waitForSync ,
3895
3895
ifMatchRevision , ifNoneMatchRevision );
3896
3896
}
@@ -3948,8 +3948,8 @@ public <T> VertexEntity<T> graphReplaceVertex(
3948
3948
final String key ,
3949
3949
final T vertex ,
3950
3950
final Boolean waitForSync ,
3951
- final Long ifMatchRevision ,
3952
- final Long ifNoneMatchRevision ) throws ArangoException {
3951
+ final String ifMatchRevision ,
3952
+ final String ifNoneMatchRevision ) throws ArangoException {
3953
3953
return graphDriver .replaceVertex (getDefaultDatabase (), graphName , collectionName , key , vertex , waitForSync ,
3954
3954
ifMatchRevision , ifNoneMatchRevision);
3955
3955
}
@@ -4015,8 +4015,8 @@ public <T> VertexEntity<T> graphUpdateVertex(
4015
4015
final T vertex ,
4016
4016
final Boolean keepNull ,
4017
4017
final Boolean waitForSync ,
4018
- final Long ifMatchRevision ,
4019
- final Long ifNoneMatchRevision ) throws ArangoException {
4018
+ final String ifMatchRevision ,
4019
+ final String ifNoneMatchRevision ) throws ArangoException {
4020
4020
return graphDriver .updateVertex (getDefaultDatabase (), graphName , collectionName , key , vertex , keepNull ,
4021
4021
waitForSync , ifMatchRevision , ifNoneMatchRevision );
4022
4022
}
@@ -4135,8 +4135,8 @@ public <T> EdgeEntity<T> graphGetEdge(
4135
4135
final String edgeCollectionName ,
4136
4136
final String key ,
4137
4137
final Class <T > clazz ,
4138
- final Long ifMatchRevision ,
4139
- final Long ifNoneMatchRevision ) throws ArangoException {
4138
+ final String ifMatchRevision ,
4139
+ final String ifNoneMatchRevision ) throws ArangoException {
4140
4140
return graphDriver .getEdge (getDefaultDatabase (), graphName , edgeCollectionName , key , clazz , ifMatchRevision ,
4141
4141
ifNoneMatchRevision );
4142
4142
}
@@ -4228,8 +4228,8 @@ public DeletedEntity graphDeleteEdge(
4228
4228
final String edgeCollectionName ,
4229
4229
final String key ,
4230
4230
final Boolean waitForSync ,
4231
- final Long ifMatchRevision ,
4232
- final Long ifNoneMatchRevision ) throws ArangoException {
4231
+ final String ifMatchRevision ,
4232
+ final String ifNoneMatchRevision ) throws ArangoException {
4233
4233
return graphDriver .deleteEdge (getDefaultDatabase (), graphName , edgeCollectionName , key , waitForSync ,
4234
4234
ifMatchRevision , ifNoneMatchRevision );
4235
4235
}
@@ -4304,8 +4304,8 @@ public <T> EdgeEntity<T> graphReplaceEdge(
4304
4304
final String toHandle ,
4305
4305
final T value ,
4306
4306
final Boolean waitForSync ,
4307
- final Long ifMatchRevision ,
4308
- final Long ifNoneMatchRevision ) throws ArangoException {
4307
+ final String ifMatchRevision ,
4308
+ final String ifNoneMatchRevision ) throws ArangoException {
4309
4309
return graphDriver .replaceEdge (getDefaultDatabase (), graphName , edgeCollectionName , key , fromHandle , toHandle ,
4310
4310
value , waitForSync , ifMatchRevision , ifNoneMatchRevision );
4311
4311
}
@@ -4385,8 +4385,8 @@ public <T> EdgeEntity<T> graphUpdateEdge(
4385
4385
final T value ,
4386
4386
final Boolean waitForSync ,
4387
4387
final Boolean keepNull ,
4388
- final Long ifMatchRevision ,
4389
- final Long ifNoneMatchRevision ) throws ArangoException {
4388
+ final String ifMatchRevision ,
4389
+ final String ifNoneMatchRevision ) throws ArangoException {
4390
4390
return graphDriver .updateEdge (getDefaultDatabase (), graphName , edgeCollectionName , key , fromHandle , toHandle ,
4391
4391
value , waitForSync , keepNull , ifMatchRevision , ifNoneMatchRevision );
4392
4392
}
@@ -4487,7 +4487,7 @@ public <T> EdgeCursor<T> graphGetEdgeCursor(
4487
4487
tmpAqlQueryOptions = getDefaultAqlQueryOptions ().setCount (true );
4488
4488
}
4489
4489
4490
- DocumentCursorResult <T , EdgeEntity <T >> cursor = executeAqlQueryWithDocumentCursorResult (query , bindVars ,
4490
+ final DocumentCursorResult <T , EdgeEntity <T >> cursor = executeAqlQueryWithDocumentCursorResult (query , bindVars ,
4491
4491
tmpAqlQueryOptions , EdgeEntity .class , clazz );
4492
4492
4493
4493
return new EdgeCursor <T >(cursor );
@@ -4977,7 +4977,7 @@ public CursorRawResult executeAqlQueryRaw(
4977
4977
public DocumentEntity <String > replaceDocumentRaw (
4978
4978
final String documentHandle ,
4979
4979
final String rawJsonString ,
4980
- final Long rev ,
4980
+ final String rev ,
4981
4981
final Boolean waitForSync ) throws ArangoException {
4982
4982
return documentDriver .replaceDocumentRaw (getDefaultDatabase (), documentHandle , rawJsonString , rev , waitForSync );
4983
4983
}
@@ -5004,7 +5004,7 @@ public DocumentEntity<String> replaceDocumentRaw(
5004
5004
public DocumentEntity <String > updateDocumentRaw (
5005
5005
final String documentHandle ,
5006
5006
final String rawJsonString ,
5007
- final Long rev ,
5007
+ final String rev ,
5008
5008
final Boolean waitForSync ,
5009
5009
final Boolean keepNull ) throws ArangoException {
5010
5010
return documentDriver .updateDocumentRaw (getDefaultDatabase (), documentHandle , rawJsonString , rev , waitForSync ,
0 commit comments