private static class getScannerRows_argsTupleScheme extends TupleScheme<getScannerRows_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, getScannerRows_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
oprot.writeI32(struct.scannerId);
BitSet optionals = new BitSet();
if (struct.isSetNumRows()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);