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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
appendTo
(XMLBuilder builder) clone()
boolean
getInput()
The input table as defined inNamed.getName()
A regular expression matching the input table name as defined inNamed.getName()
The output table as it will be rendered in SQL.int
hashCode()
void
The input table as defined inNamed.getName()
void
setInputExpression
(Pattern value) A regular expression matching the input table name as defined inNamed.getName()
void
The output table as it will be rendered in SQL.toString()
The input table as defined inNamed.getName()
withInputExpression
(Pattern value) A regular expression matching the input table name as defined inNamed.getName()
withOutput
(String value) The output table as it will be rendered in SQL.
-
Field Details
-
input
-
inputExpression
-
output
-
-
Constructor Details
-
MappedTable
public MappedTable()
-
-
Method Details
-
getInput
The input table as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.
- Specified by:
getInput
in interfaceMappedSchemaObject
-
setInput
The input table as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.
-
getInputExpression
A regular expression matching the input table name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
- Specified by:
getInputExpression
in interfaceMappedSchemaObject
-
setInputExpression
A regular expression matching the input table name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
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 interfaceMappedSchemaObject
-
setOutput
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
The input table as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.
-
withInputExpression
A regular expression matching the input table name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
withOutput
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
- Specified by:
appendTo
in interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode() -
clone
-