/** * gettting the unmerged segment numbers to be merged. * * @return corrected value of unmerged segments to be merged */ public int[] getCompactionSegmentLevelCount() { String commaSeparatedLevels; commaSeparatedLevels = getProperty(CarbonCommonConstants.COMPACTION_SEGMENT_LEVEL_THRESHOLD, CarbonCommonConstants.DEFAULT_SEGMENT_LEVEL_THRESHOLD); int[] compactionSize = getIntArray(commaSeparatedLevels); if (0 == compactionSize.length) { compactionSize = getIntArray(CarbonCommonConstants.DEFAULT_SEGMENT_LEVEL_THRESHOLD); } return compactionSize; }
.getIntArray(tblProps.get(CarbonCommonConstants.TABLE_COMPACTION_LEVEL_THRESHOLD)); if (0 == noOfSegmentLevelsCount.length) { noOfSegmentLevelsCount = CarbonProperties.getInstance().getCompactionSegmentLevelCount();
break; case COMPACTION_SEGMENT_LEVEL_THRESHOLD: int[] values = CarbonProperties.getInstance().getIntArray(value); if (values.length != 2) { throw new InvalidConfigurationException(