Package sqlline

Class SqlLineParser.SqlLineArgumentList

  • All Implemented Interfaces:
    org.jline.reader.CompletingParsedLine, org.jline.reader.ParsedLine
    Enclosing class:
    SqlLineParser

    public class SqlLineParser.SqlLineArgumentList
    extends org.jline.reader.impl.DefaultParser.ArgumentList
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlLineArgumentList​(SqlLineParser.SqlParserState state, java.util.function.Supplier<java.lang.String> supplier)  
      SqlLineArgumentList​(SqlLineParser.SqlParserState state, java.util.function.Supplier<java.lang.String> supplier, java.lang.String line, java.util.List<java.lang.String> words, int wordIndex, int wordCursor, int cursor, java.lang.String openingQuote, int rawWordCursor, int rawWordLength)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.CharSequence escape​(java.lang.CharSequence candidate, boolean complete)  
      SqlLineParser.SqlParserState getState()  
      java.util.function.Supplier<java.lang.String> getSupplier()  
      • Methods inherited from class org.jline.reader.impl.DefaultParser.ArgumentList

        cursor, line, rawWordCursor, rawWordLength, word, wordCursor, wordIndex, words
      • Methods inherited from class java.lang.Object

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

      • SqlLineArgumentList

        public SqlLineArgumentList​(SqlLineParser.SqlParserState state,
                                   java.util.function.Supplier<java.lang.String> supplier,
                                   java.lang.String line,
                                   java.util.List<java.lang.String> words,
                                   int wordIndex,
                                   int wordCursor,
                                   int cursor,
                                   java.lang.String openingQuote,
                                   int rawWordCursor,
                                   int rawWordLength)
      • SqlLineArgumentList

        public SqlLineArgumentList​(SqlLineParser.SqlParserState state,
                                   java.util.function.Supplier<java.lang.String> supplier)
    • Method Detail

      • escape

        public java.lang.CharSequence escape​(java.lang.CharSequence candidate,
                                             boolean complete)
        Specified by:
        escape in interface org.jline.reader.CompletingParsedLine
        Overrides:
        escape in class org.jline.reader.impl.DefaultParser.ArgumentList
      • getSupplier

        public java.util.function.Supplier<java.lang.String> getSupplier()