public class TimestampedEvent extends SpecificRecordBase implements SpecificRecord
| Modifier and Type | Class and Description | 
|---|---|
| static class  | TimestampedEvent.BuilderRecordBuilder for TimestampedEvent instances. | 
| Modifier and Type | Field and Description | 
|---|---|
| Object | eventDeprecated.  | 
| static Schema | SCHEMA$ | 
| long | timeStampDeprecated.  | 
| Constructor and Description | 
|---|
| TimestampedEvent() | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | get(int field$)Return the value of a field given its position in the schema. | 
| Object | getEvent()Gets the value of the 'event' field. | 
| Schema | getSchema()The schema of this instance. | 
| Long | getTimeStamp()Gets the value of the 'timeStamp' field. | 
| static TimestampedEvent.Builder | newBuilder()Creates a new TimestampedEvent RecordBuilder | 
| static TimestampedEvent.Builder | newBuilder(TimestampedEvent.Builder other)Creates a new TimestampedEvent RecordBuilder by copying an existing Builder | 
| static TimestampedEvent.Builder | newBuilder(TimestampedEvent other)Creates a new TimestampedEvent RecordBuilder by copying an existing TimestampedEvent instance | 
| void | put(int field$,
   Object value$)Set the value of a field given its position in the schema. | 
| void | setEvent(Object value)Sets the value of the 'event' field. | 
| void | setTimeStamp(Long value)Sets the value of the 'timeStamp' field. | 
compareTo, equals, hashCode, toStringpublic static final Schema SCHEMA$
@Deprecated public long timeStamp
@Deprecated public Object event
public Schema getSchema()
GenericContainergetSchema in interface GenericContainergetSchema in class SpecificRecordBasepublic Object get(int field$)
IndexedRecordThis method is not meant to be called by user code, but only by DatumWriter implementations.
get in interface IndexedRecordget in class SpecificRecordBasepublic void put(int field$,
       Object value$)
IndexedRecordThis method is not meant to be called by user code, but only by DatumReader implementations.
put in interface IndexedRecordput in class SpecificRecordBasepublic Long getTimeStamp()
public void setTimeStamp(Long value)
value - the value to set.public Object getEvent()
public void setEvent(Object value)
value - the value to set.public static TimestampedEvent.Builder newBuilder()
public static TimestampedEvent.Builder newBuilder(TimestampedEvent.Builder other)
public static TimestampedEvent.Builder newBuilder(TimestampedEvent other)
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.