public static class ColumnDef.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ColumnDef> implements org.apache.avro.data.RecordBuilder<ColumnDef>
Modifier and Type | Method and Description |
---|---|
ColumnDef |
build() |
ColumnDef.Builder |
clearDescription()
Clears the value of the 'description' field.
|
ColumnDef.Builder |
clearName()
Clears the value of the 'name' field.
|
ColumnDef.Builder |
clearType()
Clears the value of the 'type' field.
|
ColumnDef.Builder |
clearUnitOfMeasurement()
Clears the value of the 'unitOfMeasurement' field.
|
String |
getDescription()
Gets the value of the 'description' field.
|
String |
getName()
Gets the value of the 'name' field.
|
Type |
getType()
Gets the value of the 'type' field.
|
String |
getUnitOfMeasurement()
Gets the value of the 'unitOfMeasurement' field.
|
boolean |
hasDescription()
Checks whether the 'description' field has been set.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
boolean |
hasType()
Checks whether the 'type' field has been set.
|
boolean |
hasUnitOfMeasurement()
Checks whether the 'unitOfMeasurement' field has been set.
|
ColumnDef.Builder |
setDescription(String value)
Sets the value of the 'description' field.
|
ColumnDef.Builder |
setName(String value)
Sets the value of the 'name' field.
|
ColumnDef.Builder |
setType(Type value)
Sets the value of the 'type' field.
|
ColumnDef.Builder |
setUnitOfMeasurement(String value)
Sets the value of the 'unitOfMeasurement' field.
|
public String getName()
public ColumnDef.Builder setName(String value)
value
- The value of 'name'.public boolean hasName()
public ColumnDef.Builder clearName()
public Type getType()
public ColumnDef.Builder setType(Type value)
value
- The value of 'type'.public boolean hasType()
public ColumnDef.Builder clearType()
public String getUnitOfMeasurement()
public ColumnDef.Builder setUnitOfMeasurement(String value)
value
- The value of 'unitOfMeasurement'.public boolean hasUnitOfMeasurement()
public ColumnDef.Builder clearUnitOfMeasurement()
public String getDescription()
public ColumnDef.Builder setDescription(String value)
value
- The value of 'description'.public boolean hasDescription()
public ColumnDef.Builder clearDescription()
Copyright © 2018 SPF4J. All rights reserved.