private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, KeySlice struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.key); { oprot.writeI32(struct.columns.size()); for (ColumnOrSuperColumn _iter44 : struct.columns) { _iter44.write(oprot); } } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, KeySlice struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.key); { oprot.writeI32(struct.columns.size()); for (ColumnOrSuperColumn _iter44 : struct.columns) { _iter44.write(oprot); } } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, KeySlice struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.key); { oprot.writeI32(struct.columns.size()); for (ColumnOrSuperColumn _iter44 : struct.columns) { _iter44.write(oprot); } } }
public void write(org.apache.thrift.protocol.TProtocol oprot, Mutation struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.column_or_supercolumn != null) { if (struct.isSetColumn_or_supercolumn()) { oprot.writeFieldBegin(COLUMN_OR_SUPERCOLUMN_FIELD_DESC); struct.column_or_supercolumn.write(oprot); oprot.writeFieldEnd(); } } if (struct.deletion != null) { if (struct.isSetDeletion()) { oprot.writeFieldBegin(DELETION_FIELD_DESC); struct.deletion.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, KeySlice struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.key != null) { oprot.writeFieldBegin(KEY_FIELD_DESC); oprot.writeBinary(struct.key); oprot.writeFieldEnd(); } if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (ColumnOrSuperColumn _iter43 : struct.columns) { _iter43.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Mutation struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.column_or_supercolumn != null) { if (struct.isSetColumn_or_supercolumn()) { oprot.writeFieldBegin(COLUMN_OR_SUPERCOLUMN_FIELD_DESC); struct.column_or_supercolumn.write(oprot); oprot.writeFieldEnd(); } } if (struct.deletion != null) { if (struct.isSetDeletion()) { oprot.writeFieldBegin(DELETION_FIELD_DESC); struct.deletion.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Mutation struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.column_or_supercolumn != null) { if (struct.isSetColumn_or_supercolumn()) { oprot.writeFieldBegin(COLUMN_OR_SUPERCOLUMN_FIELD_DESC); struct.column_or_supercolumn.write(oprot); oprot.writeFieldEnd(); } } if (struct.deletion != null) { if (struct.isSetDeletion()) { oprot.writeFieldBegin(DELETION_FIELD_DESC); struct.deletion.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, KeySlice struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.key != null) { oprot.writeFieldBegin(KEY_FIELD_DESC); oprot.writeBinary(struct.key); oprot.writeFieldEnd(); } if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (ColumnOrSuperColumn _iter43 : struct.columns) { _iter43.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, KeySlice struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.key != null) { oprot.writeFieldBegin(KEY_FIELD_DESC); oprot.writeBinary(struct.key); oprot.writeFieldEnd(); } if (struct.columns != null) { oprot.writeFieldBegin(COLUMNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); for (ColumnOrSuperColumn _iter43 : struct.columns) { _iter43.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, Mutation struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetColumn_or_supercolumn()) { optionals.set(0); } if (struct.isSetDeletion()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetColumn_or_supercolumn()) { struct.column_or_supercolumn.write(oprot); } if (struct.isSetDeletion()) { struct.deletion.write(oprot); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, Mutation struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetColumn_or_supercolumn()) { optionals.set(0); } if (struct.isSetDeletion()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetColumn_or_supercolumn()) { struct.column_or_supercolumn.write(oprot); } if (struct.isSetDeletion()) { struct.deletion.write(oprot); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, Mutation struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetColumn_or_supercolumn()) { optionals.set(0); } if (struct.isSetDeletion()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetColumn_or_supercolumn()) { struct.column_or_supercolumn.write(oprot); } if (struct.isSetDeletion()) { struct.deletion.write(oprot); } }