public class MappedSchema extends Object implements Serializable, Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected String |
input |
protected Pattern |
inputExpression |
protected String |
output |
protected List<MappedTable> |
tables |
| Constructor and Description |
|---|
MappedSchema() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object that) |
String |
getInput()
The input schema name as defined in
Named.getName()
Either <input/> or <inputExpression/> must be provided |
Pattern |
getInputExpression()
A regular expression matching the input schema name as defined in
Named.getName()
Either <input/> or <inputExpression/> must be provided |
String |
getOutput()
The output schema as it will be rendered in SQL.
|
List<MappedTable> |
getTables() |
int |
hashCode() |
void |
setInput(String value)
Sets the value of the input property.
|
void |
setInputExpression(Pattern value)
Sets the value of the inputExpression property.
|
void |
setOutput(String value)
Sets the value of the output property.
|
void |
setTables(List<MappedTable> tables) |
String |
toString() |
MappedSchema |
withInput(String value) |
MappedSchema |
withInputExpression(Pattern value) |
MappedSchema |
withOutput(String value) |
MappedSchema |
withTables(Collection<MappedTable> values) |
MappedSchema |
withTables(List<MappedTable> tables) |
MappedSchema |
withTables(MappedTable... values) |
protected String input
protected Pattern inputExpression
protected String output
protected List<MappedTable> tables
public String getInput()
Named.getName()
Either <input/> or <inputExpression/> must be provided
Stringpublic void setInput(String value)
value - allowed object is
Stringpublic Pattern getInputExpression()
Named.getName()
Either <input/> or <inputExpression/> must be providedStringpublic void setInputExpression(Pattern value)
value - allowed object is
Stringpublic String getOutput()
Stringpublic void setOutput(String value)
value - allowed object is
Stringpublic List<MappedTable> getTables()
public void setTables(List<MappedTable> tables)
public MappedSchema withInput(String value)
public MappedSchema withInputExpression(Pattern value)
public MappedSchema withOutput(String value)
public MappedSchema withTables(MappedTable... values)
public MappedSchema withTables(Collection<MappedTable> values)
public MappedSchema withTables(List<MappedTable> tables)
Copyright © 2019. All rights reserved.