Skip to content

Commit a69918a

Browse files
author
Andrew Pikler
committed
improve naming
1 parent e6930f9 commit a69918a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnReaderBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ void writeValue() {
453453
this.writerVersion = writerVersion;
454454
this.maxDefinitionLevel = path.getMaxDefinitionLevel();
455455
DictionaryPage dictionaryPage = pageReader.readDictionaryPage();
456-
this.dictionary = dictionaryPage == null ? null : dictionaryPage.getDictionary(path);
456+
this.dictionary = dictionaryPage == null ? null : dictionaryPage.decode(path);
457457
if (dictionary != null && converter.hasDictionarySupport()) {
458458
converter.setDictionary(dictionary);
459459
}

parquet-column/src/main/java/org/apache/parquet/column/page/DictionaryPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public DictionaryPage copy() throws IOException {
8080
/**
8181
* @return the decoded dictionary
8282
*/
83-
public Dictionary getDictionary(ColumnDescriptor path) {
83+
public Dictionary decode(ColumnDescriptor path) {
8484
try {
8585
return getEncoding().initDictionary(path, this);
8686
} catch (IOException e) {

0 commit comments

Comments
 (0)