Class SqlNodeList

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Iterable<SqlNode>

    public class SqlNodeList
    extends SqlNode
    implements java.lang.Iterable<SqlNode>
    A SqlNodeList is a list of SqlNodes. It is also a SqlNode, so may appear in a parse tree.
    • Field Detail

      • EMPTY

        public static final SqlNodeList EMPTY
        An immutable, empty SqlNodeList.
      • list

        private final java.util.List<SqlNode> list
    • Constructor Detail

      • SqlNodeList

        public SqlNodeList​(SqlParserPos pos)
        Creates an empty SqlNodeList.
      • SqlNodeList

        public SqlNodeList​(java.util.Collection<? extends SqlNode> collection,
                           SqlParserPos pos)
        Creates a SqlNodeList containing the nodes in list. The list is copied, but the nodes in it are not.