org.apache.nutch.storage

## Class Host.Tombstone

- java.lang.Object
- - org.apache.avro.specific.SpecificRecordBase
  - - org.apache.gora.persistency.impl.PersistentBase
    - - org.apache.nutch.storage.Host
      - - org.apache.nutch.storage.Host.Tombstone

- All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, java.lang.Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.GenericRecord, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Dirtyable, org.apache.gora.persistency.Persistent, org.apache.gora.persistency.Tombstone
  Enclosing class:
    Host

      public static final class Host.Tombstone
      extends Host
      implements org.apache.gora.persistency.Tombstone

  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.nutch.storage.Host

      `Host.Builder, Host.Field, Host.Tombstone`

    - ### Nested classes/interfaces inherited from class org.apache.gora.persistency.impl.PersistentBase

      `org.apache.gora.persistency.impl.PersistentBase.PersistentData`

  - ### Field Summary

    - ### Fields inherited from class org.apache.nutch.storage.Host

      `_ALL_FIELDS, SCHEMA$`

    - ### Fields inherited from interface org.apache.gora.persistency.Persistent

      `DIRTY_BYTES_FIELD_NAME`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<java.lang.CharSequence,java.lang.CharSequence>` | `getInlinks()` Gets the value of the 'inlinks' field.
    `java.util.Map<java.lang.CharSequence,java.nio.ByteBuffer>` | `getMetadata()` Gets the value of the 'metadata' field.
    `java.util.Map<java.lang.CharSequence,java.lang.CharSequence>` | `getOutlinks()` Gets the value of the 'outlinks' field.
    `boolean` | `isInlinksDirty()` Checks the dirty status of the 'inlinks' field.
    `boolean` | `isMetadataDirty()` Checks the dirty status of the 'metadata' field.
    `boolean` | `isOutlinksDirty()` Checks the dirty status of the 'outlinks' field.
    `void` | `setInlinks(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)` Sets the value of the 'inlinks' field.
    `void` | `setMetadata(java.util.Map<java.lang.CharSequence,java.nio.ByteBuffer> value)` Sets the value of the 'metadata' field.
    `void` | `setOutlinks(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)` Sets the value of the 'outlinks' field.

    - ### Methods inherited from class org.apache.nutch.storage.Host

      `contains, get, getFieldsCount, getInt, getLong, getSchema, getTombstone, getValue, newBuilder, newBuilder, newBuilder, newInstance, put, readExternal, writeExternal`

    - ### Methods inherited from class org.apache.gora.persistency.impl.PersistentBase

      `clear, clearDirty, clearDirty, clearDirty, equals, getDirtyBytes, getUnmanagedFields, isDirty, isDirty, isDirty, setDirty, setDirty, setDirty, setDirtyBytes`

    - ### Methods inherited from class org.apache.avro.specific.SpecificRecordBase

      `compareTo, get, getConverion, getConversion, hashCode, put, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.apache.gora.persistency.Persistent

      `clear, clearDirty, clearDirty, getUnmanagedFields, isDirty, isDirty, setDirty, setDirty, setDirty`

    - ### Methods inherited from interface org.apache.gora.persistency.Dirtyable

      `clearDirty, isDirty`

- - ### Method Detail

    - #### getMetadata

          public java.util.Map<java.lang.CharSequence,java.nio.ByteBuffer> getMetadata()

      Gets the value of the 'metadata' field. A multivalued metadata container used for storing a wide variety of host metadata such as structured web server characterists etc
      Overrides:
        `getMetadata` in class `Host`

    - #### setMetadata

          public void setMetadata(java.util.Map<java.lang.CharSequence,java.nio.ByteBuffer> value)

      Sets the value of the 'metadata' field. A multivalued metadata container used for storing a wide variety of host metadata such as structured web server characterists etc * @param value the value to set.
      Overrides:
        `setMetadata` in class `Host`

    - #### isMetadataDirty

          public boolean isMetadataDirty()

      Checks the dirty status of the 'metadata' field. A field is dirty if it represents a change that has not yet been written to the database. A multivalued metadata container used for storing a wide variety of host metadata such as structured web server characterists etc * @param value the value to set.
      Overrides:
        `isMetadataDirty` in class `Host`

    - #### getOutlinks

          public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> getOutlinks()

      Gets the value of the 'outlinks' field. Hyperlinks which direct outside of the current host domain these can used in a histogram style manner to generate host statistics
      Overrides:
        `getOutlinks` in class `Host`

    - #### setOutlinks

          public void setOutlinks(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)

      Sets the value of the 'outlinks' field. Hyperlinks which direct outside of the current host domain these can used in a histogram style manner to generate host statistics * @param value the value to set.
      Overrides:
        `setOutlinks` in class `Host`

    - #### isOutlinksDirty

          public boolean isOutlinksDirty()

      Checks the dirty status of the 'outlinks' field. A field is dirty if it represents a change that has not yet been written to the database. Hyperlinks which direct outside of the current host domain these can used in a histogram style manner to generate host statistics * @param value the value to set.
      Overrides:
        `isOutlinksDirty` in class `Host`

    - #### getInlinks

          public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> getInlinks()

      Gets the value of the 'inlinks' field. Hyperlinks which link to pages within the current host domain these can used in a histogram style manner to generate host statistics
      Overrides:
        `getInlinks` in class `Host`

    - #### setInlinks

          public void setInlinks(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value)

      Sets the value of the 'inlinks' field. Hyperlinks which link to pages within the current host domain these can used in a histogram style manner to generate host statistics * @param value the value to set.
      Overrides:
        `setInlinks` in class `Host`

    - #### isInlinksDirty

          public boolean isInlinksDirty()

      Checks the dirty status of the 'inlinks' field. A field is dirty if it represents a change that has not yet been written to the database. Hyperlinks which link to pages within the current host domain these can used in a histogram style manner to generate host statistics * @param value the value to set.
      Overrides:
        `isInlinksDirty` in class `Host`

Copyright © 2019 The Apache Software Foundation