Class CollectionPropertiesEntity

java.lang.Object
com.arangodb.entity.CollectionEntity
com.arangodb.entity.CollectionPropertiesEntity

public final class CollectionPropertiesEntity extends CollectionEntity
Author:
Mark Vollmary
  • Constructor Details

    • CollectionPropertiesEntity

      public CollectionPropertiesEntity()
  • Method Details

    • getKeyOptions

      public KeyOptions getKeyOptions()
    • setKeyOptions

      public void setKeyOptions(KeyOptions keyOptions)
    • getCount

      public Long getCount()
    • setCount

      public void setCount(Long count)
    • getNumberOfShards

      public Integer getNumberOfShards()
      Returns:
      the number of shards of the collection. Only in a cluster setup (else returning null).
    • setNumberOfShards

      public void setNumberOfShards(Integer numberOfShards)
    • getShardKeys

      public Collection<String> 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

      public void setShardKeys(Collection<String> shardKeys)
    • getReplicationFactor

      public ReplicationFactor getReplicationFactor()
    • setReplicationFactor

      public void setReplicationFactor(ReplicationFactor replicationFactor)
    • getWriteConcern

      public Integer getWriteConcern()
    • setWriteConcern

      public void setWriteConcern(Integer writeConcern)
    • getShardingStrategy

      public String getShardingStrategy()
    • setShardingStrategy

      public void setShardingStrategy(String shardingStrategy)
    • getSmartJoinAttribute

      public String getSmartJoinAttribute()
    • setSmartJoinAttribute

      public void setSmartJoinAttribute(String smartJoinAttribute)