org.apache.storm.solr.schema.builder

## Class RestJsonSchemaBuilderV2

- java.lang.Object
- - org.apache.storm.solr.schema.builder.RestJsonSchemaBuilderV2

- All Implemented Interfaces:
    Serializable, SchemaBuilder

      public class RestJsonSchemaBuilderV2
      extends Object
      implements SchemaBuilder

  Class that builds the `Schema` object from the schema returned by the SchemaRequest.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RestJsonSchemaBuilderV2(SolrConfig solrConfig, String collection)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `buildSchema()`
    `Schema` | `getSchema()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RestJsonSchemaBuilderV2

          public RestJsonSchemaBuilderV2(SolrConfig solrConfig,
                                         String collection)

  - ### Method Detail

    - #### buildSchema

          public void buildSchema()
                           throws IOException

      Specified by:
        `buildSchema` in interface `SchemaBuilder`
      Throws:
        `IOException`

    - #### getSchema

          public Schema getSchema()

      Specified by:
        `getSchema` in interface `SchemaBuilder`

Copyright © 2019 The Apache Software Foundation. All rights reserved.