public class Pageview extends PersistentBase implements org.apache.avro.specific.SpecificRecord, Persistent
Modifier and Type | Class and Description |
---|---|
static class |
Pageview.Builder
RecordBuilder for Pageview instances.
|
static class |
Pageview.Tombstone |
PersistentBase.PersistentData
Modifier and Type | Field and Description |
---|---|
static org.apache.avro.Schema |
SCHEMA$ |
DIRTY_BYTES_FIELD_NAME
Constructor and Description |
---|
Pageview() |
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
CharSequence |
getHttpMethod()
Gets the value of the 'httpMethod' field.
|
Integer |
getHttpStatusCode()
Gets the value of the 'httpStatusCode' field.
|
CharSequence |
getIp()
Gets the value of the 'ip' field.
|
CharSequence |
getReferrer()
Gets the value of the 'referrer' field.
|
Integer |
getResponseSize()
Gets the value of the 'responseSize' field.
|
org.apache.avro.Schema |
getSchema() |
Long |
getTimestamp()
Gets the value of the 'timestamp' field.
|
Pageview.Tombstone |
getTombstone()
Get an object which can be used to mark this field as deleted (rather than
state unknown, which is indicated by null).
|
CharSequence |
getUrl()
Gets the value of the 'url' field.
|
CharSequence |
getUserAgent()
Gets the value of the 'userAgent' field.
|
boolean |
isHttpMethodDirty(CharSequence value)
Checks the dirty status of the 'httpMethod' field.
|
boolean |
isHttpStatusCodeDirty(Integer value)
Checks the dirty status of the 'httpStatusCode' field.
|
boolean |
isIpDirty(CharSequence value)
Checks the dirty status of the 'ip' field.
|
boolean |
isReferrerDirty(CharSequence value)
Checks the dirty status of the 'referrer' field.
|
boolean |
isResponseSizeDirty(Integer value)
Checks the dirty status of the 'responseSize' field.
|
boolean |
isTimestampDirty(Long value)
Checks the dirty status of the 'timestamp' field.
|
boolean |
isUrlDirty(CharSequence value)
Checks the dirty status of the 'url' field.
|
boolean |
isUserAgentDirty(CharSequence value)
Checks the dirty status of the 'userAgent' field.
|
static Pageview.Builder |
newBuilder()
Creates a new Pageview RecordBuilder
|
static Pageview.Builder |
newBuilder(Pageview.Builder other)
Creates a new Pageview RecordBuilder by copying an existing Builder
|
static Pageview.Builder |
newBuilder(Pageview other)
Creates a new Pageview RecordBuilder by copying an existing Pageview instance
|
Pageview |
newInstance()
Constructs a new instance of the object by using appropriate builder.
|
void |
put(int field$,
Object value) |
void |
setHttpMethod(CharSequence value)
Sets the value of the 'httpMethod' field.
|
void |
setHttpStatusCode(Integer value)
Sets the value of the 'httpStatusCode' field.
|
void |
setIp(CharSequence value)
Sets the value of the 'ip' field.
|
void |
setReferrer(CharSequence value)
Sets the value of the 'referrer' field.
|
void |
setResponseSize(Integer value)
Sets the value of the 'responseSize' field.
|
void |
setTimestamp(Long value)
Sets the value of the 'timestamp' field.
|
void |
setUrl(CharSequence value)
Sets the value of the 'url' field.
|
void |
setUserAgent(CharSequence value)
Sets the value of the 'userAgent' field.
|
clear, clearDirty, clearDirty, clearDirty, equals, getUnmanagedFields, isDirty, isDirty, isDirty, setDirty, setDirty, setDirty
compareTo, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clear, clearDirty, clearDirty, getUnmanagedFields, isDirty, isDirty, setDirty, setDirty, setDirty
clearDirty, isDirty
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getUrl()
public void setUrl(CharSequence value)
value
- the value to set.public boolean isUrlDirty(CharSequence value)
value
- the value to set.public Long getTimestamp()
public void setTimestamp(Long value)
value
- the value to set.public boolean isTimestampDirty(Long value)
value
- the value to set.public CharSequence getIp()
public void setIp(CharSequence value)
value
- the value to set.public boolean isIpDirty(CharSequence value)
value
- the value to set.public CharSequence getHttpMethod()
public void setHttpMethod(CharSequence value)
value
- the value to set.public boolean isHttpMethodDirty(CharSequence value)
value
- the value to set.public Integer getHttpStatusCode()
public void setHttpStatusCode(Integer value)
value
- the value to set.public boolean isHttpStatusCodeDirty(Integer value)
value
- the value to set.public Integer getResponseSize()
public void setResponseSize(Integer value)
value
- the value to set.public boolean isResponseSizeDirty(Integer value)
value
- the value to set.public CharSequence getReferrer()
public void setReferrer(CharSequence value)
value
- the value to set.public boolean isReferrerDirty(CharSequence value)
value
- the value to set.public CharSequence getUserAgent()
public void setUserAgent(CharSequence value)
value
- the value to set.public boolean isUserAgentDirty(CharSequence value)
value
- the value to set.public static Pageview.Builder newBuilder()
public static Pageview.Builder newBuilder(Pageview.Builder other)
public static Pageview.Builder newBuilder(Pageview other)
public Pageview.Tombstone getTombstone()
Persistent
getTombstone
in interface Persistent
public Pageview newInstance()
Persistent
newInstance
in interface Persistent
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.