public class MappedSchema
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
input |
protected java.util.regex.Pattern |
inputExpression |
protected java.lang.String |
output |
protected java.util.List<MappedTable> |
tables |
Constructor and Description |
---|
MappedSchema() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getInput()
The input schema name as defined in
Schema.getName()
Either <input/> or <inputExpression/> must be provided |
java.util.regex.Pattern |
getInputExpression()
A regular expression matching the input schema name as defined in
Schema.getName()
Either <input/> or <inputExpression/> must be provided |
java.lang.String |
getOutput()
The output schema as it will be rendered in SQL.
|
java.util.List<MappedTable> |
getTables() |
void |
setInput(java.lang.String value)
Sets the value of the input property.
|
void |
setInputExpression(java.util.regex.Pattern value)
Sets the value of the inputExpression property.
|
void |
setOutput(java.lang.String value)
Sets the value of the output property.
|
void |
setTables(java.util.List<MappedTable> tables) |
MappedSchema |
withInput(java.lang.String value) |
MappedSchema |
withInputExpression(java.util.regex.Pattern value) |
MappedSchema |
withOutput(java.lang.String value) |
MappedSchema |
withTables(java.util.Collection<MappedTable> values) |
MappedSchema |
withTables(java.util.List<MappedTable> tables) |
MappedSchema |
withTables(MappedTable... values) |
protected java.lang.String input
protected java.util.regex.Pattern inputExpression
protected java.lang.String output
protected java.util.List<MappedTable> tables
public java.lang.String getInput()
Schema.getName()
Either <input/> or <inputExpression/> must be provided
String
public void setInput(java.lang.String value)
value
- allowed object is
String
public java.util.regex.Pattern getInputExpression()
Schema.getName()
Either <input/> or <inputExpression/> must be providedString
public void setInputExpression(java.util.regex.Pattern value)
value
- allowed object is
String
public java.lang.String getOutput()
String
public void setOutput(java.lang.String value)
value
- allowed object is
String
public java.util.List<MappedTable> getTables()
public void setTables(java.util.List<MappedTable> tables)
public MappedSchema withInput(java.lang.String value)
public MappedSchema withInputExpression(java.util.regex.Pattern value)
public MappedSchema withOutput(java.lang.String value)
public MappedSchema withTables(MappedTable... values)
public MappedSchema withTables(java.util.Collection<MappedTable> values)
public MappedSchema withTables(java.util.List<MappedTable> tables)
public java.lang.Object clone()
clone
in class java.lang.Object
Copyright © 2018. All Rights Reserved.