public class WebPage
extends org.apache.gora.persistency.impl.PersistentBase
implements org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent
Modifier and Type | Class and Description |
---|---|
static class |
WebPage.Builder
RecordBuilder for WebPage instances.
|
static class |
WebPage.Field
Enum containing all data bean's fields.
|
static class |
WebPage.Tombstone |
Modifier and Type | Field and Description |
---|---|
static String[] |
_ALL_FIELDS |
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
WebPage() |
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
CharSequence |
getBaseUrl()
Gets the value of the 'baseUrl' field.
|
CharSequence |
getBatchId()
Gets the value of the 'batchId' field.
|
ByteBuffer |
getContent()
Gets the value of the 'content' field.
|
CharSequence |
getContentType()
Gets the value of the 'contentType' field.
|
Integer |
getFetchInterval()
Gets the value of the 'fetchInterval' field.
|
Long |
getFetchTime()
Gets the value of the 'fetchTime' field.
|
int |
getFieldsCount()
Gets the total field count.
|
Map<CharSequence,CharSequence> |
getHeaders()
Gets the value of the 'headers' field.
|
Map<CharSequence,CharSequence> |
getInlinks()
Gets the value of the 'inlinks' field.
|
Map<CharSequence,CharSequence> |
getMarkers()
Gets the value of the 'markers' field.
|
Map<CharSequence,ByteBuffer> |
getMetadata()
Gets the value of the 'metadata' field.
|
Long |
getModifiedTime()
Gets the value of the 'modifiedTime' field.
|
Map<CharSequence,CharSequence> |
getOutlinks()
Gets the value of the 'outlinks' field.
|
ParseStatus |
getParseStatus()
Gets the value of the 'parseStatus' field.
|
Long |
getPrevFetchTime()
Gets the value of the 'prevFetchTime' field.
|
Long |
getPrevModifiedTime()
Gets the value of the 'prevModifiedTime' field.
|
ByteBuffer |
getPrevSignature()
Gets the value of the 'prevSignature' field.
|
ProtocolStatus |
getProtocolStatus()
Gets the value of the 'protocolStatus' field.
|
CharSequence |
getReprUrl()
Gets the value of the 'reprUrl' field.
|
Integer |
getRetriesSinceFetch()
Gets the value of the 'retriesSinceFetch' field.
|
org.apache.avro.Schema |
getSchema() |
Float |
getScore()
Gets the value of the 'score' field.
|
ByteBuffer |
getSignature()
Gets the value of the 'signature' field.
|
Integer |
getStatus()
Gets the value of the 'status' field.
|
CharSequence |
getText()
Gets the value of the 'text' field.
|
CharSequence |
getTitle()
Gets the value of the 'title' field.
|
WebPage.Tombstone |
getTombstone() |
boolean |
isBaseUrlDirty(CharSequence value)
Checks the dirty status of the 'baseUrl' field.
|
boolean |
isBatchIdDirty(CharSequence value)
Checks the dirty status of the 'batchId' field.
|
boolean |
isContentDirty(ByteBuffer value)
Checks the dirty status of the 'content' field.
|
boolean |
isContentTypeDirty(CharSequence value)
Checks the dirty status of the 'contentType' field.
|
boolean |
isFetchIntervalDirty(Integer value)
Checks the dirty status of the 'fetchInterval' field.
|
boolean |
isFetchTimeDirty(Long value)
Checks the dirty status of the 'fetchTime' field.
|
boolean |
isHeadersDirty(Map<CharSequence,CharSequence> value)
Checks the dirty status of the 'headers' field.
|
boolean |
isInlinksDirty(Map<CharSequence,CharSequence> value)
Checks the dirty status of the 'inlinks' field.
|
boolean |
isMarkersDirty(Map<CharSequence,CharSequence> value)
Checks the dirty status of the 'markers' field.
|
boolean |
isMetadataDirty(Map<CharSequence,ByteBuffer> value)
Checks the dirty status of the 'metadata' field.
|
boolean |
isModifiedTimeDirty(Long value)
Checks the dirty status of the 'modifiedTime' field.
|
boolean |
isOutlinksDirty(Map<CharSequence,CharSequence> value)
Checks the dirty status of the 'outlinks' field.
|
boolean |
isParseStatusDirty(ParseStatus value)
Checks the dirty status of the 'parseStatus' field.
|
boolean |
isPrevFetchTimeDirty(Long value)
Checks the dirty status of the 'prevFetchTime' field.
|
boolean |
isPrevModifiedTimeDirty(Long value)
Checks the dirty status of the 'prevModifiedTime' field.
|
boolean |
isPrevSignatureDirty(ByteBuffer value)
Checks the dirty status of the 'prevSignature' field.
|
boolean |
isProtocolStatusDirty(ProtocolStatus value)
Checks the dirty status of the 'protocolStatus' field.
|
boolean |
isReprUrlDirty(CharSequence value)
Checks the dirty status of the 'reprUrl' field.
|
boolean |
isRetriesSinceFetchDirty(Integer value)
Checks the dirty status of the 'retriesSinceFetch' field.
|
boolean |
isScoreDirty(Float value)
Checks the dirty status of the 'score' field.
|
boolean |
isSignatureDirty(ByteBuffer value)
Checks the dirty status of the 'signature' field.
|
boolean |
isStatusDirty(Integer value)
Checks the dirty status of the 'status' field.
|
boolean |
isTextDirty(CharSequence value)
Checks the dirty status of the 'text' field.
|
boolean |
isTitleDirty(CharSequence value)
Checks the dirty status of the 'title' field.
|
static WebPage.Builder |
newBuilder()
Creates a new WebPage RecordBuilder
|
static WebPage.Builder |
newBuilder(WebPage.Builder other)
Creates a new WebPage RecordBuilder by copying an existing Builder
|
static WebPage.Builder |
newBuilder(WebPage other)
Creates a new WebPage RecordBuilder by copying an existing WebPage instance
|
WebPage |
newInstance() |
void |
put(int field$,
Object value) |
void |
setBaseUrl(CharSequence value)
Sets the value of the 'baseUrl' field.
|
void |
setBatchId(CharSequence value)
Sets the value of the 'batchId' field.
|
void |
setContent(ByteBuffer value)
Sets the value of the 'content' field.
|
void |
setContentType(CharSequence value)
Sets the value of the 'contentType' field.
|
void |
setFetchInterval(Integer value)
Sets the value of the 'fetchInterval' field.
|
void |
setFetchTime(Long value)
Sets the value of the 'fetchTime' field.
|
void |
setHeaders(Map<CharSequence,CharSequence> value)
Sets the value of the 'headers' field.
|
void |
setInlinks(Map<CharSequence,CharSequence> value)
Sets the value of the 'inlinks' field.
|
void |
setMarkers(Map<CharSequence,CharSequence> value)
Sets the value of the 'markers' field.
|
void |
setMetadata(Map<CharSequence,ByteBuffer> value)
Sets the value of the 'metadata' field.
|
void |
setModifiedTime(Long value)
Sets the value of the 'modifiedTime' field.
|
void |
setOutlinks(Map<CharSequence,CharSequence> value)
Sets the value of the 'outlinks' field.
|
void |
setParseStatus(ParseStatus value)
Sets the value of the 'parseStatus' field.
|
void |
setPrevFetchTime(Long value)
Sets the value of the 'prevFetchTime' field.
|
void |
setPrevModifiedTime(Long value)
Sets the value of the 'prevModifiedTime' field.
|
void |
setPrevSignature(ByteBuffer value)
Sets the value of the 'prevSignature' field.
|
void |
setProtocolStatus(ProtocolStatus value)
Sets the value of the 'protocolStatus' field.
|
void |
setReprUrl(CharSequence value)
Sets the value of the 'reprUrl' field.
|
void |
setRetriesSinceFetch(Integer value)
Sets the value of the 'retriesSinceFetch' field.
|
void |
setScore(Float value)
Sets the value of the 'score' field.
|
void |
setSignature(ByteBuffer value)
Sets the value of the 'signature' field.
|
void |
setStatus(Integer value)
Sets the value of the 'status' field.
|
void |
setText(CharSequence value)
Sets the value of the 'text' field.
|
void |
setTitle(CharSequence value)
Sets the value of the 'title' 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
public static final org.apache.avro.Schema SCHEMA$
public static final String[] _ALL_FIELDS
public int getFieldsCount()
getFieldsCount
in class org.apache.gora.persistency.impl.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 getBaseUrl()
public void setBaseUrl(CharSequence value)
public boolean isBaseUrlDirty(CharSequence value)
public Integer getStatus()
public void setStatus(Integer value)
public boolean isStatusDirty(Integer value)
public Long getFetchTime()
public void setFetchTime(Long value)
public boolean isFetchTimeDirty(Long value)
public Long getPrevFetchTime()
public void setPrevFetchTime(Long value)
public boolean isPrevFetchTimeDirty(Long value)
public Integer getFetchInterval()
public void setFetchInterval(Integer value)
public boolean isFetchIntervalDirty(Integer value)
public Integer getRetriesSinceFetch()
public void setRetriesSinceFetch(Integer value)
public boolean isRetriesSinceFetchDirty(Integer value)
public Long getModifiedTime()
public void setModifiedTime(Long value)
public boolean isModifiedTimeDirty(Long value)
public Long getPrevModifiedTime()
public void setPrevModifiedTime(Long value)
public boolean isPrevModifiedTimeDirty(Long value)
public ProtocolStatus getProtocolStatus()
public void setProtocolStatus(ProtocolStatus value)
value
- the value to set.public boolean isProtocolStatusDirty(ProtocolStatus value)
value
- the value to set.public ByteBuffer getContent()
public void setContent(ByteBuffer value)
public boolean isContentDirty(ByteBuffer value)
public CharSequence getContentType()
public void setContentType(CharSequence value)
public boolean isContentTypeDirty(CharSequence value)
public ByteBuffer getPrevSignature()
public void setPrevSignature(ByteBuffer value)
public boolean isPrevSignatureDirty(ByteBuffer value)
public ByteBuffer getSignature()
public void setSignature(ByteBuffer value)
public boolean isSignatureDirty(ByteBuffer value)
public CharSequence getTitle()
public void setTitle(CharSequence value)
public boolean isTitleDirty(CharSequence value)
public CharSequence getText()
public void setText(CharSequence value)
public boolean isTextDirty(CharSequence value)
public ParseStatus getParseStatus()
public void setParseStatus(ParseStatus value)
value
- the value to set.public boolean isParseStatusDirty(ParseStatus value)
value
- the value to set.public Float getScore()
public void setScore(Float value)
public boolean isScoreDirty(Float value)
public CharSequence getReprUrl()
public void setReprUrl(CharSequence value)
public boolean isReprUrlDirty(CharSequence value)
public Map<CharSequence,CharSequence> getHeaders()
public void setHeaders(Map<CharSequence,CharSequence> value)
public boolean isHeadersDirty(Map<CharSequence,CharSequence> value)
public Map<CharSequence,CharSequence> getOutlinks()
public void setOutlinks(Map<CharSequence,CharSequence> value)
public boolean isOutlinksDirty(Map<CharSequence,CharSequence> value)
public Map<CharSequence,CharSequence> getInlinks()
public void setInlinks(Map<CharSequence,CharSequence> value)
public boolean isInlinksDirty(Map<CharSequence,CharSequence> value)
public Map<CharSequence,CharSequence> getMarkers()
public void setMarkers(Map<CharSequence,CharSequence> value)
public boolean isMarkersDirty(Map<CharSequence,CharSequence> value)
public Map<CharSequence,ByteBuffer> getMetadata()
public void setMetadata(Map<CharSequence,ByteBuffer> value)
public boolean isMetadataDirty(Map<CharSequence,ByteBuffer> value)
public CharSequence getBatchId()
public void setBatchId(CharSequence value)
public boolean isBatchIdDirty(CharSequence value)
public static WebPage.Builder newBuilder()
public static WebPage.Builder newBuilder(WebPage.Builder other)
public static WebPage.Builder newBuilder(WebPage other)
public WebPage.Tombstone getTombstone()
getTombstone
in interface org.apache.gora.persistency.Persistent
public WebPage newInstance()
newInstance
in interface org.apache.gora.persistency.Persistent
Copyright © 2015 The Apache Software Foundation