kumarvishal09 commented on a change in pull request #3177: [CARBONDATA-3337][CARBONDATA-3306] Distributed index server
URL:
https://github.com/apache/carbondata/pull/3177#discussion_r278234604
##########
File path: core/src/main/java/org/apache/carbondata/core/datamap/Segment.java
##########
@@ -257,4 +270,56 @@ public void setFilteredIndexShardName(String filteredIndexShardName) {
public LoadMetadataDetails getLoadMetadataDetails() {
return loadMetadataDetails;
}
+
+ public String getIndexSize() {
+ return indexSize;
+ }
+
+ public void setIndexSize(String size) {
+ indexSize = size;
+ }
+
+ public ReadCommittedScope getReadCommittedScope() {
+ return readCommittedScope;
+ }
+
+ public boolean isCacheable() {
+ return isCacheable;
+ }
+
+ public void setCacheable(boolean cacheable) {
+ isCacheable = cacheable;
+ }
+
+ @Override public void write(DataOutput out) throws IOException {
+ out.writeUTF(segmentNo);
Review comment:
Some of the objects are heavy objects (like LoadMetadataDetails) serializing and deserializing those object will take time and it will impact the performance
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services