MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / printUsage

Method printUsage

test/Test.java:66–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 private static void printUsage() {
67 System.err.println("Usage: " + Test.class.getSimpleName()
68 + " <zk quorum> <cmd> <table> [args]\n"
69 + "Available commands:\n"
70 + " get <table> <key> [family] [qualifiers ...]\n"
71 + " icv <table> <key> <family> <qualifier> [amount]\n"
72 + " micv <table> <key> <family> <qualifiers> [amounts]\n"
73 + " put <table> <key> <family> <qualifier> <value>\n"
74 + " delete <table> <key> [<family> [<qualifier>]]\n"
75 + " scan <table> [start] [family] [qualifier] [stop] [regexp]\n"
76 + " mscan <table> [start] [family[:qualifier[,qualifier]]/[family...]] [stop] [regexp]\n"
77 + " cas <table> <key> <family> <qualifier> <expected> <value>\n"
78 + "Variants that acquire an explicit row-lock:\n"
79 + " lget <table> <key> [family] [qualifiers ...]\n"
80 + " lput <table> <key> <family> <qualifier> <value>\n"
81 + " ldelete <table> <key> <family> <qualifier>\n"
82 + " lcas <table> <key> <family> <qualifier> <expected> <value>\n"
83 );
84 }
85
86 private static void fatalUsage(final String msg, final int rv) {
87 System.err.println(msg);

Callers 1

fatalUsageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected