Class TableRowSource

  • All Implemented Interfaces:
    RowSource

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

      Constructors 
      Modifier Constructor Description
      protected TableRowSource​(java.lang.String tableName)
      Protected constructor for a table without a qualified schema name
      protected TableRowSource​(java.lang.String schemaName, java.lang.String tableName)
      Protected constructor for a table qualified by schema name
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Alias getImpliedAlias()
      Get an implied alias for this row source if one is appropriate (e.g.
      <T> T render​(StatementRenderer<T> renderer)
      Render the row source
      java.lang.String toPrettyString​(boolean pretty)
      Render the object as a string
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TableRowSource

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

        protected TableRowSource​(java.lang.String schemaName,
                                 java.lang.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:
      • toString

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

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