Java Code Examples for org.apache.thrift.protocol.TTupleProtocol#readI32()

The following examples show how to use org.apache.thrift.protocol.TTupleProtocol#readI32() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ClobChunk.java    From gemfirexd-oss with Apache License 2.0 6 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, ClobChunk struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.chunk = iprot.readString();
  struct.setChunkIsSet(true);
  struct.last = iprot.readBool();
  struct.setLastIsSet(true);
  BitSet incoming = iprot.readBitSet(3);
  if (incoming.get(0)) {
    struct.lobId = iprot.readI32();
    struct.setLobIdIsSet(true);
  }
  if (incoming.get(1)) {
    struct.offset = iprot.readI64();
    struct.setOffsetIsSet(true);
  }
  if (incoming.get(2)) {
    struct.totalLength = iprot.readI64();
    struct.setTotalLengthIsSet(true);
  }
}
 
Example 2
Source File: ConsumerService.java    From DDMQ with Apache License 2.0 6 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getConsumeStats_result struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  BitSet incoming = iprot.readBitSet(2);
  if (incoming.get(0)) {
    {
      org.apache.thrift.protocol.TList _list115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
      struct.success = new ArrayList<ConsumeStats>(_list115.size);
      ConsumeStats _elem116;
      for (int _i117 = 0; _i117 < _list115.size; ++_i117)
      {
        _elem116 = new ConsumeStats();
        _elem116.read(iprot);
        struct.success.add(_elem116);
      }
    }
    struct.setSuccessIsSet(true);
  }
  if (incoming.get(1)) {
    struct.error = new PullException();
    struct.error.read(iprot);
    struct.setErrorIsSet(true);
  }
}
 
Example 3
Source File: scribe.java    From drift with Apache License 2.0 6 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, Log_args struct)
        throws TException
{
    TTupleProtocol iprot = (TTupleProtocol) prot;
    BitSet incoming = iprot.readBitSet(1);
    if (incoming.get(0)) {
        {
            org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
            struct.messages = new ArrayList<>(_list5.size);
            LogEntry _elem6;
            for (int _i7 = 0; _i7 < _list5.size; ++_i7) {
                _elem6 = new LogEntry();
                _elem6.read(iprot);
                struct.messages.add(_elem6);
            }
        }
        struct.setMessagesIsSet(true);
    }
}
 
Example 4
Source File: LocatorService.java    From gemfirexd-oss with Apache License 2.0 6 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getAllServersWithPreferredServer_result struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  BitSet incoming = iprot.readBitSet(2);
  if (incoming.get(0)) {
    {
      org.apache.thrift.protocol.TList _list401 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
      struct.success = new ArrayList<HostAddress>(_list401.size);
      for (int _i402 = 0; _i402 < _list401.size; ++_i402)
      {
        HostAddress _elem403;
        _elem403 = new HostAddress();
        _elem403.read(iprot);
        struct.success.add(_elem403);
      }
    }
    struct.setSuccessIsSet(true);
  }
  if (incoming.get(1)) {
    struct.error = new GFXDException();
    struct.error.read(iprot);
    struct.setErrorIsSet(true);
  }
}
 
Example 5
Source File: ConnectionProperties.java    From gemfirexd-oss with Apache License 2.0 6 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, ConnectionProperties struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.connId = iprot.readI32();
  struct.setConnIdIsSet(true);
  struct.clientHostName = iprot.readString();
  struct.setClientHostNameIsSet(true);
  struct.clientID = iprot.readString();
  struct.setClientIDIsSet(true);
  BitSet incoming = iprot.readBitSet(2);
  if (incoming.get(0)) {
    struct.userName = iprot.readString();
    struct.setUserNameIsSet(true);
  }
  if (incoming.get(1)) {
    struct.token = iprot.readBinary();
    struct.setTokenIsSet(true);
  }
}
 
Example 6
Source File: NamespaceDescriptor.java    From hbase with Apache License 2.0 6 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, NamespaceDescriptor struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.name = iprot.readString();
  struct.setNameIsSet(true);
  BitSet incoming = iprot.readBitSet(1);
  if (incoming.get(0)) {
    {
      org.apache.thrift.protocol.TMap _map186 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
      struct.configuration = new HashMap<String,String>(2*_map186.size);
      String _key187;
      String _val188;
      for (int _i189 = 0; _i189 < _map186.size; ++_i189)
      {
        _key187 = iprot.readString();
        _val188 = iprot.readString();
        struct.configuration.put(_key187, _val188);
      }
    }
    struct.setConfigurationIsSet(true);
  }
}
 
Example 7
Source File: MetricWindow.java    From jstorm with Apache License 2.0 6 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, MetricWindow struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  {
    org.apache.thrift.protocol.TMap _map112 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.DOUBLE, iprot.readI32());
    struct.metricWindow = new HashMap<Integer,Double>(2*_map112.size);
    int _key113;
    double _val114;
    for (int _i115 = 0; _i115 < _map112.size; ++_i115)
    {
      _key113 = iprot.readI32();
      _val114 = iprot.readDouble();
      struct.metricWindow.put(_key113, _val114);
    }
  }
  struct.set_metricWindow_isSet(true);
}
 
Example 8
Source File: EntityId.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, EntityId struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.id = iprot.readI32();
  struct.setIdIsSet(true);
  struct.type = iprot.readByte();
  struct.setTypeIsSet(true);
  struct.connId = iprot.readI32();
  struct.setConnIdIsSet(true);
  BitSet incoming = iprot.readBitSet(1);
  if (incoming.get(0)) {
    struct.token = iprot.readBinary();
    struct.setTokenIsSet(true);
  }
}
 
Example 9
Source File: GetResponseMessage.java    From floodlight_with_topoguard with Apache License 2.0 5 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, GetResponseMessage struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.header = new AsyncMessageHeader();
  struct.header.read(iprot);
  struct.setHeaderIsSet(true);
  BitSet incoming = iprot.readBitSet(2);
  if (incoming.get(0)) {
    {
      org.apache.thrift.protocol.TList _list29 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
      struct.values = new ArrayList<VersionedValue>(_list29.size);
      for (int _i30 = 0; _i30 < _list29.size; ++_i30)
      {
        VersionedValue _elem31; // required
        _elem31 = new VersionedValue();
        _elem31.read(iprot);
        struct.values.add(_elem31);
      }
    }
    struct.setValuesIsSet(true);
  }
  if (incoming.get(1)) {
    struct.error = new SyncError();
    struct.error.read(iprot);
    struct.setErrorIsSet(true);
  }
}
 
Example 10
Source File: SliceRange.java    From stratio-cassandra with Apache License 2.0 5 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, SliceRange struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.start = iprot.readBinary();
  struct.setStartIsSet(true);
  struct.finish = iprot.readBinary();
  struct.setFinishIsSet(true);
  struct.reversed = iprot.readBool();
  struct.setReversedIsSet(true);
  struct.count = iprot.readI32();
  struct.setCountIsSet(true);
}
 
Example 11
Source File: PullException.java    From DDMQ with Apache License 2.0 5 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, PullException struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  BitSet incoming = iprot.readBitSet(2);
  if (incoming.get(0)) {
    struct.code = iprot.readI32();
    struct.setCodeIsSet(true);
  }
  if (incoming.get(1)) {
    struct.message = iprot.readString();
    struct.setMessageIsSet(true);
  }
}
 
Example 12
Source File: PrepareResult.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, PrepareResult struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.statementId = iprot.readI32();
  struct.setStatementIdIsSet(true);
  {
    org.apache.thrift.protocol.TList _list326 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
    struct.parameterMetaData = new ArrayList<ColumnDescriptor>(_list326.size);
    for (int _i327 = 0; _i327 < _list326.size; ++_i327)
    {
      ColumnDescriptor _elem328;
      _elem328 = new ColumnDescriptor();
      _elem328.read(iprot);
      struct.parameterMetaData.add(_elem328);
    }
  }
  struct.setParameterMetaDataIsSet(true);
  BitSet incoming = iprot.readBitSet(2);
  if (incoming.get(0)) {
    {
      org.apache.thrift.protocol.TList _list329 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
      struct.resultSetMetaData = new ArrayList<ColumnDescriptor>(_list329.size);
      for (int _i330 = 0; _i330 < _list329.size; ++_i330)
      {
        ColumnDescriptor _elem331;
        _elem331 = new ColumnDescriptor();
        _elem331.read(iprot);
        struct.resultSetMetaData.add(_elem331);
      }
    }
    struct.setResultSetMetaDataIsSet(true);
  }
  if (incoming.get(1)) {
    struct.warnings = new GFXDExceptionData();
    struct.warnings.read(iprot);
    struct.setWarningsIsSet(true);
  }
}
 
Example 13
Source File: JSONNode.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, JSONNode struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.refId = iprot.readI32();
  struct.setRefIdIsSet(true);
  BitSet incoming = iprot.readBitSet(2);
  if (incoming.get(0)) {
    {
      org.apache.thrift.protocol.TMap _map126 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
      struct.pairs = new HashMap<String,JSONField>(2*_map126.size);
      for (int _i127 = 0; _i127 < _map126.size; ++_i127)
      {
        String _key128;
        JSONField _val129;
        _key128 = iprot.readString();
        _val129 = new JSONField();
        _val129.read(iprot);
        struct.pairs.put(_key128, _val129);
      }
    }
    struct.setPairsIsSet(true);
  }
  if (incoming.get(1)) {
    struct.singleField = new JSONField();
    struct.singleField.read(iprot);
    struct.setSingleFieldIsSet(true);
  }
}
 
Example 14
Source File: TListSentryRolesRequest.java    From incubator-sentry with Apache License 2.0 5 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TListSentryRolesRequest struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.protocol_version = iprot.readI32();
  struct.setProtocol_versionIsSet(true);
  struct.requestorUserName = iprot.readString();
  struct.setRequestorUserNameIsSet(true);
  BitSet incoming = iprot.readBitSet(1);
  if (incoming.get(0)) {
    struct.groupName = iprot.readString();
    struct.setGroupNameIsSet(true);
  }
}
 
Example 15
Source File: SupervisorSummary.java    From jstorm with Apache License 2.0 5 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, SupervisorSummary struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.host = iprot.readString();
  struct.set_host_isSet(true);
  struct.supervisorId = iprot.readString();
  struct.set_supervisorId_isSet(true);
  struct.uptimeSecs = iprot.readI32();
  struct.set_uptimeSecs_isSet(true);
  struct.numWorkers = iprot.readI32();
  struct.set_numWorkers_isSet(true);
  struct.numUsedWorkers = iprot.readI32();
  struct.set_numUsedWorkers_isSet(true);
  BitSet incoming = iprot.readBitSet(4);
  if (incoming.get(0)) {
    struct.version = iprot.readString();
    struct.set_version_isSet(true);
  }
  if (incoming.get(1)) {
    struct.buildTs = iprot.readString();
    struct.set_buildTs_isSet(true);
  }
  if (incoming.get(2)) {
    struct.port = iprot.readI32();
    struct.set_port_isSet(true);
  }
  if (incoming.get(3)) {
    struct.errorMessage = iprot.readString();
    struct.set_errorMessage_isSet(true);
  }
}
 
Example 16
Source File: TPermissionsUpdate.java    From incubator-sentry with Apache License 2.0 5 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TPermissionsUpdate struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.hasfullImage = iprot.readBool();
  struct.setHasfullImageIsSet(true);
  struct.seqNum = iprot.readI64();
  struct.setSeqNumIsSet(true);
  {
    org.apache.thrift.protocol.TMap _map114 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
    struct.privilegeChanges = new HashMap<String,TPrivilegeChanges>(2*_map114.size);
    for (int _i115 = 0; _i115 < _map114.size; ++_i115)
    {
      String _key116; // required
      TPrivilegeChanges _val117; // required
      _key116 = iprot.readString();
      _val117 = new TPrivilegeChanges();
      _val117.read(iprot);
      struct.privilegeChanges.put(_key116, _val117);
    }
  }
  struct.setPrivilegeChangesIsSet(true);
  {
    org.apache.thrift.protocol.TMap _map118 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
    struct.roleChanges = new HashMap<String,TRoleChanges>(2*_map118.size);
    for (int _i119 = 0; _i119 < _map118.size; ++_i119)
    {
      String _key120; // required
      TRoleChanges _val121; // required
      _key120 = iprot.readString();
      _val121 = new TRoleChanges();
      _val121.read(iprot);
      struct.roleChanges.put(_key120, _val121);
    }
  }
  struct.setRoleChangesIsSet(true);
}
 
Example 17
Source File: FetchRequest.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, FetchRequest struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.consumerId = iprot.readString();
  struct.setConsumerIdIsSet(true);
  struct.groupId = iprot.readString();
  struct.setGroupIdIsSet(true);
  struct.cluster = iprot.readString();
  struct.setClusterIsSet(true);
  BitSet incoming = iprot.readBitSet(4);
  if (incoming.get(0)) {
    {
      org.apache.thrift.protocol.TMap _map46 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.MAP, iprot.readI32());
      struct.fetchOffset = new HashMap<String,Map<String,Long>>(2*_map46.size);
      String _key47;
      Map<String,Long> _val48;
      for (int _i49 = 0; _i49 < _map46.size; ++_i49)
      {
        _key47 = iprot.readString();
        {
          org.apache.thrift.protocol.TMap _map50 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, iprot.readI32());
          _val48 = new HashMap<String,Long>(2*_map50.size);
          String _key51;
          long _val52;
          for (int _i53 = 0; _i53 < _map50.size; ++_i53)
          {
            _key51 = iprot.readString();
            _val52 = iprot.readI64();
            _val48.put(_key51, _val52);
          }
        }
        struct.fetchOffset.put(_key47, _val48);
      }
    }
    struct.setFetchOffsetIsSet(true);
  }
  if (incoming.get(1)) {
    struct.maxBatchSize = iprot.readI32();
    struct.setMaxBatchSizeIsSet(true);
  }
  if (incoming.get(2)) {
    struct.maxLingerTime = iprot.readI32();
    struct.setMaxLingerTimeIsSet(true);
  }
  if (incoming.get(3)) {
    struct.version = iprot.readString();
    struct.setVersionIsSet(true);
  }
}
 
Example 18
Source File: TokenRange.java    From stratio-cassandra with Apache License 2.0 4 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TokenRange struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.start_token = iprot.readString();
  struct.setStart_tokenIsSet(true);
  struct.end_token = iprot.readString();
  struct.setEnd_tokenIsSet(true);
  {
    org.apache.thrift.protocol.TList _list71 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
    struct.endpoints = new ArrayList<String>(_list71.size);
    for (int _i72 = 0; _i72 < _list71.size; ++_i72)
    {
      String _elem73;
      _elem73 = iprot.readString();
      struct.endpoints.add(_elem73);
    }
  }
  struct.setEndpointsIsSet(true);
  BitSet incoming = iprot.readBitSet(2);
  if (incoming.get(0)) {
    {
      org.apache.thrift.protocol.TList _list74 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
      struct.rpc_endpoints = new ArrayList<String>(_list74.size);
      for (int _i75 = 0; _i75 < _list74.size; ++_i75)
      {
        String _elem76;
        _elem76 = iprot.readString();
        struct.rpc_endpoints.add(_elem76);
      }
    }
    struct.setRpc_endpointsIsSet(true);
  }
  if (incoming.get(1)) {
    {
      org.apache.thrift.protocol.TList _list77 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
      struct.endpoint_details = new ArrayList<EndpointDetails>(_list77.size);
      for (int _i78 = 0; _i78 < _list77.size; ++_i78)
      {
        EndpointDetails _elem79;
        _elem79 = new EndpointDetails();
        _elem79.read(iprot);
        struct.endpoint_details.add(_elem79);
      }
    }
    struct.setEndpoint_detailsIsSet(true);
  }
}
 
Example 19
Source File: LocatorService.java    From gemfirexd-oss with Apache License 2.0 4 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getAllServersWithPreferredServer_args struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  BitSet incoming = iprot.readBitSet(3);
  if (incoming.get(0)) {
    {
      org.apache.thrift.protocol.TSet _set387 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I32, iprot.readI32());
      struct.serverTypes = new HashSet<ServerType>(2*_set387.size);
      for (int _i388 = 0; _i388 < _set387.size; ++_i388)
      {
        ServerType _elem389;
        _elem389 = ServerType.findByValue(iprot.readI32());
        struct.serverTypes.add(_elem389);
      }
    }
    struct.setServerTypesIsSet(true);
  }
  if (incoming.get(1)) {
    {
      org.apache.thrift.protocol.TSet _set390 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
      struct.serverGroups = new HashSet<String>(2*_set390.size);
      for (int _i391 = 0; _i391 < _set390.size; ++_i391)
      {
        String _elem392;
        _elem392 = iprot.readString();
        struct.serverGroups.add(_elem392);
      }
    }
    struct.setServerGroupsIsSet(true);
  }
  if (incoming.get(2)) {
    {
      org.apache.thrift.protocol.TSet _set393 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
      struct.failedServers = new HashSet<HostAddress>(2*_set393.size);
      for (int _i394 = 0; _i394 < _set393.size; ++_i394)
      {
        HostAddress _elem395;
        _elem395 = new HostAddress();
        _elem395.read(iprot);
        struct.failedServers.add(_elem395);
      }
    }
    struct.setFailedServersIsSet(true);
  }
}
 
Example 20
Source File: TTransaction.java    From phoenix-tephra with Apache License 2.0 4 votes vote down vote up
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TTransaction struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  BitSet incoming = iprot.readBitSet(9);
  if (incoming.get(0)) {
    struct.transactionId = iprot.readI64();
    struct.setTransactionIdIsSet(true);
  }
  if (incoming.get(1)) {
    struct.readPointer = iprot.readI64();
    struct.setReadPointerIsSet(true);
  }
  if (incoming.get(2)) {
    {
      org.apache.thrift.protocol.TList _list15 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
      struct.invalids = new ArrayList<Long>(_list15.size);
      for (int _i16 = 0; _i16 < _list15.size; ++_i16)
      {
        long _elem17; // required
        _elem17 = iprot.readI64();
        struct.invalids.add(_elem17);
      }
    }
    struct.setInvalidsIsSet(true);
  }
  if (incoming.get(3)) {
    {
      org.apache.thrift.protocol.TList _list18 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
      struct.inProgress = new ArrayList<Long>(_list18.size);
      for (int _i19 = 0; _i19 < _list18.size; ++_i19)
      {
        long _elem20; // required
        _elem20 = iprot.readI64();
        struct.inProgress.add(_elem20);
      }
    }
    struct.setInProgressIsSet(true);
  }
  if (incoming.get(4)) {
    struct.firstShort = iprot.readI64();
    struct.setFirstShortIsSet(true);
  }
  if (incoming.get(5)) {
    struct.type = TTransactionType.findByValue(iprot.readI32());
    struct.setTypeIsSet(true);
  }
  if (incoming.get(6)) {
    struct.writePointer = iprot.readI64();
    struct.setWritePointerIsSet(true);
  }
  if (incoming.get(7)) {
    {
      org.apache.thrift.protocol.TList _list21 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
      struct.checkpointWritePointers = new ArrayList<Long>(_list21.size);
      for (int _i22 = 0; _i22 < _list21.size; ++_i22)
      {
        long _elem23; // required
        _elem23 = iprot.readI64();
        struct.checkpointWritePointers.add(_elem23);
      }
    }
    struct.setCheckpointWritePointersIsSet(true);
  }
  if (incoming.get(8)) {
    struct.visibilityLevel = TVisibilityLevel.findByValue(iprot.readI32());
    struct.setVisibilityLevelIsSet(true);
  }
}