Package tilda.grammar

Interface WhereClauseCodeGen

    • Method Detail

      • boolOperatorAND

        void boolOperatorAND​(boolean not)
      • boolOperatorOR

        void boolOperatorOR​(boolean not)
      • boolOpenPar

        void boolOpenPar()
      • boolClosePar

        void boolClosePar()
      • binLike

        void binLike​(java.util.List<ColumnDefinition> Columns,
                     boolean not)
      • binClose

        java.lang.String binClose()
      • isNull

        void isNull​(ColumnDefinition Column,
                    boolean not,
                    boolean orEmpty)
        Must be called with a nullable column (where a null test makes sense). If orEmpty is true then the column MUST be a collection or a String.
        Implementers of this interface are NOT expected to do this validation!
        Parameters:
        Column - A Column definition
        not - Whether this is a "is null" or "is not null"
        orEmpty - Whether a check for 'emptiness' should be performed as well, which means a length of 0 for collections, and val.trim().length() == 0 for Strings.
      • funcLen

        void funcLen​(java.util.List<ColumnDefinition> Columns)
        Must be called with a single 'collection' Column, or a list of Columns where ALL are single Strings and will be concatenated together and checked for length.
        Implementers of this interface are NOT expected to do this validation!
        Parameters:
        Columns - a list of column definitions
      • valueListOpen

        void valueListOpen()
      • valueListSeparator

        void valueListSeparator()
      • valueLiteralNumeric

        void valueLiteralNumeric​(java.lang.String Number)
      • valueLiteralChar

        void valueLiteralChar​(char c)
      • valueLiteralString

        void valueLiteralString​(java.lang.String Str)
      • valueLiteralTimestamp

        void valueLiteralTimestamp​(java.time.ZonedDateTime ZDT)
      • valueTimestampCurrent

        void valueTimestampCurrent()
      • valueTimestampYesterday

        void valueTimestampYesterday​(boolean first)
      • valueTimestampToday

        void valueTimestampToday​(boolean first)
      • valueTimestampTomorrow

        void valueTimestampTomorrow​(boolean first)
      • valueParameter

        void valueParameter​(java.lang.String Str)
      • valueListClose

        java.lang.String valueListClose​(ColumnType Type)
      • arithmeticOpenPar

        void arithmeticOpenPar()
      • arithmeticClosePar

        void arithmeticClosePar()
      • arithmeticPlus

        void arithmeticPlus​(boolean minus)
      • arithmeticMultiply

        void arithmeticMultiply​(boolean division)
      • end

        void end()
      • getCodeStr

        java.lang.String getCodeStr()