com.basho.riak.client.query
Enum LinkWalkStep.Accumulate

java.lang.Object
  extended by java.lang.Enum<LinkWalkStep.Accumulate>
      extended by com.basho.riak.client.query.LinkWalkStep.Accumulate
All Implemented Interfaces:
Serializable, Comparable<LinkWalkStep.Accumulate>
Enclosing class:
LinkWalkStep

public static enum LinkWalkStep.Accumulate
extends Enum<LinkWalkStep.Accumulate>

Enum for the accumulate specification of a link walk step.

By default a link walk step does not accumulate (IE return data) it only provides input to the next step. However the *final* step in a Link walk , by default, will return the results.


Enum Constant Summary
DEFAULT
           
NO
           
YES
           
 
Method Summary
static LinkWalkStep.Accumulate fromBoolean(boolean bool)
           
 String toString()
           
static LinkWalkStep.Accumulate valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LinkWalkStep.Accumulate[] 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

YES

public static final LinkWalkStep.Accumulate YES

NO

public static final LinkWalkStep.Accumulate NO

DEFAULT

public static final LinkWalkStep.Accumulate DEFAULT
Method Detail

values

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

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

valueOf

public static LinkWalkStep.Accumulate 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

toString

public String toString()
Overrides:
toString in class Enum<LinkWalkStep.Accumulate>

fromBoolean

public static LinkWalkStep.Accumulate fromBoolean(boolean bool)


Copyright © 2012. All Rights Reserved.