Skip to content

Commit 62c0ed9

Browse files
committed
Rename BytesRefsFromBinary to BytesRefsFromCustomBinary
1 parent 3aa135f commit 62c0ed9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -864,10 +864,10 @@ public String toString() {
864864
}
865865
}
866866

867-
public static class BytesRefsFromBinaryBlockLoader extends DocValuesBlockLoader {
867+
public static class BytesRefsFromCustomBinaryBlockLoader extends DocValuesBlockLoader {
868868
private final String fieldName;
869869

870-
public BytesRefsFromBinaryBlockLoader(String fieldName) {
870+
public BytesRefsFromCustomBinaryBlockLoader(String fieldName) {
871871
this.fieldName = fieldName;
872872
}
873873

@@ -882,7 +882,7 @@ public AllReader reader(LeafReaderContext context) throws IOException {
882882
if (docValues == null) {
883883
return new ConstantNullsReader();
884884
}
885-
return new BytesRefsFromBinary(docValues);
885+
return new BytesRefsFromCustomBinary(docValues);
886886
}
887887
}
888888

@@ -920,11 +920,11 @@ public int docId() {
920920
/**
921921
* Read BinaryDocValues encoded by {@link BinaryFieldMapper.CustomBinaryDocValuesField}
922922
*/
923-
static class BytesRefsFromBinary extends AbstractBytesRefsFromBinary {
923+
static class BytesRefsFromCustomBinary extends AbstractBytesRefsFromBinary {
924924
private final ByteArrayStreamInput in = new ByteArrayStreamInput();
925925
private final BytesRef scratch = new BytesRef();
926926

927-
BytesRefsFromBinary(BinaryDocValues docValues) {
927+
BytesRefsFromCustomBinary(BinaryDocValues docValues) {
928928
super(docValues);
929929
}
930930

x-pack/plugin/wildcard/src/main/java/org/elasticsearch/xpack/wildcard/mapper/WildcardFieldMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ public Query prefixQuery(
956956
@Override
957957
public BlockLoader blockLoader(BlockLoaderContext blContext) {
958958
if (hasDocValues()) {
959-
return new BlockDocValuesReader.BytesRefsFromBinaryBlockLoader(name());
959+
return new BlockDocValuesReader.BytesRefsFromCustomBinaryBlockLoader(name());
960960
}
961961
return null;
962962
}

0 commit comments

Comments
 (0)