![JAR search and dependency download from the Maven repository](/logo.png)
stores.SchemaStore.scala Maven / Gradle / Ivy
The newest version!
package avrohugger
package stores
import org.apache.avro.Schema
import java.util.concurrent.ConcurrentHashMap
import scala.jdk.CollectionConverters._
class SchemaStore {
val schemas: scala.collection.concurrent.Map[String, Schema] =
new ConcurrentHashMap[String, Schema]().asScala
def accept(schema: Schema) =
schemas += (schema.getFullName -> schema)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy