Class CollectionPropertiesEntity

    • Constructor Detail

      • CollectionPropertiesEntity

        public CollectionPropertiesEntity()
    • Method Detail

      • 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).
      • 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)