Class FromItem

  • Direct Known Subclasses:
    FromJoin

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Alias getAlias()
      Get the alias associated with this item in the from clause.
      boolean isAnsiJoin()
      Is this an ANSI-style join?
      <T> T render​(StatementRenderer<T> renderer)
      Render this item using the given renderer
      java.lang.String toPrettyString​(boolean pretty)
      Render a string version of the item (for use when debugging)
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toPrettyString

        public java.lang.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: