This project has retired. For details please refer to its Attic page.
Pageview.Field (Apache Gora 0.2 API)

org.apache.gora.tutorial.log.generated
Enum Pageview.Field

java.lang.Object
  extended by java.lang.Enum<Pageview.Field>
      extended by org.apache.gora.tutorial.log.generated.Pageview.Field
All Implemented Interfaces:
Serializable, Comparable<Pageview.Field>
Enclosing class:
Pageview

public static enum Pageview.Field
extends Enum<Pageview.Field>


Enum Constant Summary
HTTP_METHOD
           
HTTP_STATUS_CODE
           
IP
           
REFERRER
           
RESPONSE_SIZE
           
TIMESTAMP
           
URL
           
USER_AGENT
           
 
Method Summary
 int getIndex()
           
 String getName()
           
 String toString()
           
static Pageview.Field valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Pageview.Field[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

URL

public static final Pageview.Field URL

TIMESTAMP

public static final Pageview.Field TIMESTAMP

IP

public static final Pageview.Field IP

HTTP_METHOD

public static final Pageview.Field HTTP_METHOD

HTTP_STATUS_CODE

public static final Pageview.Field HTTP_STATUS_CODE

RESPONSE_SIZE

public static final Pageview.Field RESPONSE_SIZE

REFERRER

public static final Pageview.Field REFERRER

USER_AGENT

public static final Pageview.Field USER_AGENT
Method Detail

values

public static Pageview.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 (Pageview.Field c : Pageview.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 Pageview.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<Pageview.Field>


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.