mirror of https://github.com/apache/cassandra
CASSANDRA-15904: Add compound primary key example to nodetool getendpoints help
This commit is contained in:
parent
4066139d3f
commit
31f1b5f213
|
|
@ -43,7 +43,7 @@ public class GetEndpoints extends AbstractCommand
|
|||
@Parameters(index = "1", arity = "0..1", description = "The table for which we need to find the endpoint")
|
||||
private String table;
|
||||
|
||||
@Parameters(index = "2", arity = "0..1", description = "The partition key for which we need to find the endpoint")
|
||||
@Parameters(index = "2", arity = "0..1", description = "The partition key for which we need to find the endpoint (e.g., pk1:pk2:pk3 for compound keys)")
|
||||
private String key;
|
||||
|
||||
@Mixin
|
||||
|
|
|
|||
|
|
@ -34,4 +34,4 @@ OPTIONS
|
|||
|
||||
<keyspace> <table> <key>
|
||||
The keyspace, the table, and the partition key for which we need to
|
||||
find the endpoint
|
||||
find the endpoint (e.g., pk1:pk2:pk3 for compound keys)
|
||||
|
|
|
|||
Loading…
Reference in New Issue