Class EscapeUtils
java.lang.Object
com.datastax.astra.internal.utils.EscapeUtils
Escaper for special characters like dot and and.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
escapeFieldNames
(String... segments) Escape a field path.static String
escapeSingleExpression
(String segment) Escape a single expression.static String[]
unEscapeFieldPath
(String inputPath) Escape a field path.
-
Method Details
-
unEscapeFieldPath
Escape a field path.- Parameters:
inputPath
- field path- Returns:
- escaped field path
-
escapeFieldNames
Escape a field path.- Parameters:
segments
- field path segments- Returns:
- escaped field path
-
escapeSingleExpression
Escape a single expression.- Parameters:
segment
- expression- Returns:
- escaped expression
-