org.apache.blur.mapreduce.lib
Enum BlurCounters

java.lang.Object
  extended by java.lang.Enum<BlurCounters>
      extended by org.apache.blur.mapreduce.lib.BlurCounters
All Implemented Interfaces:
Serializable, Comparable<BlurCounters>

public enum BlurCounters
extends Enum<BlurCounters>

The enum class used for all the internal counters during map reduce jobs.


Enum Constant Summary
COLUMN_COUNT
           
COPY_RATE
           
LUCENE_FIELD_COUNT
           
RECORD_COUNT
           
RECORD_DUPLICATE_COUNT
           
RECORD_RATE
           
ROW_COUNT
           
ROW_DELETE_COUNT
           
ROW_OVERFLOW_COUNT
           
ROW_RATE
           
 
Method Summary
static BlurCounters valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BlurCounters[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RECORD_COUNT

public static final BlurCounters RECORD_COUNT

LUCENE_FIELD_COUNT

public static final BlurCounters LUCENE_FIELD_COUNT

ROW_COUNT

public static final BlurCounters ROW_COUNT

RECORD_RATE

public static final BlurCounters RECORD_RATE

COPY_RATE

public static final BlurCounters COPY_RATE

ROW_RATE

public static final BlurCounters ROW_RATE

RECORD_DUPLICATE_COUNT

public static final BlurCounters RECORD_DUPLICATE_COUNT

ROW_OVERFLOW_COUNT

public static final BlurCounters ROW_OVERFLOW_COUNT

ROW_DELETE_COUNT

public static final BlurCounters ROW_DELETE_COUNT

COLUMN_COUNT

public static final BlurCounters COLUMN_COUNT
Method Detail

values

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

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

valueOf

public static BlurCounters 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


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.