Class ParseUtils


  • public abstract class ParseUtils
    extends java.lang.Object
    Simple utility class used to help parsing CQL values (mainly UDT and collection ones).
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String quote​(java.lang.String value)
      Quote the given string; single quotes are escaped.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • quote

        public static java.lang.String quote​(java.lang.String value)
        Quote the given string; single quotes are escaped. If the given string is null, this method returns a quoted empty string ('').
        Parameters:
        value - The value to quote.
        Returns:
        The quoted string.