java.lang.Object
org.jooq.conf.MappedUDT
- All Implemented Interfaces:
Serializable
,Cloneable
,MappedSchemaObject
,XMLAppendable
public class MappedUDT
extends Object
implements Serializable, Cloneable, MappedSchemaObject, XMLAppendable
A udt mapping configuration.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
appendTo
(XMLBuilder builder) clone()
boolean
getInput()
The input UDT as defined inNamed.getName()
A regular expression matching the input UDT name as defined inNamed.getName()
The output UDT as it will be rendered in SQL.int
hashCode()
void
The input UDT as defined inNamed.getName()
void
setInputExpression
(Pattern value) A regular expression matching the input UDT name as defined inNamed.getName()
void
The output UDT as it will be rendered in SQL.toString()
The input UDT as defined inNamed.getName()
withInputExpression
(Pattern value) A regular expression matching the input UDT name as defined inNamed.getName()
withOutput
(String value) The output UDT as it will be rendered in SQL.
-
Field Details
-
input
-
inputExpression
-
output
-
-
Constructor Details
-
MappedUDT
public MappedUDT()
-
-
Method Details
-
getInput
The input UDT as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.
- Specified by:
getInput
in interfaceMappedSchemaObject
-
setInput
The input UDT as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.
-
getInputExpression
A regular expression matching the input UDT name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
- Specified by:
getInputExpression
in interfaceMappedSchemaObject
-
setInputExpression
A regular expression matching the input UDT name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
getOutput
The output UDT 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 UDT 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 UDT as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.
-
withInputExpression
A regular expression matching the input UDT name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
withOutput
The output UDT 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
-