public static class ReportPoint.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ReportPoint> implements org.apache.avro.data.RecordBuilder<ReportPoint>
| Modifier and Type | Method and Description |
|---|---|
ReportPoint |
build() |
ReportPoint.Builder |
clearAnnotations()
Clears the value of the 'annotations' field
|
ReportPoint.Builder |
clearHost()
Clears the value of the 'host' field
|
ReportPoint.Builder |
clearMetric()
Clears the value of the 'metric' field
|
ReportPoint.Builder |
clearTable()
Clears the value of the 'table' field
|
ReportPoint.Builder |
clearTimestamp()
Clears the value of the 'timestamp' field
|
ReportPoint.Builder |
clearValue()
Clears the value of the 'value' 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
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field
|
Object |
getValue()
Gets the value of the 'value' 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
|
boolean |
hasTimestamp()
Checks whether the 'timestamp' field has been set
|
boolean |
hasValue()
Checks whether the 'value' field has been set
|
ReportPoint.Builder |
setAnnotations(Map<String,String> value)
Sets the value of the 'annotations' field
|
ReportPoint.Builder |
setHost(String value)
Sets the value of the 'host' field
|
ReportPoint.Builder |
setMetric(String value)
Sets the value of the 'metric' field
|
ReportPoint.Builder |
setTable(String value)
Sets the value of the 'table' field
|
ReportPoint.Builder |
setTimestamp(long value)
Sets the value of the 'timestamp' field
|
ReportPoint.Builder |
setValue(double value)
Sets the value of the 'value' field
|
ReportPoint.Builder |
setValue(long value)
Sets the value of the 'value' field
|
ReportPoint.Builder |
setValue(String value)
Sets the value of the 'value' field
|
public String getMetric()
public ReportPoint.Builder setMetric(String value)
public boolean hasMetric()
public ReportPoint.Builder clearMetric()
public Long getTimestamp()
public ReportPoint.Builder setTimestamp(long value)
public boolean hasTimestamp()
public ReportPoint.Builder clearTimestamp()
public Object getValue()
public ReportPoint.Builder setValue(double value)
public ReportPoint.Builder setValue(long value)
public ReportPoint.Builder setValue(String value)
public boolean hasValue()
public ReportPoint.Builder clearValue()
public String getHost()
public ReportPoint.Builder setHost(String value)
public boolean hasHost()
public ReportPoint.Builder clearHost()
public String getTable()
public ReportPoint.Builder setTable(String value)
public boolean hasTable()
public ReportPoint.Builder clearTable()
public ReportPoint.Builder setAnnotations(Map<String,String> value)
public boolean hasAnnotations()
public ReportPoint.Builder clearAnnotations()
public ReportPoint build()
build in interface org.apache.avro.data.RecordBuilder<ReportPoint>Copyright © 2015. All rights reserved.