Record Class OdysseyFlowRecords.ClassifyResult
java.lang.Object
java.lang.Record
io.confluent.kafka.odyssey.OdysseyFlowRecords.ClassifyResult
- Enclosing class:
OdysseyFlowRecords
public static record OdysseyFlowRecords.ClassifyResult(OdysseyFlowRecords.OdysseyRequestContext request, OdysseyFlowRecords.TopicClassification classification, Map<String, ParsedAssociations> extractedAssociations)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionClassifyResult(OdysseyFlowRecords.OdysseyRequestContext request, OdysseyFlowRecords.TopicClassification classification, Map<String, ParsedAssociations> extractedAssociations) Creates an instance of aClassifyResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassificationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextractedAssociationsrecord component.final inthashCode()Returns a hash code value for this object.request()Returns the value of therequestrecord component.io.confluent.kafka.schemaregistry.client.SchemaRegistryClientsrClient()List<org.apache.kafka.common.message.CreateTopicsRequestData.CreatableTopic> final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ClassifyResult
public ClassifyResult(OdysseyFlowRecords.OdysseyRequestContext request, OdysseyFlowRecords.TopicClassification classification, Map<String, ParsedAssociations> extractedAssociations) Creates an instance of aClassifyResultrecord class.- Parameters:
request- the value for therequestrecord componentclassification- the value for theclassificationrecord componentextractedAssociations- the value for theextractedAssociationsrecord component
-
-
Method Details
-
topicsWithOdysseyConfigs
public List<org.apache.kafka.common.message.CreateTopicsRequestData.CreatableTopic> topicsWithOdysseyConfigs() -
topicNamesWithoutOdysseyConfigs
-
namespace
-
srClient
public io.confluent.kafka.schemaregistry.client.SchemaRegistryClient srClient() -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
request
Returns the value of therequestrecord component.- Returns:
- the value of the
requestrecord component
-
classification
Returns the value of theclassificationrecord component.- Returns:
- the value of the
classificationrecord component
-
extractedAssociations
Returns the value of theextractedAssociationsrecord component.- Returns:
- the value of the
extractedAssociationsrecord component
-