public static enum SchemaChangeResponse.ResponseCode extends Enum<SchemaChangeResponse.ResponseCode>
- Accepted: Requested schema change request has been accepted exclusively. Any other schema change requests will be blocked.
- Busy: Schema registry is currently busy processing another schema change request.
- Duplicate: This schema change request has been submitted before, possibly by another paralleled subTask.
- Ignored: This schema change request has been assessed, but no actual evolution is required. Possibly caused by LENIENT mode or merging table strategies.
| 枚举常量和说明 |
|---|
BUSY |
DUPLICATE |
IGNORED |
SUCCESS |
WAITING_FOR_FLUSH |
| 限定符和类型 | 方法和说明 |
|---|---|
static SchemaChangeResponse.ResponseCode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SchemaChangeResponse.ResponseCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SchemaChangeResponse.ResponseCode SUCCESS
public static final SchemaChangeResponse.ResponseCode BUSY
public static final SchemaChangeResponse.ResponseCode DUPLICATE
public static final SchemaChangeResponse.ResponseCode IGNORED
public static final SchemaChangeResponse.ResponseCode WAITING_FOR_FLUSH
public static SchemaChangeResponse.ResponseCode[] values()
for (SchemaChangeResponse.ResponseCode c : SchemaChangeResponse.ResponseCode.values()) System.out.println(c);
public static SchemaChangeResponse.ResponseCode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2025 The Apache Software Foundation. All rights reserved.