org.apache.gora.tutorial.log.generated
Class Pageview
java.lang.Object
org.apache.gora.persistency.impl.PersistentBase
org.apache.gora.tutorial.log.generated.Pageview
- All Implemented Interfaces:
- Cloneable, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, Persistent
public class Pageview
- extends PersistentBase
Methods inherited from class org.apache.gora.persistency.impl.PersistentBase |
clear, clearDirty, clearDirty, clearDirty, clearNew, clearReadable, clearReadable, clearReadable, clone, equals, getField, getFieldIndex, getFields, getStateManager, hashCode, isDirty, isDirty, isDirty, isFieldEqual, isNew, isReadable, isReadable, registerFields, setDirty, setDirty, setDirty, setNew, setReadable, setReadable, toString |
_SCHEMA
public static final org.apache.avro.Schema _SCHEMA
_ALL_FIELDS
public static final String[] _ALL_FIELDS
Pageview
public Pageview()
Pageview
public Pageview(StateManager stateManager)
newInstance
public Pageview newInstance(StateManager stateManager)
- Description copied from interface:
Persistent
- Constructs a new instance of the object with the given StateManager.
This method is intended to be used by Gora framework.
- Parameters:
stateManager
- the StateManager to manage the persistent state
of the object
- Returns:
- a new instance of the object
getSchema
public org.apache.avro.Schema getSchema()
get
public Object get(int _field)
put
public void put(int _field,
Object _value)
getUrl
public org.apache.avro.util.Utf8 getUrl()
setUrl
public void setUrl(org.apache.avro.util.Utf8 value)
getTimestamp
public long getTimestamp()
setTimestamp
public void setTimestamp(long value)
getIp
public org.apache.avro.util.Utf8 getIp()
setIp
public void setIp(org.apache.avro.util.Utf8 value)
getHttpMethod
public org.apache.avro.util.Utf8 getHttpMethod()
setHttpMethod
public void setHttpMethod(org.apache.avro.util.Utf8 value)
getHttpStatusCode
public int getHttpStatusCode()
setHttpStatusCode
public void setHttpStatusCode(int value)
getResponseSize
public int getResponseSize()
setResponseSize
public void setResponseSize(int value)
getReferrer
public org.apache.avro.util.Utf8 getReferrer()
setReferrer
public void setReferrer(org.apache.avro.util.Utf8 value)
getUserAgent
public org.apache.avro.util.Utf8 getUserAgent()
setUserAgent
public void setUserAgent(org.apache.avro.util.Utf8 value)
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.