You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ro...@apache.org on 2023/03/10 21:52:40 UTC
[pinot] branch master updated: refine method name withForwardIndexDisabled (#10407)
This is an automated email from the ASF dual-hosted git repository.
rongr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 2607c0ee11 refine method name withForwardIndexDisabled (#10407)
2607c0ee11 is described below
commit 2607c0ee1198daed32845ac25b14f76c7170e43c
Author: Xiaobing <61...@users.noreply.github.com>
AuthorDate: Fri Mar 10 13:52:31 2023 -0800
refine method name withForwardIndexDisabled (#10407)
---
.../local/segment/creator/impl/SegmentColumnarIndexCreator.java | 2 +-
.../loader/InvertedIndexAndDictionaryBasedForwardIndexCreator.java | 4 ++--
.../org/apache/pinot/segment/spi/creator/IndexCreationContext.java | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java
index 813db84e44..236a60d955 100644
--- a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java
+++ b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java
@@ -218,7 +218,7 @@ public class SegmentColumnarIndexCreator implements SegmentCreator {
.withColumnIndexCreationInfo(columnIndexCreationInfo)
.sorted(columnIndexCreationInfo.isSorted())
.onHeap(segmentCreationSpec.isOnHeap())
- .withforwardIndexDisabled(forwardIndexDisabled)
+ .withForwardIndexDisabled(forwardIndexDisabled)
.build();
// Initialize forward index creator
ChunkCompressionType chunkCompressionType =
diff --git a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/loader/InvertedIndexAndDictionaryBasedForwardIndexCreator.java b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/loader/InvertedIndexAndDictionaryBasedForwardIndexCreator.java
index 532c9374b3..9080d3d56d 100644
--- a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/loader/InvertedIndexAndDictionaryBasedForwardIndexCreator.java
+++ b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/loader/InvertedIndexAndDictionaryBasedForwardIndexCreator.java
@@ -281,7 +281,7 @@ public class InvertedIndexAndDictionaryBasedForwardIndexCreator implements AutoC
IndexCreationContext.Forward context =
IndexCreationContext.builder().withIndexDir(_segmentMetadata.getIndexDir())
- .withColumnMetadata(_columnMetadata).withforwardIndexDisabled(false).withDictionary(_dictionaryEnabled)
+ .withColumnMetadata(_columnMetadata).withForwardIndexDisabled(false).withDictionary(_dictionaryEnabled)
.withLengthOfLongestEntry(lengthOfLongestEntry).build()
.forForwardIndex(_chunkCompressionType, _indexLoadingConfig.getColumnProperties());
@@ -360,7 +360,7 @@ public class InvertedIndexAndDictionaryBasedForwardIndexCreator implements AutoC
IndexCreationContext.Forward context =
IndexCreationContext.builder().withIndexDir(_segmentMetadata.getIndexDir())
- .withColumnMetadata(_columnMetadata).withforwardIndexDisabled(false).withDictionary(_dictionaryEnabled)
+ .withColumnMetadata(_columnMetadata).withForwardIndexDisabled(false).withDictionary(_dictionaryEnabled)
.withTotalNumberOfEntries(_nextValueId).withMaxNumberOfMultiValueElements(maxNumberOfMultiValues[0])
.withMaxRowLengthInBytes(maxRowLengthInBytes[0]).withLengthOfLongestEntry(lengthOfLongestEntry)
.build().forForwardIndex(_chunkCompressionType, _indexLoadingConfig.getColumnProperties());
diff --git a/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/creator/IndexCreationContext.java b/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/creator/IndexCreationContext.java
index 9e15345ef2..ac3c5006aa 100644
--- a/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/creator/IndexCreationContext.java
+++ b/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/creator/IndexCreationContext.java
@@ -167,7 +167,7 @@ public interface IndexCreationContext {
return this;
}
- public Builder withforwardIndexDisabled(boolean forwardIndexDisabled) {
+ public Builder withForwardIndexDisabled(boolean forwardIndexDisabled) {
_forwardIndexDisabled = forwardIndexDisabled;
return this;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org