Class UsingClause

    • Constructor Detail

      • UsingClause

        public UsingClause​(Fragment root,
                           String sourceTable)
        Create a new instance of a UsingClause.
        Parameters:
        root - root SQL statement this USING clause belongs to
        sourceTable - origin of the data to be merged
      • UsingClause

        public UsingClause​(Fragment root,
                           String sourceTable,
                           String as)
        Create a new instance of a UsingClause.
        Parameters:
        root - root SQL statement this USING clause belongs to
        as - table alias
        sourceTable - origin of the data to be merged
    • Method Detail

      • accept

        public void accept​(MergeVisitor visitor)
        Description copied from interface: MergeFragment
        Accept a visitor (e.g. a renderer or validator).
        Specified by:
        accept in interface MergeFragment
        Parameters:
        visitor - visitor to accept