Class FromItem

  • Direct Known Subclasses:
    FromJoin

    public class FromItem
    extends Object
    An element in the FROM clause - TableRowSource: FROM xx_LOGICAL_RESOURCES AS LR0 - SelectRowSource: FROM (SELECT LR.LOGICAL_ID FROM ...) AS SUB0
    • Constructor Detail

      • FromItem

        protected FromItem​(RowSource rowSource,
                           Alias alias)
        Parameters:
        rowSource -
        alias -
      • FromItem

        protected FromItem​(RowSource rowSource)
    • Method Detail

      • getAlias

        public Alias getAlias()
        Get the alias associated with this item in the from clause.
        Returns:
        the alias for this item. Can be null
      • isAnsiJoin

        public boolean isAnsiJoin()
        Is this an ANSI-style join?
        Returns:
      • toPrettyString

        public String toPrettyString​(boolean pretty)
        Render a string version of the item (for use when debugging)
        Parameters:
        pretty -
        Returns:
      • render

        public <T> T render​(StatementRenderer<T> renderer)
        Render this item using the given renderer
        Type Parameters:
        T -
        Parameters:
        renderer -
        Returns: