- java.lang.Object
-
- org.jooq.conf.MappedTable
-
- All Implemented Interfaces:
Serializable,Cloneable,XMLAppendable
public class MappedTable extends Object implements Serializable, Cloneable, XMLAppendable
A table mapping configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappedTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)Objectclone()booleanequals(Object that)StringgetInput()The input table as defined inNamed.getName()PatterngetInputExpression()A regular expression matching the input table name as defined inNamed.getName()StringgetOutput()The output table as it will be rendered in SQL.inthashCode()voidsetInput(String value)The input table as defined inNamed.getName()voidsetInputExpression(Pattern value)A regular expression matching the input table name as defined inNamed.getName()voidsetOutput(String value)The output table as it will be rendered in SQL.StringtoString()MappedTablewithInput(String value)The input table as defined inNamed.getName()MappedTablewithInputExpression(Pattern value)A regular expression matching the input table name as defined inNamed.getName()MappedTablewithOutput(String value)The output table as it will be rendered in SQL.
-
-
-
Method Detail
-
getInput
public String getInput()
The input table as defined inNamed.getName()Either <input/> or <inputExpression/> must be provided.
-
setInput
public void setInput(String value)
The input table as defined inNamed.getName()Either <input/> or <inputExpression/> must be provided.
-
getInputExpression
public Pattern getInputExpression()
A regular expression matching the input table name as defined inNamed.getName()Either <input/> or <inputExpression/> must be provided
-
setInputExpression
public void setInputExpression(Pattern value)
A regular expression matching the input table name as defined inNamed.getName()Either <input/> or <inputExpression/> must be provided
-
getOutput
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.
-
setOutput
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
public MappedTable withInput(String value)
The input table as defined inNamed.getName()Either <input/> or <inputExpression/> must be provided.
-
withInputExpression
public MappedTable withInputExpression(Pattern value)
A regular expression matching the input table name as defined inNamed.getName()Either <input/> or <inputExpression/> must be provided
-
withOutput
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
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-