public static class IndexUpdate.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<IndexUpdate> implements org.apache.avro.data.RecordBuilder<IndexUpdate>
| Modifier and Type | Method and Description |
|---|---|
IndexUpdate |
build() |
IndexUpdate.Builder |
clearHostKey()
Clears the value of the 'hostKey' field
|
IndexUpdate.Builder |
clearMetricKey()
Clears the value of the 'metricKey' field
|
IndexUpdate.Builder |
clearTable()
Clears the value of the 'table' field
|
IndexUpdate.Builder |
clearTagIds()
Clears the value of the 'tagIds' field
|
IndexUpdate.Builder |
clearTimestamp()
Clears the value of the 'timestamp' field
|
ByteBuffer |
getHostKey()
Gets the value of the 'hostKey' field
|
ByteBuffer |
getMetricKey()
Gets the value of the 'metricKey' field
|
String |
getTable()
Gets the value of the 'table' field
|
List<ByteBuffer> |
getTagIds()
Gets the value of the 'tagIds' field
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field
|
boolean |
hasHostKey()
Checks whether the 'hostKey' field has been set
|
boolean |
hasMetricKey()
Checks whether the 'metricKey' field has been set
|
boolean |
hasTable()
Checks whether the 'table' field has been set
|
boolean |
hasTagIds()
Checks whether the 'tagIds' field has been set
|
boolean |
hasTimestamp()
Checks whether the 'timestamp' field has been set
|
IndexUpdate.Builder |
setHostKey(ByteBuffer value)
Sets the value of the 'hostKey' field
|
IndexUpdate.Builder |
setMetricKey(ByteBuffer value)
Sets the value of the 'metricKey' field
|
IndexUpdate.Builder |
setTable(String value)
Sets the value of the 'table' field
|
IndexUpdate.Builder |
setTagIds(List<ByteBuffer> value)
Sets the value of the 'tagIds' field
|
IndexUpdate.Builder |
setTimestamp(long value)
Sets the value of the 'timestamp' field
|
public String getTable()
public IndexUpdate.Builder setTable(String value)
public boolean hasTable()
public IndexUpdate.Builder clearTable()
public ByteBuffer getMetricKey()
public IndexUpdate.Builder setMetricKey(ByteBuffer value)
public boolean hasMetricKey()
public IndexUpdate.Builder clearMetricKey()
public ByteBuffer getHostKey()
public IndexUpdate.Builder setHostKey(ByteBuffer value)
public boolean hasHostKey()
public IndexUpdate.Builder clearHostKey()
public List<ByteBuffer> getTagIds()
public IndexUpdate.Builder setTagIds(List<ByteBuffer> value)
public boolean hasTagIds()
public IndexUpdate.Builder clearTagIds()
public Long getTimestamp()
public IndexUpdate.Builder setTimestamp(long value)
public boolean hasTimestamp()
public IndexUpdate.Builder clearTimestamp()
public IndexUpdate build()
build in interface org.apache.avro.data.RecordBuilder<IndexUpdate>Copyright © 2017. All rights reserved.