|
1 | 1 | package com.arangodb;
|
2 | 2 |
|
3 |
| -import com.arangodb.entity.CollectionOptions; |
4 | 3 | import com.arangodb.entity.CollectionEntity;
|
5 |
| -import com.arangodb.entity.CollectionKeyOption; |
6 |
| -import com.arangodb.entity.CollectionType; |
| 4 | +import com.arangodb.entity.CollectionOptions; |
7 | 5 | import com.arangodb.entity.CollectionsEntity;
|
8 | 6 | import com.arangodb.impl.BaseDriverInterface;
|
9 | 7 |
|
10 | 8 | /**
|
11 | 9 | * Created by fbartels on 10/27/14.
|
12 | 10 | */
|
13 |
| -public interface InternalCollectionDriver extends BaseDriverInterface { |
14 |
| - CollectionEntity createCollection( |
15 |
| - String database, |
16 |
| - String name, |
17 |
| - CollectionOptions collectionOptions |
18 |
| - ) throws ArangoException; |
| 11 | +public interface InternalCollectionDriver extends BaseDriverInterface { |
| 12 | + CollectionEntity createCollection(String database, String name, CollectionOptions collectionOptions) |
| 13 | + throws ArangoException; |
19 | 14 |
|
20 |
| - CollectionEntity getCollection(String database, String name) throws ArangoException; |
| 15 | + CollectionEntity getCollection(String database, String name) throws ArangoException; |
21 | 16 |
|
22 |
| - CollectionEntity getCollectionRevision(String database, String name) throws ArangoException; |
| 17 | + CollectionEntity getCollectionRevision(String database, String name) throws ArangoException; |
23 | 18 |
|
24 |
| - CollectionEntity getCollectionProperties(String database, String name) throws ArangoException; |
| 19 | + CollectionEntity getCollectionProperties(String database, String name) throws ArangoException; |
25 | 20 |
|
26 |
| - CollectionEntity getCollectionCount(String database, String name) throws ArangoException; |
| 21 | + CollectionEntity getCollectionCount(String database, String name) throws ArangoException; |
27 | 22 |
|
28 |
| - CollectionEntity getCollectionFigures(String database, String name) throws ArangoException; |
| 23 | + CollectionEntity getCollectionFigures(String database, String name) throws ArangoException; |
29 | 24 |
|
30 |
| - CollectionEntity getCollectionChecksum(String database, String name, Boolean withRevisions, Boolean withData) throws ArangoException; |
| 25 | + CollectionEntity getCollectionChecksum(String database, String name, Boolean withRevisions, Boolean withData) |
| 26 | + throws ArangoException; |
31 | 27 |
|
32 |
| - CollectionsEntity getCollections(String database, Boolean excludeSystem) throws ArangoException; |
| 28 | + CollectionsEntity getCollections(String database, Boolean excludeSystem) throws ArangoException; |
33 | 29 |
|
34 |
| - CollectionEntity loadCollection(String database, String name, Boolean count) throws ArangoException; |
| 30 | + CollectionEntity loadCollection(String database, String name, Boolean count) throws ArangoException; |
35 | 31 |
|
36 |
| - CollectionEntity unloadCollection(String database, String name) throws ArangoException; |
| 32 | + CollectionEntity unloadCollection(String database, String name) throws ArangoException; |
37 | 33 |
|
38 |
| - CollectionEntity truncateCollection(String database, String name) throws ArangoException; |
| 34 | + CollectionEntity truncateCollection(String database, String name) throws ArangoException; |
39 | 35 |
|
40 |
| - CollectionEntity setCollectionProperties(String database, String name, Boolean newWaitForSync, Long journalSize) throws ArangoException; |
| 36 | + CollectionEntity setCollectionProperties(String database, String name, Boolean newWaitForSync, Long journalSize) |
| 37 | + throws ArangoException; |
41 | 38 |
|
42 |
| - CollectionEntity renameCollection(String database, String name, String newName) throws ArangoException; |
| 39 | + CollectionEntity renameCollection(String database, String name, String newName) throws ArangoException; |
43 | 40 |
|
44 |
| - CollectionEntity deleteCollection(String database, String name) throws ArangoException; |
| 41 | + CollectionEntity deleteCollection(String database, String name) throws ArangoException; |
45 | 42 | }
|
0 commit comments