java.lang.Object
org.jooq.conf.MappedSchema
- All Implemented Interfaces:
Serializable
,Cloneable
,XMLAppendable
A schema mapping configuration.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Pattern
protected String
protected List<MappedTable>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
appendTo
(XMLBuilder builder) clone()
boolean
getInput()
The input schema name as defined inNamed.getName()
A regular expression matching the input schema name as defined inNamed.getName()
The output schema as it will be rendered in SQL.int
hashCode()
void
The input schema name as defined inNamed.getName()
void
setInputExpression
(Pattern value) A regular expression matching the input schema name as defined inNamed.getName()
void
The output schema as it will be rendered in SQL.void
setTables
(List<MappedTable> tables) toString()
The input schema name as defined inNamed.getName()
withInputExpression
(Pattern value) A regular expression matching the input schema name as defined inNamed.getName()
withOutput
(String value) The output schema as it will be rendered in SQL.withTables
(Collection<MappedTable> values) withTables
(List<MappedTable> tables) withTables
(MappedTable... values)
-
Field Details
-
input
-
inputExpression
-
output
-
tables
-
-
Constructor Details
-
MappedSchema
public MappedSchema()
-
-
Method Details
-
getInput
The input schema name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
setInput
The input schema name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
getInputExpression
A regular expression matching the input schema name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
setInputExpression
A regular expression matching the input schema name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
getOutput
The output schema as it will be rendered in SQL.- When this is omitted, you can still apply table mapping.
- When <input/> is provided, <output/> is a constant value.
- When <inputExpression/> is provided, <output/> is a replacement expression
-
setOutput
The output schema as it will be rendered in SQL.- When this is omitted, you can still apply table mapping.
- When <input/> is provided, <output/> is a constant value.
- When <inputExpression/> is provided, <output/> is a replacement expression
-
getTables
-
setTables
-
withInput
The input schema name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
withInputExpression
A regular expression matching the input schema name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
withOutput
The output schema as it will be rendered in SQL.- When this is omitted, you can still apply table mapping.
- When <input/> is provided, <output/> is a constant value.
- When <inputExpression/> is provided, <output/> is a replacement expression
-
withTables
-
withTables
-
withTables
-
appendTo
- Specified by:
appendTo
in interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode() -
clone
-