Multiget capabilities

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Multiget capabilities

CordiS-2
Hello,

I am interested in two features that i have not been able to found in API docs and mailing lists.

First of all, is there any way to miss CF name in ColumnPath or ColumnParent (or better enumerate CFs to be retrieved). It would be commonly used to fetch all the data of a complex object identified by key.

Secondly, it would be great to have an ability to fetch differently structured data by single request, providng map<key : string, list<<ColumnParent>, <Predicate>>> to multiget_slice()

Is it possible to be implemented. If so, when?

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Multiget capabilities

aaron morton
There is no way to request data from more than one ColumnFamily. The general approach is to de-normalise the data so all the information you need for a query can be returned from a single Column Family. 

I think this applies to both your questions. 

Aaron


On 26 Jul 2010, at 22:51, CordiS wrote:

Hello,

I am interested in two features that i have not been able to found in API docs and mailing lists.

First of all, is there any way to miss CF name in ColumnPath or ColumnParent (or better enumerate CFs to be retrieved). It would be commonly used to fetch all the data of a complex object identified by key.

Secondly, it would be great to have an ability to fetch differently structured data by single request, providng map<key : string, list<<ColumnParent>, <Predicate>>> to multiget_slice()

Is it possible to be implemented. If so, when?

Thank you.

Reply | Threaded
Open this post in threaded view
|

Re: Multiget capabilities

CordiS-2
Thank you for nothing.

2010/7/26 aaron morton <[hidden email]>
There is no way to request data from more than one ColumnFamily. The general approach is to de-normalise the data so all the information you need for a query can be returned from a single Column Family. 

I think this applies to both your questions. 

Aaron


On 26 Jul 2010, at 22:51, CordiS wrote:

Hello,

I am interested in two features that i have not been able to found in API docs and mailing lists.

First of all, is there any way to miss CF name in ColumnPath or ColumnParent (or better enumerate CFs to be retrieved). It would be commonly used to fetch all the data of a complex object identified by key.

Secondly, it would be great to have an ability to fetch differently structured data by single request, providng map<key : string, list<<ColumnParent>, <Predicate>>> to multiget_slice()

Is it possible to be implemented. If so, when?

Thank you.


Reply | Threaded
Open this post in threaded view
|

Re: Multiget capabilities

Jonathan Shook
CordiS,

The general approach for this kind of change is to implement it
yourself and submit a patch. In such a case, you may still have to be
thoughtful and patient in order to get everyone on board. I wish you
luck.

On Mon, Jul 26, 2010 at 6:51 AM, CordiS <[hidden email]> wrote:

> Thank you for nothing.
>
> 2010/7/26 aaron morton <[hidden email]>
>>
>> There is no way to request data from more than one ColumnFamily. The
>> general approach is to de-normalise the data so all the information you need
>> for a query can be returned from a single Column Family.
>> I think this applies to both your questions.
>> Aaron
>>
>> On 26 Jul 2010, at 22:51, CordiS wrote:
>>
>> Hello,
>>
>> I am interested in two features that i have not been able to found in API
>> docs and mailing lists.
>>
>> First of all, is there any way to miss CF name in ColumnPath or
>> ColumnParent (or better enumerate CFs to be retrieved). It would be commonly
>> used to fetch all the data of a complex object identified by key.
>>
>> Secondly, it would be great to have an ability to fetch differently
>> structured data by single request, providng map<key : string,
>> list<<ColumnParent>, <Predicate>>> to multiget_slice()
>>
>> Is it possible to be implemented. If so, when?
>>
>> Thank you.
>>
>
>