core/src/main/java/org/apache/carbondata/core/metadata/PartitionMapFileStore.java
/**
   * Reads all partitions which existed inside the passed segment path
   * @param carbonFiles
   */
Reads all partitions which existed inside the passed segment path
@param carbonFiles
Reads all partitions which existed inside the passed segment path @param carbonFiles
public void readAllPartitionsOfSegment(CarbonFile[] carbonFiles, String segmentPath)
      throws IOException {
    String partitionFilePath = getPartitionFilePath(carbonFiles, segmentPath);
    if (partitionFilePath != null) {
      partionedSegment = true;
      PartitionMapper partitionMapper = readPartitionMap(partitionFilePath);
      partitionMap.putAll(partitionMapper.getPartitionMap());
    }
  }
public void readAllPartitionsOfSegment ( CarbonFile [ ] carbonFiles , String segmentPath ) throws IOException { String partitionFilePath = getPartitionFilePath ( carbonFiles , segmentPath ) ; if ( partitionFilePath != null ) { partionedSegment = true ; PartitionMapper partitionMapper = readPartitionMap ( partitionFilePath ) ; partitionMap . putAll ( partitionMapper . getPartitionMap ( ) ) ; } }
Reads all partitions which existed inside the passed segment path
 @param carbonFiles
Reads all partitions which existed inside the passed segment path @param carbonFiles