Package 

Object Sql.Select.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Sql.Select fromContext(SqlParseContext context)
      final Sql.Select getNULL_OBJECT() Sometimes we need to have a non-null Select reference, for example, in case of config like this:
      data class MyConfig(
          val enabled: Boolean,
          val sql1: Sql.Select,
          val sql2: Sql.Select
      )
      If it has enabled=false, then the application doesn't use it.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getNULL_OBJECT

         final Sql.Select getNULL_OBJECT()

        Sometimes we need to have a non-null Select reference, for example, in case of config like this:

        data class MyConfig(
            val enabled: Boolean,
            val sql1: Sql.Select,
            val sql2: Sql.Select
        )

        If it has enabled=false, then the application doesn't use it. However, sql1 and sql2 fields are non-null here, so, we need to have valid references there. This object can be used in such cases.