@Internal public enum InputStatus extends Enum<InputStatus>
InputStatus
indicates one input state which might be currently
available, not available or already finished. It is returned while calling
PushingAsyncDataInput.emitNext(DataOutput)
.枚举常量和说明 |
---|
END_OF_INPUT
Indicator that the input has reached the end of data.
|
MORE_AVAILABLE
Indicator that more data is available and the input can be called immediately again
to emit more data.
|
NOTHING_AVAILABLE
Indicator that no data is currently available, but more data will be available in the
future again.
|
public static final InputStatus MORE_AVAILABLE
public static final InputStatus NOTHING_AVAILABLE
public static final InputStatus END_OF_INPUT
public static InputStatus[] values()
for (InputStatus c : InputStatus.values()) System.out.println(c);
public static InputStatus valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.