org.apache.solr.schema

## Class IndexSchema.DynamicReplacement.DynamicPattern

- java.lang.Object
- - org.apache.solr.schema.IndexSchema.DynamicReplacement.DynamicPattern

- Enclosing class:
    IndexSchema.DynamicReplacement

      protected abstract static class IndexSchema.DynamicReplacement.DynamicPattern
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `fixedStr`
    `protected String` | `regex`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `DynamicPattern(String regex, String fixedStr)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `length()` Returns the length of the original regex, including the asterisk, if any.

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

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

- - ### Field Detail

    - #### regex

          protected final String regex

    - #### fixedStr

          protected final String fixedStr

  - ### Constructor Detail

    - #### DynamicPattern

          protected DynamicPattern(String regex,
                                   String fixedStr)

  - ### Method Detail

    - #### length

          public int length()

      Returns the length of the original regex, including the asterisk, if any.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.