public static enum CollectionApiMapping.EndPoint extends Enum<CollectionApiMapping.EndPoint> implements CollectionApiMapping.V2EndPoint
Enum Constant and Description |
---|
COLLECTION_STATE |
COLLECTIONS_COMMANDS |
PER_COLLECTION |
PER_COLLECTION_PER_SHARD_COMMANDS |
PER_COLLECTION_PER_SHARD_DELETE |
PER_COLLECTION_PER_SHARD_PER_REPLICA_DELETE |
PER_COLLECTION_SHARDS_COMMANDS |
Modifier and Type | Method and Description |
---|---|
String |
getSpecName() |
static CollectionApiMapping.EndPoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionApiMapping.EndPoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionApiMapping.EndPoint COLLECTIONS_COMMANDS
public static final CollectionApiMapping.EndPoint COLLECTION_STATE
public static final CollectionApiMapping.EndPoint PER_COLLECTION
public static final CollectionApiMapping.EndPoint PER_COLLECTION_SHARDS_COMMANDS
public static final CollectionApiMapping.EndPoint PER_COLLECTION_PER_SHARD_COMMANDS
public static final CollectionApiMapping.EndPoint PER_COLLECTION_PER_SHARD_DELETE
public static final CollectionApiMapping.EndPoint PER_COLLECTION_PER_SHARD_PER_REPLICA_DELETE
public static CollectionApiMapping.EndPoint[] values()
for (CollectionApiMapping.EndPoint c : CollectionApiMapping.EndPoint.values()) System.out.println(c);
public static CollectionApiMapping.EndPoint valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSpecName()
getSpecName
in interface CollectionApiMapping.V2EndPoint
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.