core/src/main/java/org/apache/carbondata/core/scan/result/AbstractScannedResult.java
/**
   * Fill the column data to vector
   */
Fill the column data to vector
Fill the column data to vector
public void fillColumnarImplicitBatch(ColumnVectorInfo[] vectorInfo) {
    for (int i = 0; i < vectorInfo.length; i++) {
      ColumnVectorInfo columnVectorInfo = vectorInfo[i];
      CarbonColumnVector vector = columnVectorInfo.vector;
      int offset = columnVectorInfo.offset;
      int vectorOffset = columnVectorInfo.vectorOffset;
      int len = offset + columnVectorInfo.size;
      for (int j = offset; j < len; j++) {
        String data = getBlockletId();
        if (CarbonCommonConstants.CARBON_IMPLICIT_COLUMN_TUPLEID
            .equals(columnVectorInfo.dimension.getColumnName())) {
          data = data + CarbonCommonConstants.FILE_SEPARATOR + pageCounter
              + CarbonCommonConstants.FILE_SEPARATOR + (rowMapping == null ?
              j :
              rowMapping[pageCounter][j]);
        }
        vector.putBytes(vectorOffset++,
            data.getBytes(Charset.forName(CarbonCommonConstants.DEFAULT_CHARSET)));
      }
    }
  }
public void fillColumnarImplicitBatch ( ColumnVectorInfo [ ] vectorInfo ) { for ( int i = 0 ; i < vectorInfo . length ; i ++ ) { ColumnVectorInfo columnVectorInfo = vectorInfo [ i ] ; CarbonColumnVector vector = columnVectorInfo . vector ; int offset = columnVectorInfo . offset ; int vectorOffset = columnVectorInfo . vectorOffset ; int len = offset + columnVectorInfo . size ; for ( int j = offset ; j < len ; j ++ ) { String data = getBlockletId ( ) ; if ( CarbonCommonConstants . CARBON_IMPLICIT_COLUMN_TUPLEID . equals ( columnVectorInfo . dimension . getColumnName ( ) ) ) { data = data + CarbonCommonConstants . FILE_SEPARATOR + pageCounter + CarbonCommonConstants . FILE_SEPARATOR + ( rowMapping == null ? j : rowMapping [ pageCounter ] [ j ] ) ; } vector . putBytes ( vectorOffset ++ , data . getBytes ( Charset . forName ( CarbonCommonConstants . DEFAULT_CHARSET ) ) ) ; } } }
Fill the column data to vector
Fill the column data to vector
// Considering only String case now as we support only