Class StringPrefixUtils
java.lang.Object
org.elasticsearch.xpack.esql.datasources.pushdown.StringPrefixUtils
Utility for computing the exclusive upper bound of a UTF-8 string prefix range.
Used by Parquet and ORC pushdown to translate
StartsWith(col, prefix) into
col >= prefix AND col < nextPrefixUpperBound(prefix) for row-group/stripe skipping.-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.lucene.util.BytesRefnextPrefixUpperBound(org.apache.lucene.util.BytesRef prefix)
-
Method Details
-
nextPrefixUpperBound
public static org.apache.lucene.util.BytesRef nextPrefixUpperBound(org.apache.lucene.util.BytesRef prefix)
-