Class SchemaRegistryKey
java.lang.Object
io.confluent.kafka.schemaregistry.storage.SchemaRegistryKey
- All Implemented Interfaces:
Comparable<SchemaRegistryKey>
- Direct Known Subclasses:
ContextKey,NoopKey,SubjectKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @NotEmpty SchemaRegistryKeyTypeprotected @jakarta.validation.constraints.Min(0L) int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SchemaRegistryKey otherKey) booleanintinthashCode()voidsetKeyType(SchemaRegistryKeyType keyType) voidsetMagicByte(int magicByte)
-
Field Details
-
magicByte
@Min(0L) protected @jakarta.validation.constraints.Min(0L) int magicByte -
keyType
-
-
Constructor Details
-
SchemaRegistryKey
-
-
Method Details
-
getMagicByte
public int getMagicByte() -
setMagicByte
public void setMagicByte(int magicByte) -
getKeyType
-
setKeyType
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<SchemaRegistryKey>
-