org.apache.pig.validator
Enum PigCommandFilter.Command

java.lang.Object
  extended by java.lang.Enum<PigCommandFilter.Command>
      extended by org.apache.pig.validator.PigCommandFilter.Command
All Implemented Interfaces:
Serializable, Comparable<PigCommandFilter.Command>
Enclosing interface:
PigCommandFilter

public static enum PigCommandFilter.Command
extends Enum<PigCommandFilter.Command>


Enum Constant Summary
CAT
           
CD
           
COPYFROMLOCAL
           
COPYTOLOCAL
           
CP
           
DUMP
           
FS
           
ILLUSTRATE
           
KILL
           
LS
           
MAPREDUCE
           
MKDIR
           
MV
           
PWD
           
REGISTER
           
RM
           
RMF
           
SET
           
SH
           
 
Method Summary
static PigCommandFilter.Command valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PigCommandFilter.Command[] 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

FS

public static final PigCommandFilter.Command FS

LS

public static final PigCommandFilter.Command LS

SH

public static final PigCommandFilter.Command SH

MAPREDUCE

public static final PigCommandFilter.Command MAPREDUCE

REGISTER

public static final PigCommandFilter.Command REGISTER

SET

public static final PigCommandFilter.Command SET

CAT

public static final PigCommandFilter.Command CAT

CD

public static final PigCommandFilter.Command CD

DUMP

public static final PigCommandFilter.Command DUMP

KILL

public static final PigCommandFilter.Command KILL

PWD

public static final PigCommandFilter.Command PWD

MV

public static final PigCommandFilter.Command MV

CP

public static final PigCommandFilter.Command CP

COPYTOLOCAL

public static final PigCommandFilter.Command COPYTOLOCAL

COPYFROMLOCAL

public static final PigCommandFilter.Command COPYFROMLOCAL

MKDIR

public static final PigCommandFilter.Command MKDIR

RM

public static final PigCommandFilter.Command RM

RMF

public static final PigCommandFilter.Command RMF

ILLUSTRATE

public static final PigCommandFilter.Command ILLUSTRATE
Method Detail

values

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

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

valueOf

public static PigCommandFilter.Command 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 © 2007-2012 The Apache Software Foundation