Module org.jooq
Package org.jooq.conf

Class MappedTable

java.lang.Object
org.jooq.conf.MappedTable
All Implemented Interfaces:
Serializable, Cloneable, XMLAppendable

public class MappedTable extends Object implements Serializable, Cloneable, XMLAppendable
A table mapping configuration.
See Also:
Serialized Form
  • Field Details

    • input

      protected String input
    • inputExpression

      protected Pattern inputExpression
    • output

      protected String output
  • Constructor Details

    • MappedTable

      public MappedTable()
  • Method Details

    • getInput

      public String getInput()
      The input table as defined in Named.getName()

      Either <input/> or <inputExpression/> must be provided.

    • setInput

      public void setInput​(String value)
      The input table as defined in Named.getName()

      Either <input/> or <inputExpression/> must be provided.

    • getInputExpression

      public Pattern getInputExpression()
      A regular expression matching the input table name as defined in Named.getName()

      Either <input/> or <inputExpression/> must be provided

    • setInputExpression

      public void setInputExpression​(Pattern value)
      A regular expression matching the input table name as defined in Named.getName()

      Either <input/> or <inputExpression/> must be provided

    • getOutput

      public String getOutput()
      The output table as it will be rendered in SQL.
      • When <input/> is provided, <output/> is a constant value.
      • When <inputExpression/> is provided, <output/> is a replacement expression.
    • setOutput

      public void setOutput​(String value)
      The output table as it will be rendered in SQL.
      • When <input/> is provided, <output/> is a constant value.
      • When <inputExpression/> is provided, <output/> is a replacement expression.
    • withInput

      public MappedTable withInput​(String value)
      The input table as defined in Named.getName()

      Either <input/> or <inputExpression/> must be provided.

    • withInputExpression

      public MappedTable withInputExpression​(Pattern value)
      A regular expression matching the input table name as defined in Named.getName()

      Either <input/> or <inputExpression/> must be provided

    • withOutput

      public MappedTable withOutput​(String value)
      The output table as it will be rendered in SQL.
      • When <input/> is provided, <output/> is a constant value.
      • When <inputExpression/> is provided, <output/> is a replacement expression.
    • appendTo

      public final void appendTo​(XMLBuilder builder)
      Specified by:
      appendTo in interface XMLAppendable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals​(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Object clone()
      Overrides:
      clone in class Object