in src/main/thrift-gen-java/org/apache/accumulo/proxy/thrift/BatchScanOptions.java [831:898]
public void write(org.apache.thrift.protocol.TProtocol oprot, BatchScanOptions struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.authorizations != null) {
if (struct.isSetAuthorizations()) {
oprot.writeFieldBegin(AUTHORIZATIONS_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.authorizations.size()));
for (java.nio.ByteBuffer _iter62 : struct.authorizations)
{
oprot.writeBinary(_iter62);
}
oprot.writeSetEnd();
}
oprot.writeFieldEnd();
}
}
if (struct.ranges != null) {
if (struct.isSetRanges()) {
oprot.writeFieldBegin(RANGES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.ranges.size()));
for (Range _iter63 : struct.ranges)
{
_iter63.write(oprot);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
}
if (struct.columns != null) {
if (struct.isSetColumns()) {
oprot.writeFieldBegin(COLUMNS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size()));
for (ScanColumn _iter64 : struct.columns)
{
_iter64.write(oprot);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
}
if (struct.iterators != null) {
if (struct.isSetIterators()) {
oprot.writeFieldBegin(ITERATORS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.iterators.size()));
for (IteratorSetting _iter65 : struct.iterators)
{
_iter65.write(oprot);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
}
if (struct.isSetThreads()) {
oprot.writeFieldBegin(THREADS_FIELD_DESC);
oprot.writeI32(struct.threads);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}