public enum ResultColumnReferenceStrategy extends Enum<ResultColumnReferenceStrategy>
| Enum Constant and Description | 
|---|
ALIAS
For databases which do not support  
SOURCE, ANSI SQL defines two allowable
 approaches. | 
ORDINAL
For databases which do not support  
SOURCE, ANSI SQL defines two allowable
 approaches. | 
SOURCE
This strategy says to reference the result columns by the qualified column name
 found in the result source. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ResultColumnReferenceStrategy | 
resolveByName(String name)
Resolves the strategy by name, in a case insensitive manner. 
 | 
static ResultColumnReferenceStrategy | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ResultColumnReferenceStrategy[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ResultColumnReferenceStrategy SOURCE
public static final ResultColumnReferenceStrategy ALIAS
public static final ResultColumnReferenceStrategy ORDINAL
public static ResultColumnReferenceStrategy[] values()
for (ResultColumnReferenceStrategy c : ResultColumnReferenceStrategy.values()) System.out.println(c);
public static ResultColumnReferenceStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static ResultColumnReferenceStrategy resolveByName(String name)
SOURCE
 is returned as the default.name - The strategy name to resolveCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.