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)
value - The value of 'metric'.public boolean hasMetric()
public TimeSeries.Builder clearMetric()
public String getHost()
public TimeSeries.Builder setHost(String value)
value - The value of 'host'.public boolean hasHost()
public TimeSeries.Builder clearHost()
public String getTable()
public TimeSeries.Builder setTable(String value)
value - The value of 'table'.public boolean hasTable()
public TimeSeries.Builder clearTable()
public Map<String,String> getAnnotations()
public TimeSeries.Builder setAnnotations(Map<String,String> value)
value - The value of 'annotations'.public boolean hasAnnotations()
public TimeSeries.Builder clearAnnotations()
public TimeSeries build()
build in interface org.apache.avro.data.RecordBuilder<TimeSeries>Copyright © 2018. All rights reserved.