Module org.jooq
Package org.jooq.conf

Class MappedCatalog

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

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

  • Constructor Details

    • MappedCatalog

      public MappedCatalog()
  • Method Details

    • getInput

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

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

    • setInput

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

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

    • getInputExpression

      public Pattern getInputExpression()
      A regular expression matching the input catalog 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 catalog name as defined in Named.getName()

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

    • getOutput

      public String getOutput()
      The output catalog as it will be rendered in SQL.
      • When this is omitted, you can still apply schema and table mapping.
      • 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 catalog as it will be rendered in SQL.
      • When this is omitted, you can still apply schema and table mapping.
      • When <input/> is provided, <output/> is a constant value.
      • When <inputExpression/> is provided, <output/> is a replacement expression
    • getSchemata

      public List<MappedSchema> getSchemata()
    • setSchemata

      public void setSchemata(List<MappedSchema> schemata)
    • withInput

      public MappedCatalog withInput(String value)
      The input catalog name as defined in Named.getName()

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

    • withInputExpression

      public MappedCatalog withInputExpression(Pattern value)
      A regular expression matching the input catalog name as defined in Named.getName()

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

    • withOutput

      public MappedCatalog withOutput(String value)
      The output catalog as it will be rendered in SQL.
      • When this is omitted, you can still apply schema and table mapping.
      • When <input/> is provided, <output/> is a constant value.
      • When <inputExpression/> is provided, <output/> is a replacement expression
    • withSchemata

      public MappedCatalog withSchemata(MappedSchema... values)
    • withSchemata

      public MappedCatalog withSchemata(Collection<MappedSchema> values)
    • withSchemata

      public MappedCatalog withSchemata(List<MappedSchema> schemata)
    • 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