com.neeve.query
Enum QueryResultSet.Collation

java.lang.Object
  extended by java.lang.Enum<QueryResultSet.Collation>
      extended by com.neeve.query.QueryResultSet.Collation
All Implemented Interfaces:
Serializable, Comparable<QueryResultSet.Collation>
Enclosing interface:
QueryResultSet<REC>

public static enum QueryResultSet.Collation
extends Enum<QueryResultSet.Collation>

The ways in which the results of multiple Repositories can be combined.


Enum Constant Summary
AGGREGATE
           
CONCATENATE
           
INTERLEAVE
           
ORDERED_AGGREGATE
           
 
Method Summary
static QueryResultSet.Collation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QueryResultSet.Collation[] 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

CONCATENATE

public static final QueryResultSet.Collation CONCATENATE

INTERLEAVE

public static final QueryResultSet.Collation INTERLEAVE

AGGREGATE

public static final QueryResultSet.Collation AGGREGATE

ORDERED_AGGREGATE

public static final QueryResultSet.Collation ORDERED_AGGREGATE
Method Detail

values

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

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

valueOf

public static QueryResultSet.Collation 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 © 2016 Neeve Research, LLC. All Rights Reserved.