org.apache.pig.validator
Enum PigCommandFilter.Command
java.lang.Object
java.lang.Enum<PigCommandFilter.Command>
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>
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
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