public async Task <TexeraTuple> NextAsync() { Pair <TexeraTuple, ulong> res = await reader.ReadTuple(); start += res.Second; outputCounter++; return(res.First); }
public async Task <TexeraTuple> NextAsync() { if (reader.IsEOF() && fileNames.Count > 0) { reader.Close(); reader = new ScanStreamReader(folder + "/" + fileNames.Dequeue(), separator); if (!reader.GetFile(0)) { throw new Exception("unable to get file"); } await reader.FillBuffer(); } Pair <TexeraTuple, ulong> res = await reader.ReadTuple(); return(res.First); }
public async Task <TexeraTuple> NextAsync() { Pair <TexeraTuple, ulong> res = await reader.ReadTuple(); return(res.First); }