Class TableRowSource

  • All Implemented Interfaces:
    RowSource

    public class TableRowSource
    extends Object
    implements RowSource
    Represents a table referenced in the from list FROM foo or FROM bar.foo
    • Constructor Detail

      • TableRowSource

        protected TableRowSource​(String tableName)
        Protected constructor for a table without a qualified schema name
        Parameters:
        tableName -
      • TableRowSource

        protected TableRowSource​(String schemaName,
                                 String tableName)
        Protected constructor for a table qualified by schema name
        Parameters:
        schemaName -
        tableName -
    • Method Detail

      • getImpliedAlias

        public Alias getImpliedAlias()
        Description copied from interface: RowSource
        Get an implied alias for this row source if one is appropriate (e.g. the table name)
        Specified by:
        getImpliedAlias in interface RowSource
        Returns:
      • toPrettyString

        public String toPrettyString​(boolean pretty)
        Description copied from interface: RowSource
        Render the object as a string
        Specified by:
        toPrettyString in interface RowSource
        Parameters:
        pretty - pretty-print the return value if true
        Returns: