org.apache.lens.server.api.driver
Enum DriverQueryPlan.ScanMode

java.lang.Object
  extended by java.lang.Enum<DriverQueryPlan.ScanMode>
      extended by org.apache.lens.server.api.driver.DriverQueryPlan.ScanMode
All Implemented Interfaces:
Serializable, Comparable<DriverQueryPlan.ScanMode>
Enclosing class:
DriverQueryPlan

public static enum DriverQueryPlan.ScanMode
extends Enum<DriverQueryPlan.ScanMode>

The Enum ScanMode.


Enum Constant Summary
FULL_SCAN
          The full scan.
IN_MEMORY
          The in memory.
INDEX_SCAN
          The index scan.
PARTIAL_SCAN
          The partial scan.
 
Method Summary
static DriverQueryPlan.ScanMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DriverQueryPlan.ScanMode[] 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

IN_MEMORY

public static final DriverQueryPlan.ScanMode IN_MEMORY
The in memory.


INDEX_SCAN

public static final DriverQueryPlan.ScanMode INDEX_SCAN
The index scan.


PARTIAL_SCAN

public static final DriverQueryPlan.ScanMode PARTIAL_SCAN
The partial scan.


FULL_SCAN

public static final DriverQueryPlan.ScanMode FULL_SCAN
The full scan.

Method Detail

values

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

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

valueOf

public static DriverQueryPlan.ScanMode 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 © 2014–2015 Apache Software Foundation. All rights reserved.