org.apache.nutch.indexer

## Class IndexWriterParams

- java.lang.Object
- - java.util.AbstractMap<K,V>
  - - java.util.HashMap<java.lang.String,java.lang.String>
    - - org.apache.nutch.indexer.IndexWriterParams

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.String>

      public class IndexWriterParams
      extends java.util.HashMap<java.lang.String,java.lang.String>

  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class java.util.AbstractMap

      `java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>`

    - ### Nested classes/interfaces inherited from interface java.util.Map

      `java.util.Map.Entry<K,V>`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IndexWriterParams(java.util.Map<? extends java.lang.String,? extends java.lang.String> m)` Constructs a new `HashMap` with the same mappings as the specified `Map`.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `get(java.lang.String name, java.lang.String defaultValue)`
    `boolean` | `getBoolean(java.lang.String name, boolean defaultValue)`
    `int` | `getInt(java.lang.String name, int defaultValue)`
    `long` | `getLong(java.lang.String name, long defaultValue)`
    `java.lang.String[]` | `getStrings(java.lang.String name)`
    `java.lang.String[]` | `getStrings(java.lang.String name, java.lang.String... defaultValue)`

    - ### Methods inherited from class java.util.HashMap

      `clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values`

    - ### Methods inherited from class java.util.AbstractMap

      `equals, hashCode, toString`

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

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.Map

      `equals, hashCode`

- - ### Constructor Detail

    - #### IndexWriterParams

          public IndexWriterParams(java.util.Map<? extends java.lang.String,? extends java.lang.String> m)

      Constructs a new `HashMap` with the same mappings as the specified `Map`. The `HashMap` is created with default load factor (0.75) and an initial capacity sufficient to hold the mappings in the specified `Map`.
      Parameters:
        `m` - the map whose mappings are to be placed in this map
      Throws:
        `java.lang.NullPointerException` - if the specified map is null

  - ### Method Detail

    - #### get

          public java.lang.String get(java.lang.String name,
                                      java.lang.String defaultValue)

    - #### getBoolean

          public boolean getBoolean(java.lang.String name,
                                    boolean defaultValue)

    - #### getLong

          public long getLong(java.lang.String name,
                              long defaultValue)

    - #### getInt

          public int getInt(java.lang.String name,
                            int defaultValue)

    - #### getStrings

          public java.lang.String[] getStrings(java.lang.String name)

    - #### getStrings

          public java.lang.String[] getStrings(java.lang.String name,
                                               java.lang.String... defaultValue)

Copyright © 2019 The Apache Software Foundation