public static class TimeSeries.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<TimeSeries> implements org.apache.avro.data.RecordBuilder<TimeSeries>
| Modifier and Type | Method and Description |
|---|---|
TimeSeries |
build() |
TimeSeries.Builder |
clearAnnotations()
Clears the value of the 'annotations' field
|
TimeSeries.Builder |
clearHost()
Clears the value of the 'host' field
|
TimeSeries.Builder |
clearMetric()
Clears the value of the 'metric' field
|
TimeSeries.Builder |
clearTable()
Clears the value of the 'table' field
|
Map<String,String> |
getAnnotations()
Gets the value of the 'annotations' field
|
String |
getHost()
Gets the value of the 'host' field
|
String |
getMetric()
Gets the value of the 'metric' field
|
String |
getTable()
Gets the value of the 'table' field
|
boolean |
hasAnnotations()
Checks whether the 'annotations' field has been set
|
boolean |
hasHost()
Checks whether the 'host' field has been set
|
boolean |
hasMetric()
Checks whether the 'metric' field has been set
|
boolean |
hasTable()
Checks whether the 'table' field has been set
|
TimeSeries.Builder |
setAnnotations(Map<String,String> value)
Sets the value of the 'annotations' field
|
TimeSeries.Builder |
setHost(String value)
Sets the value of the 'host' field
|
TimeSeries.Builder |
setMetric(String value)
Sets the value of the 'metric' field
|
TimeSeries.Builder |
setTable(String value)
Sets the value of the 'table' field
|
public String getMetric()
public TimeSeries.Builder setMetric(String value)
public boolean hasMetric()
public TimeSeries.Builder clearMetric()
public String getHost()
public TimeSeries.Builder setHost(String value)
public boolean hasHost()
public TimeSeries.Builder clearHost()
public String getTable()
public TimeSeries.Builder setTable(String value)
public boolean hasTable()
public TimeSeries.Builder clearTable()
public TimeSeries.Builder setAnnotations(Map<String,String> value)
public boolean hasAnnotations()
public TimeSeries.Builder clearAnnotations()
public TimeSeries build()
build in interface org.apache.avro.data.RecordBuilder<TimeSeries>Copyright © 2016. All rights reserved.