GetReader() public method

public GetReader ( AtomicReaderContext context ) : OrdinalsSegmentReader
context AtomicReaderContext
return OrdinalsSegmentReader
コード例 #1
0
 public override void Run()
 {
     foreach (var context in reader.Leaves)
     {
         try
         {
             ordsReader.GetReader(context);
         }
         catch (Exception e) when(e.IsIOException())
         {
             throw RuntimeException.Create(e);
         }
     }
 }
コード例 #2
0
 public override void Run()
 {
     foreach (var context in reader.Leaves)
     {
         try
         {
             ordsReader.GetReader(context);
         }
         catch (IOException e)
         {
             throw new Exception(e.ToString(), e);
         }
     }
 }