public class IndexUpdate
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexUpdate.Builder
RecordBuilder for IndexUpdate instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
IndexUpdate()
Default constructor.
|
IndexUpdate(String table,
ByteBuffer metricKey,
ByteBuffer hostKey,
List<ByteBuffer> tagIds,
Long timestamp)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
ByteBuffer |
getHostKey()
Gets the value of the 'hostKey' field.
|
ByteBuffer |
getMetricKey()
Gets the value of the 'metricKey' field.
|
org.apache.avro.Schema |
getSchema() |
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.
|
static IndexUpdate.Builder |
newBuilder()
Creates a new IndexUpdate RecordBuilder
|
static IndexUpdate.Builder |
newBuilder(IndexUpdate.Builder other)
Creates a new IndexUpdate RecordBuilder by copying an existing Builder
|
static IndexUpdate.Builder |
newBuilder(IndexUpdate other)
Creates a new IndexUpdate RecordBuilder by copying an existing IndexUpdate instance
|
void |
put(int field$,
Object value$) |
void |
setHostKey(ByteBuffer value)
Sets the value of the 'hostKey' field.
|
void |
setMetricKey(ByteBuffer value)
Sets the value of the 'metricKey' field.
|
void |
setTable(String value)
Sets the value of the 'table' field.
|
void |
setTagIds(List<ByteBuffer> value)
Sets the value of the 'tagIds' field.
|
void |
setTimestamp(Long value)
Sets the value of the 'timestamp' field.
|
public IndexUpdate()
public IndexUpdate(String table, ByteBuffer metricKey, ByteBuffer hostKey, List<ByteBuffer> tagIds, Long timestamp)
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getTable()
public void setTable(String value)
value - the value to set.public ByteBuffer getMetricKey()
public void setMetricKey(ByteBuffer value)
value - the value to set.public ByteBuffer getHostKey()
public void setHostKey(ByteBuffer value)
value - the value to set.public List<ByteBuffer> getTagIds()
public void setTagIds(List<ByteBuffer> value)
value - the value to set.public Long getTimestamp()
public void setTimestamp(Long value)
value - the value to set.public static IndexUpdate.Builder newBuilder()
public static IndexUpdate.Builder newBuilder(IndexUpdate.Builder other)
public static IndexUpdate.Builder newBuilder(IndexUpdate other)
Copyright © 2015. All rights reserved.