Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using composite key? #7

Open
nkolster opened this issue Sep 24, 2013 · 0 comments
Open

Using composite key? #7

nkolster opened this issue Sep 24, 2013 · 0 comments

Comments

@nkolster
Copy link

Hi!

Thanks for publishing this!

I have tried to modify it to use it with composite keys but have sofar failed.

How would one go about that?

Here is how I tried to do it:

    Composite ckey = new Composite();
    key.addComponent("key", strSerializer);
    key.addComponent("ts", strSerializer);
    m.addInsertion(ckey, recordsColFamName, HFactory.createColumn("data", "data value", HFactory.createClock(), strSerializer, strSerializer));

But of course that has not worked.

Thanks for any tips!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant