public class Schema extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for schema complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="schema">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="columns" type="{}schemaColumns"/>
<element name="partitions" type="{}schemaColumns" minOccurs="0"/>
<element name="nullValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="delimiter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="escapeCharacter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="partitionKeyGroup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<SchemaColumn> |
columns |
protected String |
delimiter |
protected String |
escapeCharacter |
protected String |
nullValue |
protected String |
partitionKeyGroup |
protected List<SchemaColumn> |
partitions |
| Constructor and Description |
|---|
Schema()
Default no-arg constructor
|
Schema(List<SchemaColumn> columns,
List<SchemaColumn> partitions,
String nullValue,
String delimiter,
String escapeCharacter,
String partitionKeyGroup)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<SchemaColumn> |
getColumns() |
String |
getDelimiter()
Gets the value of the delimiter property.
|
String |
getEscapeCharacter()
Gets the value of the escapeCharacter property.
|
String |
getNullValue()
Gets the value of the nullValue property.
|
String |
getPartitionKeyGroup()
Gets the value of the partitionKeyGroup property.
|
List<SchemaColumn> |
getPartitions() |
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setColumns(List<SchemaColumn> columns) |
void |
setDelimiter(String value)
Sets the value of the delimiter property.
|
void |
setEscapeCharacter(String value)
Sets the value of the escapeCharacter property.
|
void |
setNullValue(String value)
Sets the value of the nullValue property.
|
void |
setPartitionKeyGroup(String value)
Sets the value of the partitionKeyGroup property.
|
void |
setPartitions(List<SchemaColumn> partitions) |
String |
toString() |
protected List<SchemaColumn> columns
protected List<SchemaColumn> partitions
protected String nullValue
protected String delimiter
protected String escapeCharacter
protected String partitionKeyGroup
public Schema()
public Schema(List<SchemaColumn> columns, List<SchemaColumn> partitions, String nullValue, String delimiter, String escapeCharacter, String partitionKeyGroup)
public String getNullValue()
Stringpublic void setNullValue(String value)
value - allowed object is
Stringpublic String getDelimiter()
Stringpublic void setDelimiter(String value)
value - allowed object is
Stringpublic String getEscapeCharacter()
Stringpublic void setEscapeCharacter(String value)
value - allowed object is
Stringpublic String getPartitionKeyGroup()
Stringpublic void setPartitionKeyGroup(String value)
value - allowed object is
Stringpublic List<SchemaColumn> getColumns()
public void setColumns(List<SchemaColumn> columns)
public List<SchemaColumn> getPartitions()
public void setPartitions(List<SchemaColumn> partitions)
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyToCopyright © 2017. All rights reserved.