Multiget queryColumns while specifying columnNames

17 views
Skip to first unread message

Tom Martin

unread,
May 22, 2013, 8:39:54 AM5/22/13
to hector...@googlegroups.com
ColumnFamilyTemplate has a queryColumns method for a single key where you can specify which columns to return.

public ColumnFamilyResult<K, N> queryColumns(K key, List<N> columns)

There's no multiget equivalent though i.e:

public ColumnFamilyResult<K, N> queryColumns(Iterable<K> keys, List<N> columns)

Only a method that requires you use a ColumnFamilyRowMapper:

public <V> MappedColumnFamilyResult<K,N,V> queryColumns(Iterable<K> keys, List<N> columns, ColumnFamilyRowMapper<K, N, V> mapper)


Any particular reason for this?


Tom Martin

unread,
May 22, 2013, 11:24:38 AM5/22/13
to hector...@googlegroups.com
I submitted a pull request here:

Nate McCall

unread,
May 22, 2013, 1:52:15 PM5/22/13
to hector...@googlegroups.com
Just ACK'ed this. Thanks for the contribution.
> --
> You received this message because you are subscribed to the Google Groups
> "hector-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hector-users...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Reply all
Reply to author
Forward
0 new messages