@Override public void readObject(BufferInput buffer, Serializer serializer) { consistency = ConsistencyLevel.values()[buffer.readByte()]; }
@Override public void writeObject(BufferOutput buffer, Serializer serializer) { buffer.writeByte(consistency.ordinal()); }