Class EscapeUtils

java.lang.Object
com.datastax.astra.internal.utils.EscapeUtils

public class EscapeUtils extends Object
Escaper for special characters like dot and and.
  • Method Details

    • unEscapeFieldPath

      public static String[] unEscapeFieldPath(String inputPath)
      Escape a field path.
      Parameters:
      inputPath - field path
      Returns:
      escaped field path
    • escapeFieldNames

      public static String escapeFieldNames(String... segments)
      Escape a field path.
      Parameters:
      segments - field path segments
      Returns:
      escaped field path
    • escapeSingleExpression

      public static String escapeSingleExpression(String segment)
      Escape a single expression.
      Parameters:
      segment - expression
      Returns:
      escaped expression