What is the difference in calling getKey and getRow?

From javadoc,

getKey: Query a single key

getRow: Query a single row

有帮助吗?

解决方案

apparently nothing. getRow() just calls getKey()

From ThriftColumnFamilyQueryImpl.java

@Override
public RowQuery<K, C> getRow(K rowKey) {
    return getKey(rowKey);
}
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top