Class SchemaValue
java.lang.Object
io.confluent.kafka.schemaregistry.storage.SchemaRegistryValue
io.confluent.kafka.schemaregistry.storage.SubjectValue
io.confluent.kafka.schemaregistry.storage.SchemaValue
- All Implemented Interfaces:
Comparable<SchemaValue>
-
Field Summary
FieldsFields inherited from class io.confluent.kafka.schemaregistry.storage.SchemaRegistryValue
offset, timestamp -
Constructor Summary
ConstructorsConstructorDescriptionSchemaValue(Schema schemaEntity) SchemaValue(Schema schemaEntity, RuleSetHandler ruleSetHandler) SchemaValue(String subject, Integer version, Integer id, String schema, boolean deleted) SchemaValue(String subject, Integer version, Integer id, String md5, String schemaType, List<SchemaReference> references, Metadata metadata, RuleSet ruleSet, String schema, boolean deleted) SchemaValue(String subject, Integer version, Integer id, String schemaType, List<SchemaReference> references, String schema, boolean deleted) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SchemaValue that) booleangetId()getMd5()byte[]inthashCode()booleanvoidsetDeleted(boolean deleted) voidvoidvoidsetMd5Bytes(byte[] bytes) voidsetMetadata(Metadata metadata) voidsetReferences(List<SchemaReference> references) voidsetRuleSet(RuleSet ruleSet) voidvoidsetSchemaType(String schemaType) voidsetVersion(Integer version) toKey()toString()Methods inherited from class io.confluent.kafka.schemaregistry.storage.SubjectValue
getSubject, setSubjectMethods inherited from class io.confluent.kafka.schemaregistry.storage.SchemaRegistryValue
getOffset, getTimestamp, setOffset, setTimestamp
-
Field Details
-
ENCODED_PROPERTY
- See Also:
-
-
Constructor Details
-
SchemaValue
-
SchemaValue
-
SchemaValue
-
SchemaValue
-
SchemaValue
-
-
Method Details
-
getVersion
-
setVersion
-
getId
-
setId
-
getMd5
-
setMd5
-
getMd5Bytes
public byte[] getMd5Bytes() -
setMd5Bytes
public void setMd5Bytes(byte[] bytes) -
getSchemaType
-
setSchemaType
-
getReferences
-
setReferences
-
getMetadata
-
setMetadata
-
getRuleSet
-
setRuleSet
-
getSchema
-
setSchema
-
isDeleted
public boolean isDeleted() -
setDeleted
public void setDeleted(boolean deleted) -
equals
- Overrides:
equalsin classSubjectValue
-
hashCode
public int hashCode()- Overrides:
hashCodein classSubjectValue
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<SchemaValue>
-
toKey
- Specified by:
toKeyin classSubjectValue
-
toSchemaEntity
-
toHashKey
-