java.lang.Object
org.jooq.conf.MappedCatalog
- All Implemented Interfaces:
Serializable
,Cloneable
,XMLAppendable
A catalog mapping configuration.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Pattern
protected String
protected List
<MappedSchema> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
appendTo
(XMLBuilder builder) clone()
boolean
getInput()
The input catalog name as defined inNamed.getName()
A regular expression matching the input catalog name as defined inNamed.getName()
The output catalog as it will be rendered in SQL.int
hashCode()
void
The input catalog name as defined inNamed.getName()
void
setInputExpression
(Pattern value) A regular expression matching the input catalog name as defined inNamed.getName()
void
The output catalog as it will be rendered in SQL.void
setSchemata
(List<MappedSchema> schemata) toString()
The input catalog name as defined inNamed.getName()
withInputExpression
(Pattern value) A regular expression matching the input catalog name as defined inNamed.getName()
withOutput
(String value) The output catalog as it will be rendered in SQL.withSchemata
(Collection<MappedSchema> values) withSchemata
(List<MappedSchema> schemata) withSchemata
(MappedSchema... values)
-
Field Details
-
input
-
inputExpression
-
output
-
schemata
-
-
Constructor Details
-
MappedCatalog
public MappedCatalog()
-
-
Method Details
-
getInput
The input catalog name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
setInput
The input catalog name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
getInputExpression
A regular expression matching the input catalog name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
setInputExpression
A regular expression matching the input catalog name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
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
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
-
setSchemata
-
withInput
The input catalog name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
withInputExpression
A regular expression matching the input catalog name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
withOutput
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
-
withSchemata
-
withSchemata
-
appendTo
- Specified by:
appendTo
in interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode() -
clone
-