Skip to content

Instantly share code, notes, and snippets.

Jessica Owensby jessicaowensby

Block or report user

Report or block jessicaowensby

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jessicaowensby
jessicaowensby / gist:3783634
Created Sep 25, 2012
Does the Hector BatchMutator object allow for batch inserts of Composite Columns?
View gist:3783634
Composite composite = new Composite();
composite.addComponent("abc",ser);
composite.addComponent("123", StringSerializer.get());
HColumn<Composite, String> col = HFactory.createColumn(composite, "xyz", new CompositeSerializer(), ser);
Column cassandraColumn = new Column();
cassandraColumn.setName(col.getNameBytes());
cassandraColumn.setValue(col.getValueBytes());
cassandraColumn.setTimestamp(System.currentTimeMillis());
You can’t perform that action at this time.