public static enum RecordDeserializer.DeserializationResult extends Enum<RecordDeserializer.DeserializationResult>
Enum Constant and Description |
---|
INTERMEDIATE_RECORD_FROM_BUFFER |
LAST_RECORD_FROM_BUFFER |
PARTIAL_RECORD |
Modifier and Type | Method and Description |
---|---|
boolean |
isBufferConsumed() |
boolean |
isFullRecord() |
static RecordDeserializer.DeserializationResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordDeserializer.DeserializationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordDeserializer.DeserializationResult PARTIAL_RECORD
public static final RecordDeserializer.DeserializationResult INTERMEDIATE_RECORD_FROM_BUFFER
public static final RecordDeserializer.DeserializationResult LAST_RECORD_FROM_BUFFER
public static RecordDeserializer.DeserializationResult[] values()
for (RecordDeserializer.DeserializationResult c : RecordDeserializer.DeserializationResult.values()) System.out.println(c);
public static RecordDeserializer.DeserializationResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isFullRecord()
public boolean isBufferConsumed()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.