public enum StepReadState extends java.lang.Enum<StepReadState>
Returned by IStep.next
and
PlugStep.parentNext
to
indicate the result of processing a row of data.
Enum Constant and Description |
---|
EOF
End of file was reached.
|
ERROR
The row was not processed successfully.
|
SUCCESS
The row was processed successfully.
|
UNKNOWN
Unknown state.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Return the integer value associated with the read state.
|
static StepReadState |
valueOf(int value)
Return the
StepReadState that corresponds to the given value. |
static StepReadState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StepReadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepReadState UNKNOWN
public static final StepReadState SUCCESS
public static final StepReadState EOF
public static final StepReadState ERROR
public static StepReadState[] values()
for (StepReadState c : StepReadState.values()) System.out.println(c);
public static StepReadState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static StepReadState valueOf(int value)
StepReadState
that corresponds to the given value.value
- The integer value that corresponds to a StepReadState
.StepReadState
that corresponds to the given value.java.lang.IllegalArgumentException
- When the given value
is not supported.Copyright © 2012 SAS Institute Inc. All Rights Reserved.