public static class MetricDatum.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MetricDatum> implements org.apache.avro.data.RecordBuilder<MetricDatum>
Modifier and Type | Method and Description |
---|---|
MetricDatum |
build() |
MetricDatum.Builder |
clearMetric()
Clears the value of the 'metric' field
|
MetricDatum.Builder |
clearMetricDimension()
Clears the value of the 'metricDimension' field
|
MetricDatum.Builder |
clearTimestamp()
Clears the value of the 'timestamp' field
|
Long |
getMetric()
Gets the value of the 'metric' field
|
CharSequence |
getMetricDimension()
Gets the value of the 'metricDimension' field
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field
|
boolean |
hasMetric()
Checks whether the 'metric' field has been set
|
boolean |
hasMetricDimension()
Checks whether the 'metricDimension' field has been set
|
boolean |
hasTimestamp()
Checks whether the 'timestamp' field has been set
|
MetricDatum.Builder |
setMetric(long value)
Sets the value of the 'metric' field
|
MetricDatum.Builder |
setMetricDimension(CharSequence value)
Sets the value of the 'metricDimension' field
|
MetricDatum.Builder |
setTimestamp(long value)
Sets the value of the 'timestamp' field
|
public CharSequence getMetricDimension()
public MetricDatum.Builder setMetricDimension(CharSequence value)
public boolean hasMetricDimension()
public MetricDatum.Builder clearMetricDimension()
public Long getTimestamp()
public MetricDatum.Builder setTimestamp(long value)
public boolean hasTimestamp()
public MetricDatum.Builder clearTimestamp()
public Long getMetric()
public MetricDatum.Builder setMetric(long value)
public boolean hasMetric()
public MetricDatum.Builder clearMetric()
public MetricDatum build()
build
in interface org.apache.avro.data.RecordBuilder<MetricDatum>
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.