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 java.lang.String[] |
_ALL_FIELDS |
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
WebPage() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int field$) |
java.lang.CharSequence |
getBaseUrl()
Gets the value of the 'baseUrl' field.
|
java.lang.CharSequence |
getBatchId()
Gets the value of the 'batchId' field.
|
java.nio.ByteBuffer |
getContent()
Gets the value of the 'content' field.
|
java.lang.CharSequence |
getContentType()
Gets the value of the 'contentType' field.
|
java.lang.Integer |
getFetchInterval()
Gets the value of the 'fetchInterval' field.
|
java.lang.Long |
getFetchTime()
Gets the value of the 'fetchTime' field.
|
int |
getFieldsCount()
Gets the total field count.
|
java.util.Map<java.lang.CharSequence,java.lang.CharSequence> |
getHeaders()
Gets the value of the 'headers' field.
|
java.util.Map<java.lang.CharSequence,java.lang.CharSequence> |
getInlinks()
Gets the value of the 'inlinks' field.
|
java.util.Map<java.lang.CharSequence,java.lang.CharSequence> |
getMarkers()
Gets the value of the 'markers' field.
|
java.util.Map<java.lang.CharSequence,java.nio.ByteBuffer> |
getMetadata()
Gets the value of the 'metadata' field.
|
java.lang.Long |
getModifiedTime()
Gets the value of the 'modifiedTime' field.
|
java.util.Map<java.lang.CharSequence,java.lang.CharSequence> |
getOutlinks()
Gets the value of the 'outlinks' field.
|
ParseStatus |
getParseStatus()
Gets the value of the 'parseStatus' field.
|
java.lang.Long |
getPrevFetchTime()
Gets the value of the 'prevFetchTime' field.
|
java.lang.Long |
getPrevModifiedTime()
Gets the value of the 'prevModifiedTime' field.
|
java.nio.ByteBuffer |
getPrevSignature()
Gets the value of the 'prevSignature' field.
|
ProtocolStatus |
getProtocolStatus()
Gets the value of the 'protocolStatus' field.
|
java.lang.CharSequence |
getReprUrl()
Gets the value of the 'reprUrl' field.
|
java.lang.Integer |
getRetriesSinceFetch()
Gets the value of the 'retriesSinceFetch' field.
|
org.apache.avro.Schema |
getSchema() |
java.lang.Float |
getScore()
Gets the value of the 'score' field.
|
java.nio.ByteBuffer |
getSignature()
Gets the value of the 'signature' field.
|
java.util.Map<java.lang.CharSequence,java.lang.CharSequence> |
getSitemaps()
Gets the value of the 'sitemaps' field.
|
java.lang.Integer |
getStatus()
Gets the value of the 'status' field.
|
java.lang.Float |
getStmPriority()
Gets the value of the 'stmPriority' field.
|
java.lang.CharSequence |
getText()
Gets the value of the 'text' field.
|
java.lang.CharSequence |
getTitle()
Gets the value of the 'title' field.
|
WebPage.Tombstone |
getTombstone() |
boolean |
isBaseUrlDirty()
Checks the dirty status of the 'baseUrl' field.
|
boolean |
isBatchIdDirty()
Checks the dirty status of the 'batchId' field.
|
boolean |
isContentDirty()
Checks the dirty status of the 'content' field.
|
boolean |
isContentTypeDirty()
Checks the dirty status of the 'contentType' field.
|
boolean |
isFetchIntervalDirty()
Checks the dirty status of the 'fetchInterval' field.
|
boolean |
isFetchTimeDirty()
Checks the dirty status of the 'fetchTime' field.
|
boolean |
isHeadersDirty()
Checks the dirty status of the 'headers' field.
|
boolean |
isInlinksDirty()
Checks the dirty status of the 'inlinks' field.
|
boolean |
isMarkersDirty()
Checks the dirty status of the 'markers' field.
|
boolean |
isMetadataDirty()
Checks the dirty status of the 'metadata' field.
|
boolean |
isModifiedTimeDirty()
Checks the dirty status of the 'modifiedTime' field.
|
boolean |
isOutlinksDirty()
Checks the dirty status of the 'outlinks' field.
|
boolean |
isParseStatusDirty()
Checks the dirty status of the 'parseStatus' field.
|
boolean |
isPrevFetchTimeDirty()
Checks the dirty status of the 'prevFetchTime' field.
|
boolean |
isPrevModifiedTimeDirty()
Checks the dirty status of the 'prevModifiedTime' field.
|
boolean |
isPrevSignatureDirty()
Checks the dirty status of the 'prevSignature' field.
|
boolean |
isProtocolStatusDirty()
Checks the dirty status of the 'protocolStatus' field.
|
boolean |
isReprUrlDirty()
Checks the dirty status of the 'reprUrl' field.
|
boolean |
isRetriesSinceFetchDirty()
Checks the dirty status of the 'retriesSinceFetch' field.
|
boolean |
isScoreDirty()
Checks the dirty status of the 'score' field.
|
boolean |
isSignatureDirty()
Checks the dirty status of the 'signature' field.
|
boolean |
isSitemapsDirty()
Checks the dirty status of the 'sitemaps' field.
|
boolean |
isStatusDirty()
Checks the dirty status of the 'status' field.
|
boolean |
isStmPriorityDirty()
Checks the dirty status of the 'stmPriority' field.
|
boolean |
isTextDirty()
Checks the dirty status of the 'text' field.
|
boolean |
isTitleDirty()
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$,
java.lang.Object value) |
void |
readExternal(java.io.ObjectInput in)
Reads AVRO data bean from input stream in it s AVRO Binary encoding format to Java object format.
|
void |
setBaseUrl(java.lang.CharSequence value)
Sets the value of the 'baseUrl' field.
|
void |
setBatchId(java.lang.CharSequence value)
Sets the value of the 'batchId' field.
|
void |
setContent(java.nio.ByteBuffer value)
Sets the value of the 'content' field.
|
void |
setContentType(java.lang.CharSequence value)
Sets the value of the 'contentType' field.
|
void |
setFetchInterval(java.lang.Integer value)
Sets the value of the 'fetchInterval' field.
|
void |
setFetchTime(java.lang.Long value)
Sets the value of the 'fetchTime' field.
|
void |
setHeaders(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
Sets the value of the 'headers' field.
|
void |
setInlinks(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
Sets the value of the 'inlinks' field.
|
void |
setMarkers(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
Sets the value of the 'markers' field.
|
void |
setMetadata(java.util.Map<java.lang.CharSequence,java.nio.ByteBuffer> value)
Sets the value of the 'metadata' field.
|
void |
setModifiedTime(java.lang.Long value)
Sets the value of the 'modifiedTime' field.
|
void |
setOutlinks(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
Sets the value of the 'outlinks' field.
|
void |
setParseStatus(ParseStatus value)
Sets the value of the 'parseStatus' field.
|
void |
setPrevFetchTime(java.lang.Long value)
Sets the value of the 'prevFetchTime' field.
|
void |
setPrevModifiedTime(java.lang.Long value)
Sets the value of the 'prevModifiedTime' field.
|
void |
setPrevSignature(java.nio.ByteBuffer value)
Sets the value of the 'prevSignature' field.
|
void |
setProtocolStatus(ProtocolStatus value)
Sets the value of the 'protocolStatus' field.
|
void |
setReprUrl(java.lang.CharSequence value)
Sets the value of the 'reprUrl' field.
|
void |
setRetriesSinceFetch(java.lang.Integer value)
Sets the value of the 'retriesSinceFetch' field.
|
void |
setScore(java.lang.Float value)
Sets the value of the 'score' field.
|
void |
setSignature(java.nio.ByteBuffer value)
Sets the value of the 'signature' field.
|
void |
setSitemaps(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
Sets the value of the 'sitemaps' field.
|
void |
setStatus(java.lang.Integer value)
Sets the value of the 'status' field.
|
void |
setStmPriority(java.lang.Float value)
Sets the value of the 'stmPriority' field.
|
void |
setText(java.lang.CharSequence value)
Sets the value of the 'text' field.
|
void |
setTitle(java.lang.CharSequence value)
Sets the value of the 'title' field.
|
void |
writeExternal(java.io.ObjectOutput out)
Writes AVRO data bean to output stream in the form of AVRO Binary encoding format.
|
clear, clearDirty, clearDirty, clearDirty, equals, getDirtyBytes, getUnmanagedFields, isDirty, isDirty, isDirty, setDirty, setDirty, setDirty, setDirtyBytes
compareTo, get, getConverion, getConversion, hashCode, put, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final org.apache.avro.Schema SCHEMA$
public static final java.lang.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 java.lang.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$, java.lang.Object value)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public java.lang.CharSequence getBaseUrl()
public void setBaseUrl(java.lang.CharSequence value)
public boolean isBaseUrlDirty()
public java.lang.Integer getStatus()
public void setStatus(java.lang.Integer value)
public boolean isStatusDirty()
public java.lang.Long getFetchTime()
public void setFetchTime(java.lang.Long value)
public boolean isFetchTimeDirty()
public java.lang.Long getPrevFetchTime()
public void setPrevFetchTime(java.lang.Long value)
public boolean isPrevFetchTimeDirty()
public java.lang.Integer getFetchInterval()
public void setFetchInterval(java.lang.Integer value)
public boolean isFetchIntervalDirty()
public java.lang.Integer getRetriesSinceFetch()
public void setRetriesSinceFetch(java.lang.Integer value)
public boolean isRetriesSinceFetchDirty()
public java.lang.Long getModifiedTime()
public void setModifiedTime(java.lang.Long value)
public boolean isModifiedTimeDirty()
public java.lang.Long getPrevModifiedTime()
public void setPrevModifiedTime(java.lang.Long value)
public boolean isPrevModifiedTimeDirty()
public ProtocolStatus getProtocolStatus()
public void setProtocolStatus(ProtocolStatus value)
value
- the value to set.public boolean isProtocolStatusDirty()
value
- the value to set.public java.nio.ByteBuffer getContent()
public void setContent(java.nio.ByteBuffer value)
public boolean isContentDirty()
public java.lang.CharSequence getContentType()
public void setContentType(java.lang.CharSequence value)
public boolean isContentTypeDirty()
public java.nio.ByteBuffer getPrevSignature()
public void setPrevSignature(java.nio.ByteBuffer value)
public boolean isPrevSignatureDirty()
public java.nio.ByteBuffer getSignature()
public void setSignature(java.nio.ByteBuffer value)
public boolean isSignatureDirty()
public java.lang.CharSequence getTitle()
public void setTitle(java.lang.CharSequence value)
public boolean isTitleDirty()
public java.lang.CharSequence getText()
public void setText(java.lang.CharSequence value)
public boolean isTextDirty()
public ParseStatus getParseStatus()
public void setParseStatus(ParseStatus value)
value
- the value to set.public boolean isParseStatusDirty()
value
- the value to set.public java.lang.Float getScore()
public void setScore(java.lang.Float value)
public boolean isScoreDirty()
public java.lang.CharSequence getReprUrl()
public void setReprUrl(java.lang.CharSequence value)
public boolean isReprUrlDirty()
public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> getHeaders()
public void setHeaders(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
public boolean isHeadersDirty()
public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> getOutlinks()
public void setOutlinks(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
public boolean isOutlinksDirty()
public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> getInlinks()
public void setInlinks(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
public boolean isInlinksDirty()
public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> getMarkers()
public void setMarkers(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
public boolean isMarkersDirty()
public java.util.Map<java.lang.CharSequence,java.nio.ByteBuffer> getMetadata()
public void setMetadata(java.util.Map<java.lang.CharSequence,java.nio.ByteBuffer> value)
public boolean isMetadataDirty()
public java.lang.CharSequence getBatchId()
public void setBatchId(java.lang.CharSequence value)
public boolean isBatchIdDirty()
public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> getSitemaps()
public void setSitemaps(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)
public boolean isSitemapsDirty()
public java.lang.Float getStmPriority()
public void setStmPriority(java.lang.Float value)
public boolean isStmPriorityDirty()
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
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class org.apache.avro.specific.SpecificRecordBase
out
- java.io.ObjectOutput output stream to write data bean in serializable formjava.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException
readExternal
in interface java.io.Externalizable
readExternal
in class org.apache.avro.specific.SpecificRecordBase
in
- java.io.ObjectOutput input stream to read data bean in serializable formjava.io.IOException
Copyright © 2019 The Apache Software Foundation