org.apache.nutch.storage
Class WebPage

java.lang.Object
  extended by org.apache.gora.persistency.impl.PersistentBase
      extended by org.apache.nutch.storage.WebPage
All Implemented Interfaces:
Cloneable, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent

public class WebPage
extends org.apache.gora.persistency.impl.PersistentBase


Nested Class Summary
static class WebPage.Field
           
 
Field Summary
static String[] _ALL_FIELDS
           
static org.apache.avro.Schema _SCHEMA
           
 
Fields inherited from class org.apache.gora.persistency.impl.PersistentBase
datumReader, FIELD_MAP, FIELDS
 
Constructor Summary
WebPage()
           
WebPage(org.apache.gora.persistency.StateManager stateManager)
           
 
Method Summary
 Object get(int _field)
           
 org.apache.avro.util.Utf8 getBaseUrl()
           
 org.apache.avro.util.Utf8 getBatchId()
           
 ByteBuffer getContent()
           
 org.apache.avro.util.Utf8 getContentType()
           
 int getFetchInterval()
           
 long getFetchTime()
           
 org.apache.avro.util.Utf8 getFromHeaders(org.apache.avro.util.Utf8 key)
           
 org.apache.avro.util.Utf8 getFromInlinks(org.apache.avro.util.Utf8 key)
           
 org.apache.avro.util.Utf8 getFromMarkers(org.apache.avro.util.Utf8 key)
           
 ByteBuffer getFromMetadata(org.apache.avro.util.Utf8 key)
           
 org.apache.avro.util.Utf8 getFromOutlinks(org.apache.avro.util.Utf8 key)
           
 Map<org.apache.avro.util.Utf8,org.apache.avro.util.Utf8> getHeaders()
           
 Map<org.apache.avro.util.Utf8,org.apache.avro.util.Utf8> getInlinks()
           
 Map<org.apache.avro.util.Utf8,org.apache.avro.util.Utf8> getMarkers()
           
 Map<org.apache.avro.util.Utf8,ByteBuffer> getMetadata()
           
 long getModifiedTime()
           
 Map<org.apache.avro.util.Utf8,org.apache.avro.util.Utf8> getOutlinks()
           
 ParseStatus getParseStatus()
           
 long getPrevFetchTime()
           
 long getPrevModifiedTime()
           
 ByteBuffer getPrevSignature()
           
 ProtocolStatus getProtocolStatus()
           
 org.apache.avro.util.Utf8 getReprUrl()
           
 int getRetriesSinceFetch()
           
 org.apache.avro.Schema getSchema()
           
 float getScore()
           
 ByteBuffer getSignature()
           
 int getStatus()
           
 org.apache.avro.util.Utf8 getText()
           
 org.apache.avro.util.Utf8 getTitle()
           
 WebPage newInstance(org.apache.gora.persistency.StateManager stateManager)
           
 void put(int _field, Object _value)
           
 void putToHeaders(org.apache.avro.util.Utf8 key, org.apache.avro.util.Utf8 value)
           
 void putToInlinks(org.apache.avro.util.Utf8 key, org.apache.avro.util.Utf8 value)
           
 void putToMarkers(org.apache.avro.util.Utf8 key, org.apache.avro.util.Utf8 value)
           
 void putToMetadata(org.apache.avro.util.Utf8 key, ByteBuffer value)
           
 void putToOutlinks(org.apache.avro.util.Utf8 key, org.apache.avro.util.Utf8 value)
           
 org.apache.avro.util.Utf8 removeFromHeaders(org.apache.avro.util.Utf8 key)
           
 org.apache.avro.util.Utf8 removeFromInlinks(org.apache.avro.util.Utf8 key)
           
 org.apache.avro.util.Utf8 removeFromMarkers(org.apache.avro.util.Utf8 key)
           
 ByteBuffer removeFromMetadata(org.apache.avro.util.Utf8 key)
           
 org.apache.avro.util.Utf8 removeFromOutlinks(org.apache.avro.util.Utf8 key)
           
 void setBaseUrl(org.apache.avro.util.Utf8 value)
           
 void setBatchId(org.apache.avro.util.Utf8 value)
           
 void setContent(ByteBuffer value)
           
 void setContentType(org.apache.avro.util.Utf8 value)
           
 void setFetchInterval(int value)
           
 void setFetchTime(long value)
           
 void setModifiedTime(long value)
           
 void setParseStatus(ParseStatus value)
           
 void setPrevFetchTime(long value)
           
 void setPrevModifiedTime(long value)
           
 void setPrevSignature(ByteBuffer value)
           
 void setProtocolStatus(ProtocolStatus value)
           
 void setReprUrl(org.apache.avro.util.Utf8 value)
           
 void setRetriesSinceFetch(int value)
           
 void setScore(float value)
           
 void setSignature(ByteBuffer value)
           
 void setStatus(int value)
           
 void setText(org.apache.avro.util.Utf8 value)
           
 void setTitle(org.apache.avro.util.Utf8 value)
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_SCHEMA

public static final org.apache.avro.Schema _SCHEMA

_ALL_FIELDS

public static final String[] _ALL_FIELDS
Constructor Detail

WebPage

public WebPage()

WebPage

public WebPage(org.apache.gora.persistency.StateManager stateManager)
Method Detail

newInstance

public WebPage newInstance(org.apache.gora.persistency.StateManager stateManager)

getSchema

public org.apache.avro.Schema getSchema()

get

public Object get(int _field)

put

public void put(int _field,
                Object _value)

getBaseUrl

public org.apache.avro.util.Utf8 getBaseUrl()

setBaseUrl

public void setBaseUrl(org.apache.avro.util.Utf8 value)

getStatus

public int getStatus()

setStatus

public void setStatus(int value)

getFetchTime

public long getFetchTime()

setFetchTime

public void setFetchTime(long value)

getPrevFetchTime

public long getPrevFetchTime()

setPrevFetchTime

public void setPrevFetchTime(long value)

getFetchInterval

public int getFetchInterval()

setFetchInterval

public void setFetchInterval(int value)

getRetriesSinceFetch

public int getRetriesSinceFetch()

setRetriesSinceFetch

public void setRetriesSinceFetch(int value)

getModifiedTime

public long getModifiedTime()

setModifiedTime

public void setModifiedTime(long value)

getPrevModifiedTime

public long getPrevModifiedTime()

setPrevModifiedTime

public void setPrevModifiedTime(long value)

getProtocolStatus

public ProtocolStatus getProtocolStatus()

setProtocolStatus

public void setProtocolStatus(ProtocolStatus value)

getContent

public ByteBuffer getContent()

setContent

public void setContent(ByteBuffer value)

getContentType

public org.apache.avro.util.Utf8 getContentType()

setContentType

public void setContentType(org.apache.avro.util.Utf8 value)

getPrevSignature

public ByteBuffer getPrevSignature()

setPrevSignature

public void setPrevSignature(ByteBuffer value)

getSignature

public ByteBuffer getSignature()

setSignature

public void setSignature(ByteBuffer value)

getTitle

public org.apache.avro.util.Utf8 getTitle()

setTitle

public void setTitle(org.apache.avro.util.Utf8 value)

getText

public org.apache.avro.util.Utf8 getText()

setText

public void setText(org.apache.avro.util.Utf8 value)

getParseStatus

public ParseStatus getParseStatus()

setParseStatus

public void setParseStatus(ParseStatus value)

getScore

public float getScore()

setScore

public void setScore(float value)

getReprUrl

public org.apache.avro.util.Utf8 getReprUrl()

setReprUrl

public void setReprUrl(org.apache.avro.util.Utf8 value)

getHeaders

public Map<org.apache.avro.util.Utf8,org.apache.avro.util.Utf8> getHeaders()

getFromHeaders

public org.apache.avro.util.Utf8 getFromHeaders(org.apache.avro.util.Utf8 key)

putToHeaders

public void putToHeaders(org.apache.avro.util.Utf8 key,
                         org.apache.avro.util.Utf8 value)

removeFromHeaders

public org.apache.avro.util.Utf8 removeFromHeaders(org.apache.avro.util.Utf8 key)

getOutlinks

public Map<org.apache.avro.util.Utf8,org.apache.avro.util.Utf8> getOutlinks()

getFromOutlinks

public org.apache.avro.util.Utf8 getFromOutlinks(org.apache.avro.util.Utf8 key)

putToOutlinks

public void putToOutlinks(org.apache.avro.util.Utf8 key,
                          org.apache.avro.util.Utf8 value)

removeFromOutlinks

public org.apache.avro.util.Utf8 removeFromOutlinks(org.apache.avro.util.Utf8 key)

getInlinks

public Map<org.apache.avro.util.Utf8,org.apache.avro.util.Utf8> getInlinks()

getFromInlinks

public org.apache.avro.util.Utf8 getFromInlinks(org.apache.avro.util.Utf8 key)

putToInlinks

public void putToInlinks(org.apache.avro.util.Utf8 key,
                         org.apache.avro.util.Utf8 value)

removeFromInlinks

public org.apache.avro.util.Utf8 removeFromInlinks(org.apache.avro.util.Utf8 key)

getMarkers

public Map<org.apache.avro.util.Utf8,org.apache.avro.util.Utf8> getMarkers()

getFromMarkers

public org.apache.avro.util.Utf8 getFromMarkers(org.apache.avro.util.Utf8 key)

putToMarkers

public void putToMarkers(org.apache.avro.util.Utf8 key,
                         org.apache.avro.util.Utf8 value)

removeFromMarkers

public org.apache.avro.util.Utf8 removeFromMarkers(org.apache.avro.util.Utf8 key)

getMetadata

public Map<org.apache.avro.util.Utf8,ByteBuffer> getMetadata()

getFromMetadata

public ByteBuffer getFromMetadata(org.apache.avro.util.Utf8 key)

putToMetadata

public void putToMetadata(org.apache.avro.util.Utf8 key,
                          ByteBuffer value)

removeFromMetadata

public ByteBuffer removeFromMetadata(org.apache.avro.util.Utf8 key)

getBatchId

public org.apache.avro.util.Utf8 getBatchId()

setBatchId

public void setBatchId(org.apache.avro.util.Utf8 value)


Copyright © 2013 The Apache Software Foundation