Spring Data Neo4j

org.springframework.data.neo4j.support.path
Enum IterationController.IterationMode

java.lang.Object
  extended by java.lang.Enum<IterationController.IterationMode>
      extended by org.springframework.data.neo4j.support.path.IterationController.IterationMode
All Implemented Interfaces:
Serializable, Comparable<IterationController.IterationMode>
Enclosing interface:
IterationController

public static enum IterationController.IterationMode
extends Enum<IterationController.IterationMode>


Enum Constant Summary
EAGER
          iterates eagerly over the results to ensure callbacks happening and also returns the full results
EAGER_IGNORE_RESULTS
          iterates eagerly over the results to ensure callbacks happening, ignores results and returns null from the iteration, i.e. callback only
EAGER_STOP_ON_NULL
          iterates eagerly over the results to ensure callbacks happening, stops iteration on first encountered null value, useful for aborting iterations early
LAZY
          doesn't evaluate before the iterable is accessed
 
Method Summary
static IterationController.IterationMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IterationController.IterationMode[] 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

LAZY

public static final IterationController.IterationMode LAZY
doesn't evaluate before the iterable is accessed


EAGER

public static final IterationController.IterationMode EAGER
iterates eagerly over the results to ensure callbacks happening and also returns the full results


EAGER_STOP_ON_NULL

public static final IterationController.IterationMode EAGER_STOP_ON_NULL
iterates eagerly over the results to ensure callbacks happening, stops iteration on first encountered null value, useful for aborting iterations early


EAGER_IGNORE_RESULTS

public static final IterationController.IterationMode EAGER_IGNORE_RESULTS
iterates eagerly over the results to ensure callbacks happening, ignores results and returns null from the iteration, i.e. callback only

Method Detail

values

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

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

valueOf

public static IterationController.IterationMode 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

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.