* Copyright (C) 2016-2018 Ericsson. All rights reserved.
* Modifications Copyright (C) 2019-2021 Nordix Foundation.
* Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
+ * Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import java.io.ByteArrayOutputStream;
import java.util.LinkedHashSet;
import java.util.Set;
+import lombok.Getter;
import org.apache.avro.Schema;
import org.apache.avro.Schema.Field;
import org.apache.avro.Schema.Type;
private static final String OBJECT_TAG = ": object \"";
// The Avro schema for this context schema
+ @Getter
private Schema avroSchema;
// The mapper that translates between Java and Avro objects
setSchemaClass(avroObjectMapper.getJavaClass());
}
- /**
- * Getter to get the Avro schema.
- *
- * @return the Avro schema
- */
- public Schema getAvroSchema() {
- return avroSchema;
- }
-
@Override
public Object getSchemaObject() {
return getAvroSchema();