Package com.arangodb.entity
Enum ShardingStrategy
- java.lang.Object
-
- java.lang.Enum<ShardingStrategy>
-
- com.arangodb.entity.ShardingStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<ShardingStrategy>
public enum ShardingStrategy extends Enum<ShardingStrategy>
- Author:
- Axel Becker API documentation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMUNITY_COMPAT
ENTERPRISE_COMPAT
ENTERPRISE_HASH_SMART_EDGE
ENTERPRISE_HEX_SMART_VERTEX
ENTERPRISE_SMART_EDGE_COMPAT
HASH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInternalName()
static ShardingStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ShardingStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMUNITY_COMPAT
public static final ShardingStrategy COMMUNITY_COMPAT
-
ENTERPRISE_COMPAT
public static final ShardingStrategy ENTERPRISE_COMPAT
-
ENTERPRISE_SMART_EDGE_COMPAT
public static final ShardingStrategy ENTERPRISE_SMART_EDGE_COMPAT
-
HASH
public static final ShardingStrategy HASH
-
ENTERPRISE_HASH_SMART_EDGE
public static final ShardingStrategy ENTERPRISE_HASH_SMART_EDGE
-
ENTERPRISE_HEX_SMART_VERTEX
public static final ShardingStrategy ENTERPRISE_HEX_SMART_VERTEX
-
-
Method Detail
-
values
public static ShardingStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ShardingStrategy c : ShardingStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShardingStrategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getInternalName
public String getInternalName()
-
-