计数
对管道中的记录数进行计数。
| Redis 堆栈 |
|---|
public GearsBuilder<java.lang.Integer> count()
Counts the number of records in the pipe and returns the total as a single record.
Parameters
None
Returns
Returns a GearsBuilder object with a new template type of Integer.
Example
GearsBuilder.CreateGearsBuilder(reader).count();
On this page