public class ReportEvent
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
ReportEvent.Builder
RecordBuilder for ReportEvent instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
ReportEvent()
Default constructor.
|
ReportEvent(String name,
Long startTime,
Long endTime,
Map<String,String> annotations,
List<String> hosts,
Long summarizedEvents,
List<String> tags,
Boolean isUserEvent,
String table)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
Map<String,String> |
getAnnotations()
Gets the value of the 'annotations' field.
|
Long |
getEndTime()
Gets the value of the 'endTime' field.
|
List<String> |
getHosts()
Gets the value of the 'hosts' field.
|
Boolean |
getIsUserEvent()
Gets the value of the 'isUserEvent' field.
|
String |
getName()
Gets the value of the 'name' field.
|
org.apache.avro.Schema |
getSchema() |
Long |
getStartTime()
Gets the value of the 'startTime' field.
|
Long |
getSummarizedEvents()
Gets the value of the 'summarizedEvents' field.
|
String |
getTable()
Gets the value of the 'table' field.
|
List<String> |
getTags()
Gets the value of the 'tags' field.
|
static ReportEvent.Builder |
newBuilder()
Creates a new ReportEvent RecordBuilder
|
static ReportEvent.Builder |
newBuilder(ReportEvent.Builder other)
Creates a new ReportEvent RecordBuilder by copying an existing Builder
|
static ReportEvent.Builder |
newBuilder(ReportEvent other)
Creates a new ReportEvent RecordBuilder by copying an existing ReportEvent instance
|
void |
put(int field$,
Object value$) |
void |
setAnnotations(Map<String,String> value)
Sets the value of the 'annotations' field.
|
void |
setEndTime(Long value)
Sets the value of the 'endTime' field.
|
void |
setHosts(List<String> value)
Sets the value of the 'hosts' field.
|
void |
setIsUserEvent(Boolean value)
Sets the value of the 'isUserEvent' field.
|
void |
setName(String value)
Sets the value of the 'name' field.
|
void |
setStartTime(Long value)
Sets the value of the 'startTime' field.
|
void |
setSummarizedEvents(Long value)
Sets the value of the 'summarizedEvents' field.
|
void |
setTable(String value)
Sets the value of the 'table' field.
|
void |
setTags(List<String> value)
Sets the value of the 'tags' field.
|
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 getName()
public void setName(String value)
value - the value to set.public Long getStartTime()
public void setStartTime(Long value)
value - the value to set.public Long getEndTime()
public void setEndTime(Long value)
value - the value to set.public Map<String,String> getAnnotations()
public void setAnnotations(Map<String,String> value)
value - the value to set.public void setHosts(List<String> value)
value - the value to set.public Long getSummarizedEvents()
public void setSummarizedEvents(Long value)
value - the value to set.public void setTags(List<String> value)
value - the value to set.public Boolean getIsUserEvent()
public void setIsUserEvent(Boolean value)
value - the value to set.public String getTable()
public void setTable(String value)
value - the value to set.public static ReportEvent.Builder newBuilder()
public static ReportEvent.Builder newBuilder(ReportEvent.Builder other)
public static ReportEvent.Builder newBuilder(ReportEvent other)
Copyright © 2016. All rights reserved.