Class DbStatementParser

java.lang.Object
io.github.mmm.orm.statement.DbStatementParser
All Implemented Interfaces:
io.github.mmm.scanner.CharScannerParser<DbStatement<?>>

public class DbStatementParser extends Object implements io.github.mmm.scanner.CharScannerParser<DbStatement<?>>
CharScannerParser for DbStatements.
ATTENTION: This is NOT a generic SQL parser. It will only support the exact syntax produced by BasicDbStatementFormatter with the defaults (as used by
invalid reference
DbStatement#toString()
).
Since:
1.0.0
  • Constructor Details

    • DbStatementParser

      protected DbStatementParser()
      The constructor.
  • Method Details

    • parse

      public DbStatement<?> parse(io.github.mmm.scanner.CharStreamScanner scanner)
      Specified by:
      parse in interface io.github.mmm.scanner.CharScannerParser<DbStatement<?>>
    • get

      public static DbStatementParser get()
      Returns:
      the singleton instance of this DbStatementParser.