Package sqlline

Class SqlLineHighlighter

  • All Implemented Interfaces:
    org.jline.reader.Highlighter

    public class SqlLineHighlighter
    extends org.jline.reader.impl.DefaultHighlighter
    Highlighter class to implement logic of sql and command syntax highlighting in sqlline.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jline.utils.AttributedString highlight​(org.jline.reader.LineReader reader, java.lang.String buffer)  
      • Methods inherited from class java.lang.Object

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

      • SqlLineHighlighter

        public SqlLineHighlighter​(SqlLine sqlLine)
    • Method Detail

      • highlight

        public org.jline.utils.AttributedString highlight​(org.jline.reader.LineReader reader,
                                                          java.lang.String buffer)
        Specified by:
        highlight in interface org.jline.reader.Highlighter
        Overrides:
        highlight in class org.jline.reader.impl.DefaultHighlighter