Github user kumarvishal09 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2654#discussion_r214089736
--- Diff:
core/src/main/java/org/apache/carbondata/core/datastore/page/encoding/adaptive/AdaptiveCodec.java
---
@@ -38,17 +40,56 @@
// the data type specified in schema
protected final DataType srcDataType;
+ protected boolean isSort;
+ protected boolean isInvertedIndex;
+
protected AdaptiveCodec(DataType srcDataType, DataType targetDataType,
- SimpleStatsResult stats) {
+ SimpleStatsResult stats, boolean isSort, boolean isInvertedIndex) {
this.stats = stats;
this.srcDataType = srcDataType;
this.targetDataType = targetDataType;
+ this.isSort = isSort;
+ this.isInvertedIndex = isInvertedIndex;
}
public DataType getTargetDataType() {
return targetDataType;
}
+ public Object[] getPageBasedOnDataType(ColumnPage input) {
--- End diff --
what is the purpose of this method??
---