core/src/main/java/org/apache/carbondata/core/scan/result/AbstractScannedResult.java
/**
   * As this class will be a flyweight object so
   * for one block all the blocklet scanning will use same result object
   * in that case we need to reset the counter to zero so
   * for new result it will give the result from zero
   */
As this class will be a flyweight object so
for one block all the blocklet scanning will use same result object
in that case we need to reset the counter to zero so
for new result it will give the result from zero
As this class will be a flyweight object so for one block all the blocklet scanning will use same result object in that case we need to reset the counter to zero so for new result it will give the result from zero
public void reset() {
    rowCounter = 0;
    currentRow = -1;
    pageCounter = 0;
  }
public void reset ( ) { rowCounter = 0 ; currentRow = - 1 ; pageCounter = 0 ; }
As this class will be a flyweight object so
 for one block all the blocklet scanning will use same result object
 in that case we need to reset the counter to zero so
 for new result it will give the result from zero
As this class will be a flyweight object so for one block all the blocklet scanning will use same result object in that case we need to reset the counter to zero so for new result it will give the result from zero