类 ExprUnparser


  • public class ExprUnparser
    extends Object
    Serializer utility for dealing with X Protocol expression trees.
    • 构造器详细资料

      • ExprUnparser

        public ExprUnparser()
    • 方法详细资料

      • escapeLiteral

        public static String escapeLiteral​(String s)
        Escape a string literal.
        参数:
        s - literal
        返回:
        escaped literal
      • quoteIdentifier

        public static String quoteIdentifier​(String ident)
        Quote a named identifier.
        参数:
        ident - identifier
        返回:
        quoted identifier
      • quoteJsonKey

        public static String quoteJsonKey​(String key)
        Quote a JSON document field key.
        参数:
        key - key
        返回:
        quoted key
      • quoteDocumentPathMember

        public static String quoteDocumentPathMember​(String member)
        Quote a JSON document path member.
        参数:
        member - path member
        返回:
        quoted path member