Class BatchResults


  • public class BatchResults
    extends Object
    Since:
    4.3
    • Constructor Detail

      • BatchResults

        public BatchResults​(BatchResults.BatchFetcher batchFetcher,
                            org.teiid.jdbc.BatchResults.Batch batch,
                            int savedBatches)
    • Method Detail

      • getCurrentRow

        public List<?> getCurrentRow()
                              throws SQLException
        Moving forward through the results it's expected that the batches are arbitrarily size. Moving backward through the results it's expected that the batches will match the fetch size.
        Throws:
        SQLException
      • hasPrevious

        public boolean hasPrevious()
      • previous

        public boolean previous()
      • getCurrentRowNumber

        public int getCurrentRowNumber()
      • getFinalRowNumber

        public int getFinalRowNumber()
      • getHighestRowNumber

        public int getHighestRowNumber()
      • isTailLast

        public boolean isTailLast()