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.Field
Enum containing all data bean's fields.
|
static class |
Pageview.Tombstone |
PersistentBase.PersistentData
Modifier and Type | Field and Description |
---|---|
static String[] |
_ALL_FIELDS |
static org.apache.avro.Schema |
SCHEMA$ |
DIRTY_BYTES_FIELD_NAME
Constructor and Description |
---|
Pageview() |
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
int |
getFieldsCount()
Gets the total field count.
|
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()
Checks the dirty status of the 'httpMethod' field.
|
boolean |
isHttpStatusCodeDirty()
Checks the dirty status of the 'httpStatusCode' field.
|
boolean |
isIpDirty()
Checks the dirty status of the 'ip' field.
|
boolean |
isReferrerDirty()
Checks the dirty status of the 'referrer' field.
|
boolean |
isResponseSizeDirty()
Checks the dirty status of the 'responseSize' field.
|
boolean |
isTimestampDirty()
Checks the dirty status of the 'timestamp' field.
|
boolean |
isUrlDirty()
Checks the dirty status of the 'url' field.
|
boolean |
isUserAgentDirty()
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, get, hashCode, put, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clear, clearDirty, clearDirty, getUnmanagedFields, isDirty, isDirty, setDirty, setDirty, setDirty
clearDirty, isDirty
public static final org.apache.avro.Schema SCHEMA$
public static final String[] _ALL_FIELDS
public int getFieldsCount()
getFieldsCount
in class PersistentBase
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()
value
- the value to set.public Long getTimestamp()
public void setTimestamp(Long value)
value
- the value to set.public boolean isTimestampDirty()
value
- the value to set.public CharSequence getIp()
public void setIp(CharSequence value)
value
- the value to set.public boolean isIpDirty()
value
- the value to set.public CharSequence getHttpMethod()
public void setHttpMethod(CharSequence value)
value
- the value to set.public boolean isHttpMethodDirty()
value
- the value to set.public Integer getHttpStatusCode()
public void setHttpStatusCode(Integer value)
value
- the value to set.public boolean isHttpStatusCodeDirty()
value
- the value to set.public Integer getResponseSize()
public void setResponseSize(Integer value)
value
- the value to set.public boolean isResponseSizeDirty()
value
- the value to set.public CharSequence getReferrer()
public void setReferrer(CharSequence value)
value
- the value to set.public boolean isReferrerDirty()
value
- the value to set.public CharSequence getUserAgent()
public void setUserAgent(CharSequence value)
value
- the value to set.public boolean isUserAgentDirty()
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-2015 The Apache Software Foundation. All Rights Reserved.