Class EvalStats


  • public class EvalStats
    extends java.lang.Object
    This class holds statistics generated from a query evaluation operation, such as the number of rows fetched and the total time to perform the evaluation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long elapsedTimeNanos
      The total time elapsed for query evaluation, in nanoseconds.
      private int rowsProduced
      The total rows produced by the query evaluation.
    • Constructor Summary

      Constructors 
      Constructor Description
      EvalStats​(int rowsProduced, long elapsedTimeNanos)  
    • Field Detail

      • rowsProduced

        private int rowsProduced
        The total rows produced by the query evaluation.
      • elapsedTimeNanos

        private long elapsedTimeNanos
        The total time elapsed for query evaluation, in nanoseconds.
    • Constructor Detail

      • EvalStats

        public EvalStats​(int rowsProduced,
                         long elapsedTimeNanos)
    • Method Detail

      • getRowsProduced

        public int getRowsProduced()
      • getElapsedTimeNanos

        public long getElapsedTimeNanos()
      • getElapsedTimeSecs

        public float getElapsedTimeSecs()