This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void conditionalWrite(String docId, ColumnVisibility cv, Connector conn) throws Exception { | |
// setup writer | |
String tablename = "table"; | |
ConditionalWriterConfig cwConfig = new ConditionalWriterConfig(); | |
cwConfig.setAuthorizations(new Authorizations("a","b","c")); | |
ConditionalWriter cw = conn.createConditionalWriter(tablename, cwConfig); | |
// set up condition on this mutation | |
IteratorSetting is = new IteratorSetting(1, SuppressCVIterator.class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Makefile template for ATtiny85 | |
# Derived from AVR Crosspack template | |
# | |
DEVICE = attiny85 # See avr-help for all possible devices | |
CLOCK = 8000000 # 8Mhz | |
PROGRAMMER = -c usbtiny -P usb # For using Adafruit USBtiny | |
OBJECTS = main.o # Add more objects for each .c file here |