Class Api

    • Field Detail

      • spec

        protected org.apache.solr.common.SpecProvider spec
      • commandSchema

        protected volatile Map<String,​org.apache.solr.common.util.JsonSchemaValidator> commandSchema
    • Constructor Detail

      • Api

        protected Api​(org.apache.solr.common.SpecProvider spec)
    • Method Detail

      • getCommandSchema

        public Map<String,​org.apache.solr.common.util.JsonSchemaValidator> getCommandSchema()
        This method helps to cache the schema validator object
      • getSpec

        public org.apache.solr.common.util.ValidatingJsonMap getSpec()
        Get the specification of the API as a Map
        Specified by:
        getSpec in interface org.apache.solr.common.SpecProvider