Package com.arangodb.entity
Class CollectionPropertiesEntity
java.lang.Object
com.arangodb.entity.CollectionEntity
com.arangodb.entity.CollectionPropertiesEntity
- Author:
- Mark Vollmary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCount()
void
void
setKeyOptions
(KeyOptions keyOptions) void
setNumberOfShards
(Integer numberOfShards) void
setReplicationFactor
(ReplicationFactor replicationFactor) void
setShardingStrategy
(String shardingStrategy) void
setShardKeys
(Collection<String> shardKeys) void
setSmartJoinAttribute
(String smartJoinAttribute) void
setWriteConcern
(Integer writeConcern) Methods inherited from class com.arangodb.entity.CollectionEntity
getComputedValues, getId, getIsSystem, getName, getSchema, getStatus, getType, getWaitForSync
-
Constructor Details
-
CollectionPropertiesEntity
public CollectionPropertiesEntity()
-
-
Method Details
-
getKeyOptions
-
setKeyOptions
-
getCount
-
setCount
-
getNumberOfShards
- Returns:
- the number of shards of the collection. Only in a cluster setup (else returning null).
-
setNumberOfShards
-
getShardKeys
- Returns:
- the names of document attributes that are used to determine the target shard for documents. Only in a cluster setup (else returning null).
-
setShardKeys
-
getReplicationFactor
-
setReplicationFactor
-
getWriteConcern
-
setWriteConcern
-
getShardingStrategy
-
setShardingStrategy
-
getSmartJoinAttribute
-
setSmartJoinAttribute
-