gr.uoa.di.madgik.searchlibrary.operatorlibrary.merge
Enum OperationMode

java.lang.Object
  extended by java.lang.Enum<OperationMode>
      extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.merge.OperationMode
All Implemented Interfaces:
Serializable, Comparable<OperationMode>

public enum OperationMode
extends Enum<OperationMode>


Enum Constant Summary
FIFO
          Forwards records in the order that they are read from each input source.
FirstAvailable
          Reads one input source at a time, starting with the one that is first available
Fusion
           
Sort
          Under the condition that the records arrive sorted by rank for each input source, the results will also be produced sorted by rank.
 
Method Summary
static OperationMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OperationMode[] 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

FIFO

public static final OperationMode FIFO
Forwards records in the order that they are read from each input source. The output contains intermingled records from the input data sources


FirstAvailable

public static final OperationMode FirstAvailable
Reads one input source at a time, starting with the one that is first available


Sort

public static final OperationMode Sort
Under the condition that the records arrive sorted by rank for each input source, the results will also be produced sorted by rank. Note that this implies that the results will consist of intermingled records from all input sources, in the same manner as FIFO


Fusion

public static final OperationMode Fusion
Method Detail

values

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

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

valueOf

public static OperationMode 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 © 2013. All Rights Reserved.