public async Task ReadAsync(TProtocol iprot, CancellationToken cancellationToken) { iprot.IncrementRecursionDepth(); try { bool isset_operationHandle = false; TField field; await iprot.ReadStructBeginAsync(cancellationToken); while (true) { field = await iprot.ReadFieldBeginAsync(cancellationToken); if (field.Type == TType.Stop) { break; } switch (field.ID) { case 1: if (field.Type == TType.Struct) { OperationHandle = new TOperationHandle(); await OperationHandle.ReadAsync(iprot, cancellationToken); isset_operationHandle = true; } else { await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; default: await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); break; } await iprot.ReadFieldEndAsync(cancellationToken); } await iprot.ReadStructEndAsync(cancellationToken); if (!isset_operationHandle) { throw new TProtocolException(TProtocolException.INVALID_DATA); } } finally { iprot.DecrementRecursionDepth(); } }
public TGetResultSetMetadataReq(TOperationHandle operationHandle) : this() { this.OperationHandle = operationHandle; }
public TGetOperationStatusReq(TOperationHandle operationHandle) : this() { this.OperationHandle = operationHandle; }
public TFetchResultsReq(TOperationHandle operationHandle, TFetchOrientation orientation, long maxRows) : this() { this.OperationHandle = operationHandle; this.Orientation = orientation; this.MaxRows = maxRows; }
public TCancelOperationReq(TOperationHandle operationHandle) : this() { this.OperationHandle = operationHandle; }
public TCloseOperationReq(TOperationHandle operationHandle) : this() { this.OperationHandle = operationHandle; }