public abstract class SchemaRegistryKey extends Object implements Comparable<SchemaRegistryKey>
| Modifier and Type | Field and Description |
|---|---|
protected @NotEmpty SchemaRegistryKeyType |
keyType |
protected @Min(value=0L) int |
magicByte |
| Constructor and Description |
|---|
SchemaRegistryKey(SchemaRegistryKeyType keyType) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SchemaRegistryKey otherKey) |
boolean |
equals(Object o) |
SchemaRegistryKeyType |
getKeyType() |
int |
getMagicByte() |
int |
hashCode() |
void |
setKeyType(SchemaRegistryKeyType keyType) |
void |
setMagicByte(int magicByte) |
@Min(value=0L) protected @Min(value=0L) int magicByte
@NotEmpty protected @NotEmpty SchemaRegistryKeyType keyType
public SchemaRegistryKey(SchemaRegistryKeyType keyType)
public int getMagicByte()
public void setMagicByte(int magicByte)
public SchemaRegistryKeyType getKeyType()
public void setKeyType(SchemaRegistryKeyType keyType)
public int compareTo(SchemaRegistryKey otherKey)
compareTo in interface Comparable<SchemaRegistryKey>Copyright © 2026 Confluent, Inc.. All rights reserved.