@Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Edge
Modifier and Type | Optional Element and Description |
---|---|
boolean |
allowUserKeys
If set to true, then it is allowed to supply own key values in the _key
attribute of a document.
|
String |
collection
The name of the edge collection
|
boolean |
doCompact
Whether or not the collection will be compacted (default is true)
|
int |
indexBuckets
The number of buckets into which indexes using a hash table are split.
|
boolean |
isSystem
If true, create a system collection.
|
boolean |
isVolatile
If true then the collection data is kept in-memory only and not made
persistent.
|
long |
journalSize
The maximal size of a journal or datafile in bytes.
|
int |
keyIncrement
Increment value for autoincrement key generator.
|
int |
keyOffset
Initial offset value for autoincrement key generator.
|
com.arangodb.entity.KeyType |
keyType
Specifies the type of the key generator.
|
int |
numberOfShards
(The default is 1): in a cluster, this value determines the number of shards
to create for the collection.
|
int |
replicationFactor
(The default is 1): in a cluster, this attribute determines how many copies
of each shard are kept on different DBServers.
|
boolean |
satellite
If true the collection is created as a satellite collection.
|
String[] |
shardKeys
(The default is [ "_key" ]): in a cluster, this attribute determines which
document attributes are used to determine the target shard for documents.
|
String |
value
Alias for
collection() . |
boolean |
waitForSync
If true then the data is synchronized to disk before returning from a
document create, update, replace or removal operation.
|
@AliasFor(value="collection") public abstract String value
collection()
.
Intended to be used instead of collection()
when no other attributes
are needed — for example: @Document("collection")
instead of
@Document(collection = "collection")
.
public abstract long journalSize
public abstract int replicationFactor
public abstract boolean satellite
replicationFactor()
is ignored.public abstract boolean waitForSync
public abstract boolean doCompact
public abstract boolean isVolatile
public abstract String[] shardKeys
public abstract int numberOfShards
public abstract boolean isSystem
public abstract int indexBuckets
public abstract boolean allowUserKeys
public abstract com.arangodb.entity.KeyType keyType
Copyright © 2017–2020 ArangoDB GmbH. All rights reserved.