Class StringPrefixUtils

java.lang.Object
org.elasticsearch.xpack.esql.datasources.pushdown.StringPrefixUtils

public final class StringPrefixUtils extends Object
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 Details

    • nextPrefixUpperBound

      public static org.apache.lucene.util.BytesRef nextPrefixUpperBound(org.apache.lucene.util.BytesRef prefix)