Class CqlBuilder


  • public class CqlBuilder
    extends java.lang.Object
    This is a very rudimentary attempt at providing an interface for code to build CQL on the fly. There is a lot more to the CQL grammar than what is supported here, but this hits the high points.
    • Method Detail

      • library

        public CqlBuilder library​(java.lang.String name)
      • library

        public CqlBuilder library​(java.lang.String name,
                                  java.lang.String version)
      • using

        public CqlBuilder using​(java.lang.String model)
      • using

        public CqlBuilder using​(java.lang.String model,
                                java.lang.String version)
      • include

        public CqlBuilder include​(java.lang.String libName)
      • include

        public CqlBuilder include​(java.lang.String libName,
                                  java.lang.String version)
      • includes

        public CqlBuilder includes​(java.lang.String libName,
                                   java.lang.String version,
                                   java.lang.String alias)
      • parameter

        public CqlBuilder parameter​(java.lang.String paramName,
                                    java.lang.String type)
      • parameter

        public CqlBuilder parameter​(java.lang.String paramName,
                                    java.lang.String type,
                                    java.lang.String defaultValue)
      • valueset

        public CqlBuilder valueset​(java.lang.String vsId,
                                   java.lang.String externalRef)
      • context

        public CqlBuilder context​(java.lang.String context)
      • expression

        public CqlBuilder expression​(java.lang.String exprName,
                                     java.lang.String exprValue)
      • build

        public java.lang.String build()