org.apache.nutch.storage
Enum WebPage.Field
java.lang.Object
java.lang.Enum<WebPage.Field>
org.apache.nutch.storage.WebPage.Field
- All Implemented Interfaces:
- Serializable, Comparable<WebPage.Field>
- Enclosing class:
- WebPage
public static enum WebPage.Field
- extends Enum<WebPage.Field>
BASE_URL
public static final WebPage.Field BASE_URL
STATUS
public static final WebPage.Field STATUS
FETCH_TIME
public static final WebPage.Field FETCH_TIME
PREV_FETCH_TIME
public static final WebPage.Field PREV_FETCH_TIME
FETCH_INTERVAL
public static final WebPage.Field FETCH_INTERVAL
RETRIES_SINCE_FETCH
public static final WebPage.Field RETRIES_SINCE_FETCH
MODIFIED_TIME
public static final WebPage.Field MODIFIED_TIME
PROTOCOL_STATUS
public static final WebPage.Field PROTOCOL_STATUS
CONTENT
public static final WebPage.Field CONTENT
CONTENT_TYPE
public static final WebPage.Field CONTENT_TYPE
PREV_SIGNATURE
public static final WebPage.Field PREV_SIGNATURE
SIGNATURE
public static final WebPage.Field SIGNATURE
TITLE
public static final WebPage.Field TITLE
TEXT
public static final WebPage.Field TEXT
PARSE_STATUS
public static final WebPage.Field PARSE_STATUS
SCORE
public static final WebPage.Field SCORE
REPR_URL
public static final WebPage.Field REPR_URL
HEADERS
public static final WebPage.Field HEADERS
OUTLINKS
public static final WebPage.Field OUTLINKS
INLINKS
public static final WebPage.Field INLINKS
MARKERS
public static final WebPage.Field MARKERS
METADATA
public static final WebPage.Field METADATA
values
public static WebPage.Field[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (WebPage.Field c : WebPage.Field.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WebPage.Field valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getIndex
public int getIndex()
getName
public String getName()
toString
public String toString()
- Overrides:
toString
in class Enum<WebPage.Field>
Copyright © 2012 The Apache Software Foundation