com.arangodb.entity.CollectionPropertiesEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core module for ArangoDB Java Driver
/*
* DISCLAIMER
*
* Copyright 2016 ArangoDB GmbH, Cologne, Germany
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Copyright holder is ArangoDB GmbH, Cologne, Germany
*/
package com.arangodb.entity;
import java.util.Collection;
/**
* @author Mark Vollmary
*/
public final class CollectionPropertiesEntity extends CollectionEntity {
private Boolean cacheEnabled;
private String distributeShardsLike;
private Boolean isDisjoint;
private Boolean isSmart;
private KeyOptions keyOptions;
private Integer numberOfShards;
private ReplicationFactor replicationFactor;
private Collection shardKeys;
private String shardingStrategy; // cluster option
private String smartGraphAttribute;
private String smartJoinAttribute; // enterprise option
private Integer writeConcern;
private Long count;
public CollectionPropertiesEntity() {
super();
}
public Boolean getCacheEnabled() {
return cacheEnabled;
}
public void setCacheEnabled(Boolean cacheEnabled) {
this.cacheEnabled = cacheEnabled;
}
public String getDistributeShardsLike() {
return distributeShardsLike;
}
public void setDistributeShardsLike(String distributeShardsLike) {
this.distributeShardsLike = distributeShardsLike;
}
public Boolean getDisjoint() {
return isDisjoint;
}
public void setDisjoint(Boolean disjoint) {
isDisjoint = disjoint;
}
public Boolean getSmart() {
return isSmart;
}
public void setSmart(Boolean smart) {
isSmart = smart;
}
public KeyOptions getKeyOptions() {
return keyOptions;
}
public void setKeyOptions(KeyOptions keyOptions) {
this.keyOptions = keyOptions;
}
public Integer getNumberOfShards() {
return numberOfShards;
}
public void setNumberOfShards(Integer numberOfShards) {
this.numberOfShards = numberOfShards;
}
public ReplicationFactor getReplicationFactor() {
return replicationFactor;
}
public void setReplicationFactor(ReplicationFactor replicationFactor) {
this.replicationFactor = replicationFactor;
}
public Collection getShardKeys() {
return shardKeys;
}
public void setShardKeys(Collection shardKeys) {
this.shardKeys = shardKeys;
}
public String getShardingStrategy() {
return shardingStrategy;
}
public void setShardingStrategy(String shardingStrategy) {
this.shardingStrategy = shardingStrategy;
}
public String getSmartGraphAttribute() {
return smartGraphAttribute;
}
public void setSmartGraphAttribute(String smartGraphAttribute) {
this.smartGraphAttribute = smartGraphAttribute;
}
public String getSmartJoinAttribute() {
return smartJoinAttribute;
}
public void setSmartJoinAttribute(String smartJoinAttribute) {
this.smartJoinAttribute = smartJoinAttribute;
}
public Integer getWriteConcern() {
return writeConcern;
}
public void setWriteConcern(Integer writeConcern) {
this.writeConcern = writeConcern;
}
public Long getCount() {
return count;
}
public void setCount(Long count) {
this.count = count;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy