exists

判断key是否存在,参见Java客户端文档#exist

  1. def exists[H, S](table: String, hashKey: H, sortKey: S)

table:表名,通常为String类型hashKey:通常为String类型sortKey:通常为String类型return: 返回是否存在,boolean类型