Class SchemaStoreURL


  • public class SchemaStoreURL
    extends Object
    if the id of the schema is a valid SchemaStoreURL it can be loaded from the schema store (querying mongodb with caching and avoiding the http overhead) the format is: http://schema-store/schemaStoreDb/schemaId schemaId refers to the mongodb _id and not to the id property
    Author:
    Andrea Di Cesare <andrea@softinstigate.com>
    • Constructor Detail

      • SchemaStoreURL

        public SchemaStoreURL​(String schemaDb,
                              org.bson.BsonValue schemaId)
        Parameters:
        schemaDb -
        schemaId -
      • SchemaStoreURL

        public SchemaStoreURL​(String url)
        Parameters:
        url -
    • Method Detail

      • isValid

        public static boolean isValid​(String url)
        Parameters:
        url -
        Returns:
      • getSchemaDb

        public String getSchemaDb()
        Returns:
      • getSchemaId

        public org.bson.BsonValue getSchemaId()
        Returns: