soql-parser-lite - v1.0.1
    Preparing search index...

    Class SoqlStringBuffer

    Index

    Constructors

    Properties

    buffer: ByteBuffer

    Methods

    • Peeks ahead at the next SOQL keyword without consuming it.

      Returns
          | "="
          | "!="
          | "<"
          | "<="
          | ">"
          | ">="
          | "LIKE"
          | "NLIKE"
          | "IN"
          | "NIN"
          | "INCLUDES"
          | "EXCLUDES"
          | "SELECT"
          | "FROM"
          | "WHERE"
          | "AND"
          | "OR"
          | "COUNT"
          | "MAX"
          | "MIN"
          | "SUM"
          | "AVG"
          | "ASC"
          | "DESC"
          | "FIRST"
          | "GROUP"
          | "HAVING"
          | "LAST"
          | "LIMIT"
          | "NOT"
          | "NULL"
          | "NULLS"
          | "USING"
          | "WITH"
          | "ORDER"
          | "BY"
          | "OFFSET"
          | "ROLLUP"
          | "CUBE"
          | "DISTINCT"
          | null

      The next keyword if valid, null otherwise

    • Peeks ahead at the next string token without consuming it.

      Returns string

      The next string token in the buffer

    • Reads and consumes the next SOQL keyword from the buffer.

      Returns
          | "="
          | "!="
          | "<"
          | "<="
          | ">"
          | ">="
          | "LIKE"
          | "NLIKE"
          | "IN"
          | "NIN"
          | "INCLUDES"
          | "EXCLUDES"
          | "SELECT"
          | "FROM"
          | "WHERE"
          | "AND"
          | "OR"
          | "COUNT"
          | "MAX"
          | "MIN"
          | "SUM"
          | "AVG"
          | "ASC"
          | "DESC"
          | "FIRST"
          | "GROUP"
          | "HAVING"
          | "LAST"
          | "LIMIT"
          | "NOT"
          | "NULL"
          | "NULLS"
          | "USING"
          | "WITH"
          | "ORDER"
          | "BY"
          | "OFFSET"
          | "ROLLUP"
          | "CUBE"
          | "DISTINCT"

      The consumed keyword

      SoqlParserError if the next token is not a valid keyword