Module org.jooq
Package org.jooq.conf

Class MappedTable

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

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

    • input Link icon

      protected String input
    • inputExpression Link icon

      protected Pattern inputExpression
    • output Link icon

      protected String output
  • Constructor Details Link icon

    • MappedTable Link icon

      public MappedTable()
  • Method Details Link icon

    • getInput Link icon

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

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

      Specified by:
      getInput in interface MappedSchemaObject
    • setInput Link icon

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

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

    • getInputExpression Link icon

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

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

      Specified by:
      getInputExpression in interface MappedSchemaObject
    • setInputExpression Link icon

      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 Link icon

      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.
      Specified by:
      getOutput in interface MappedSchemaObject
    • setOutput Link icon

      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 Link icon

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

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

    • withInputExpression Link icon

      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 Link icon

      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 Link icon

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

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

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

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

      public Object clone()
      Overrides:
      clone in class Object