Domanda

What is the difference in calling getKey and getRow?

From javadoc,

getKey: Query a single key

getRow: Query a single row

È stato utile?

Soluzione

apparently nothing. getRow() just calls getKey()

From ThriftColumnFamilyQueryImpl.java

@Override
public RowQuery<K, C> getRow(K rowKey) {
    return getKey(rowKey);
}
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top