de.hpi.fgis.voidgen.hadoop.tasks.inputstatistics
Enum Task1Counter

java.lang.Object
  extended by java.lang.Enum<Task1Counter>
      extended by de.hpi.fgis.voidgen.hadoop.tasks.inputstatistics.Task1Counter
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Task1Counter>

public enum Task1Counter
extends java.lang.Enum<Task1Counter>

This Enumeration encapsulates the counters for counting statistics of RDF input data.

Author:
Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany

Enum Constant Summary
CONTEXTS
          The number of distinct contexts.
FAILED_INPUTS
          The number of input key-value pairs which could not be parsed successfully.
OBJECTS
          The number of distinct objects.
PREDICATES
          The number of distinct predicates.
QUADRUPLES
          The number of successfully parsed RDF quadruples.
RESOURCES
          The number of distinct resources.
SUBJECTS
          The number of distinct subjects.
 
Method Summary
static Task1Counter valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Task1Counter[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUBJECTS

public static final Task1Counter SUBJECTS
The number of distinct subjects.


PREDICATES

public static final Task1Counter PREDICATES
The number of distinct predicates.


OBJECTS

public static final Task1Counter OBJECTS
The number of distinct objects.


CONTEXTS

public static final Task1Counter CONTEXTS
The number of distinct contexts.


RESOURCES

public static final Task1Counter RESOURCES
The number of distinct resources.


QUADRUPLES

public static final Task1Counter QUADRUPLES
The number of successfully parsed RDF quadruples.


FAILED_INPUTS

public static final Task1Counter FAILED_INPUTS
The number of input key-value pairs which could not be parsed successfully.

Method Detail

values

public static Task1Counter[] 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 (Task1Counter c : Task1Counter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Task1Counter valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null