public enum IcebergType extends Enum<IcebergType>
Enum Constant and Description |
---|
NATIVE
Represents native (exchange-managed) iceberg type.
|
SYNTHETIC
Represents synthetic (managed outside of the exchange) iceberg type
|
UNDEFINED
Iceberg type is undefined, unknown or inapplicable.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns integer code that is used in flag bits.
|
static IcebergType |
valueOf(int code)
Returns iceberg type by integer code bit pattern.
|
static IcebergType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IcebergType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IcebergType UNDEFINED
public static final IcebergType NATIVE
public static final IcebergType SYNTHETIC
public static IcebergType[] values()
for (IcebergType c : IcebergType.values()) System.out.println(c);
public static IcebergType 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 static IcebergType valueOf(int code)
code
- integer code.ArrayIndexOutOfBoundsException
- if code is invalid.public int getCode()
Copyright © 2002–2022 Devexperts LLC. All rights reserved.