Class CollectionPropertiesEntity

    • Constructor Detail

      • CollectionPropertiesEntity

        public CollectionPropertiesEntity()
    • Method Detail

      • getDoCompact

        public Boolean getDoCompact()
      • setDoCompact

        public void setDoCompact​(Boolean doCompact)
      • getJournalSize

        public Long getJournalSize()
      • setJournalSize

        public void setJournalSize​(Long journalSize)
      • getIndexBuckets

        public Integer getIndexBuckets()
      • setIndexBuckets

        public void setIndexBuckets​(Integer indexBuckets)
      • 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).
      • getReplicationFactor

        public Integer getReplicationFactor()
      • setReplicationFactor

        public void setReplicationFactor​(Integer replicationFactor)
      • getMinReplicationFactor

        public Integer getMinReplicationFactor()
      • setMinReplicationFactor

        public void setMinReplicationFactor​(Integer minReplicationFactor)
      • getSatellite

        public Boolean getSatellite()
        Returns:
        whether the collection is a satellite collection. Only in an enterprise cluster setup (else returning null).
      • setSatellite

        public void setSatellite​(Boolean satellite)
      • getShardingStrategy

        public String getShardingStrategy()
      • setShardingStrategy

        public void setShardingStrategy​(String shardingStrategy)
      • setIsSpot

        public void setIsSpot​(Boolean isSpot)
      • setIsSystem

        public void setIsSystem​(Boolean isSystem)