public enum FrameType extends Enum<FrameType>
| Modifier and Type | Method and Description |
|---|---|
Frame |
ensureType(Frame frame) |
static FrameType |
forVersion(byte versionByte)
Returns the frame type for a particular version byte, or null if the version byte is unrecognized.
|
static FrameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
byte |
version() |
public static final FrameType COLUMNAR
public static final FrameType ROW_BASED
public static FrameType[] values()
for (FrameType c : FrameType.values()) System.out.println(c);
public static FrameType 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 null@Nullable public static FrameType forVersion(byte versionByte)
public byte version()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.