Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
调用 getKey 和 getRow 有什么区别?
从javadoc,
getKey:查询单个键
getRow:查询单行
显然什么都没有。getRow() 只是调用 getKey()
来自 ThriftColumnFamilyQueryImpl.java
@Override public RowQuery<K, C> getRow(K rowKey) { return getKey(rowKey); }