@@ -238,20 +238,17 @@ def execute_transaction(self,
238238 ArangoDB server waits indefinitely. If not set, system default
239239 value is used.
240240 :type timeout: int
241- :param max_size: Max transaction size limit in bytes. Applies only
242- to RocksDB storage engine.
241+ :param max_size: Max transaction size limit in bytes.
243242 :type max_size: int
244243 :param allow_implicit: If set to True, undeclared read collections are
245244 loaded lazily. If set to False, transaction fails on any undeclared
246245 collections.
247246 :type allow_implicit: bool
248247 :param intermediate_commit_count: Max number of operations after which
249- an intermediate commit is performed automatically. Applies only to
250- RocksDB storage engine.
248+ an intermediate commit is performed automatically.
251249 :type intermediate_commit_count: int
252250 :param intermediate_commit_size: Max size of operations in bytes after
253- which an intermediate commit is performed automatically. Applies
254- only to RocksDB storage engine.
251+ which an intermediate commit is performed automatically.
255252 :type intermediate_commit_size: int
256253 :return: Return value of **command**.
257254 :rtype: str | unicode
@@ -948,18 +945,14 @@ def response_handler(resp):
948945 def create_collection (self ,
949946 name ,
950947 sync = False ,
951- compact = True ,
952948 system = False ,
953- journal_size = None ,
954949 edge = False ,
955- volatile = False ,
956950 user_keys = True ,
957951 key_increment = None ,
958952 key_offset = None ,
959953 key_generator = 'traditional' ,
960954 shard_fields = None ,
961955 shard_count = None ,
962- index_bucket_count = None ,
963956 replication_factor = None ,
964957 shard_like = None ,
965958 sync_replication = None ,
@@ -974,21 +967,11 @@ def create_collection(self,
974967 :param sync: If set to True, document operations via the collection
975968 will block until synchronized to disk by default.
976969 :type sync: bool
977- :param compact: If set to True, the collection is compacted. Applies
978- only to MMFiles storage engine.
979- :type compact: bool
980970 :param system: If set to True, a system collection is created. The
981971 collection name must have leading underscore "_" character.
982972 :type system: bool
983- :param journal_size: Max size of the journal in bytes.
984- :type journal_size: int
985973 :param edge: If set to True, an edge collection is created.
986974 :type edge: bool
987- :param volatile: If set to True, collection data is kept in-memory only
988- and not made persistent. Unloading the collection will cause the
989- collection data to be discarded. Stopping or re-starting the server
990- will also cause full loss of data.
991- :type volatile: bool
992975 :param key_generator: Used for generating document keys. Allowed values
993976 are "traditional" or "autoincrement".
994977 :type key_generator: str | unicode
@@ -1006,14 +989,6 @@ def create_collection(self,
1006989 :type shard_fields: [str | unicode]
1007990 :param shard_count: Number of shards to create.
1008991 :type shard_count: int
1009- :param index_bucket_count: Number of buckets into which indexes using
1010- hash tables are split. The default is 16, and this number has to be
1011- a power of 2 and less than or equal to 1024. For large collections,
1012- one should increase this to avoid long pauses when the hash table
1013- has to be initially built or re-sized, since buckets are re-sized
1014- individually and can be initially built in parallel. For instance,
1015- 64 may be a sensible value for 100 million documents.
1016- :type index_bucket_count: int
1017992 :param replication_factor: Number of copies of each shard on different
1018993 servers in a cluster. Allowed values are 1 (only one copy is kept
1019994 and no synchronous replication), and n (n-1 replicas are kept and
@@ -1070,20 +1045,14 @@ def create_collection(self,
10701045 data = {
10711046 'name' : name ,
10721047 'waitForSync' : sync ,
1073- 'doCompact' : compact ,
10741048 'isSystem' : system ,
1075- 'isVolatile' : volatile ,
10761049 'keyOptions' : key_options ,
10771050 'type' : 3 if edge else 2
10781051 }
1079- if journal_size is not None :
1080- data ['journalSize' ] = journal_size
10811052 if shard_count is not None :
10821053 data ['numberOfShards' ] = shard_count
10831054 if shard_fields is not None :
10841055 data ['shardKeys' ] = shard_fields
1085- if index_bucket_count is not None :
1086- data ['indexBuckets' ] = index_bucket_count
10871056 if replication_factor is not None :
10881057 data ['replicationFactor' ] = replication_factor
10891058 if shard_like is not None :
@@ -2518,8 +2487,7 @@ def begin_transaction(self,
25182487 given, a default value is used. Setting it to 0 disables the
25192488 timeout.
25202489 :type lock_timeout: int
2521- :param max_size: Max transaction size in bytes. Applicable to RocksDB
2522- storage engine only.
2490+ :param max_size: Max transaction size in bytes.
25232491 :type max_size:
25242492 :return: Database API wrapper object specifically for transactions.
25252493 :rtype: arango.database.TransactionDatabase
@@ -2640,8 +2608,7 @@ class TransactionDatabase(Database):
26402608 :param lock_timeout: Timeout for waiting on collection locks. If not given,
26412609 a default value is used. Setting it to 0 disables the timeout.
26422610 :type lock_timeout: int
2643- :param max_size: Max transaction size in bytes. Applicable to RocksDB
2644- storage engine only.
2611+ :param max_size: Max transaction size in bytes.
26452612 :type max_size: int
26462613 """
26472614
0 commit comments