}
}
@Override
public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, Selector struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(10);
if (incoming.get(0)) {
struct.recordOnly = iprot.readBool();
struct.setRecordOnlyIsSet(true);
}
if (incoming.get(1)) {
struct.locationId = iprot.readString();
struct.setLocationIdIsSet(true);
}
if (incoming.get(2)) {
struct.rowId = iprot.readString();
struct.setRowIdIsSet(true);
}
if (incoming.get(3)) {
struct.recordId = iprot.readString();
struct.setRecordIdIsSet(true);
}
if (incoming.get(4)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set47 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
struct.columnFamiliesToFetch = new HashSet<String>(2*_set47.size);
for (int _i48 = 0; _i48 < _set47.size; ++_i48)
{
String _elem49; // required
_elem49 = iprot.readString();
struct.columnFamiliesToFetch.add(_elem49);
}
}
struct.setColumnFamiliesToFetchIsSet(true);
}
if (incoming.get(5)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map50 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.SET, iprot.readI32());
struct.columnsToFetch = new HashMap<String,Set<String>>(2*_map50.size);
for (int _i51 = 0; _i51 < _map50.size; ++_i51)
{
String _key52; // optional
Set<String> _val53; // required
_key52 = iprot.readString();
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set54 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
_val53 = new HashSet<String>(2*_set54.size);
for (int _i55 = 0; _i55 < _set54.size; ++_i55)
{
String _elem56; // required
_elem56 = iprot.readString();
_val53.add(_elem56);
}
}
struct.columnsToFetch.put(_key52, _val53);
}
}
struct.setColumnsToFetchIsSet(true);
}
if (incoming.get(6)) {
struct.startRecord = iprot.readI32();
struct.setStartRecordIsSet(true);
}
if (incoming.get(7)) {
struct.maxRecordsToFetch = iprot.readI32();
struct.setMaxRecordsToFetchIsSet(true);
}
if (incoming.get(8)) {
struct.highlightOptions = new HighlightOptions();
struct.highlightOptions.read(iprot);
struct.setHighlightOptionsIsSet(true);
}
if (incoming.get(9)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list57 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
struct.orderOfFamiliesToFetch = new ArrayList<String>(_list57.size);
for (int _i58 = 0; _i58 < _list57.size; ++_i58)
{
String _elem59; // required
_elem59 = iprot.readString();
struct.orderOfFamiliesToFetch.add(_elem59);
}
}
struct.setOrderOfFamiliesToFetchIsSet(true);
}