Skip to content

Commit 2328dc7

Browse files
committed
Rename BytesRefsFromSimpleBinary to BytesRefsFromBinary
1 parent 62c0ed9 commit 2328dc7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

server/src/main/java/org/elasticsearch/index/mapper/BlockDocValuesReader.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -958,16 +958,16 @@ void read(int doc, BytesRefBuilder builder) throws IOException {
958958

959959
@Override
960960
public String toString() {
961-
return "BlockDocValuesReader.Bytes";
961+
return "BlockDocValuesReader.BytesCustom";
962962
}
963963
}
964964

965965
/**
966966
* Read BinaryDocValues with no additional structure in the BytesRefs.
967967
* Each BytesRef from the doc values maps directly to a value in the block loader.
968968
*/
969-
public static class BytesRefsFromSimpleBinary extends AbstractBytesRefsFromBinary {
970-
public BytesRefsFromSimpleBinary(BinaryDocValues docValues) {
969+
public static class BytesRefsFromBinary extends AbstractBytesRefsFromBinary {
970+
public BytesRefsFromBinary(BinaryDocValues docValues) {
971971
super(docValues);
972972
}
973973

@@ -983,7 +983,7 @@ void read(int doc, BytesRefBuilder builder) throws IOException {
983983

984984
@Override
985985
public String toString() {
986-
return "BlockDocValuesReader.BytesSimple";
986+
return "BlockDocValuesReader.Bytes";
987987
}
988988
}
989989

x-pack/plugin/logsdb/src/main/java/org/elasticsearch/xpack/logsdb/patternedtext/PatternedTextBlockLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ public AllReader reader(LeafReaderContext context) throws IOException {
3535
if (docValues == null) {
3636
return new ConstantNullsReader();
3737
}
38-
return new BlockDocValuesReader.BytesRefsFromSimpleBinary(docValues);
38+
return new BlockDocValuesReader.BytesRefsFromBinary(docValues);
3939
}
4040
}

0 commit comments

Comments
 (0)