Packages

c

org.apache.spark.sql.util

CaseInsensitiveStringMap

class CaseInsensitiveStringMap extends Map[String, String]

Experimental

Case-insensitive map of string keys to string values.

This is used to pass options to v2 implementations to ensure consistent case insensitivity.

Methods that return keys in this map, like #entrySet() and #keySet(), return keys converted to lower case. This map doesn't allow null key.

Annotations
@Experimental()
Source
CaseInsensitiveStringMap.java
Since

3.0.0

Linear Supertypes
Map[String, String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CaseInsensitiveStringMap
  2. Map
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CaseInsensitiveStringMap(originalMap: Map[String, String])

Value Members

  1. def asCaseSensitiveMap(): Map[String, String]

    Returns the original case-sensitive map.

  2. def clear(): Unit
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  3. def compute(arg0: String, arg1: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): String
    Definition Classes
    Map
  4. def computeIfAbsent(arg0: String, arg1: Function[_ >: String <: AnyRef, _ <: String]): String
    Definition Classes
    Map
  5. def computeIfPresent(arg0: String, arg1: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): String
    Definition Classes
    Map
  6. def containsKey(key: AnyRef): Boolean
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  7. def containsValue(value: AnyRef): Boolean
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  8. def entrySet(): Set[Entry[String, String]]
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  9. def equals(o: AnyRef): Boolean
    Definition Classes
    CaseInsensitiveStringMap → Map → AnyRef → Any
    Annotations
    @Override()
  10. def forEach(arg0: BiConsumer[_ >: String <: AnyRef, _ >: String <: AnyRef]): Unit
    Definition Classes
    Map
  11. def get(key: AnyRef): String
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  12. def getBoolean(key: String, defaultValue: Boolean): Boolean

    Returns the boolean value to which the specified key is mapped, or defaultValue if there is no mapping for the key.

    Returns the boolean value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.

  13. def getDouble(key: String, defaultValue: Double): Double

    Returns the double value to which the specified key is mapped, or defaultValue if there is no mapping for the key.

    Returns the double value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.

  14. def getInt(key: String, defaultValue: Int): Int

    Returns the integer value to which the specified key is mapped, or defaultValue if there is no mapping for the key.

    Returns the integer value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.

  15. def getLong(key: String, defaultValue: Long): Long

    Returns the long value to which the specified key is mapped, or defaultValue if there is no mapping for the key.

    Returns the long value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.

  16. def getOrDefault(arg0: AnyRef, arg1: String): String
    Definition Classes
    Map
  17. def hashCode(): Int
    Definition Classes
    CaseInsensitiveStringMap → Map → AnyRef → Any
    Annotations
    @Override()
  18. def isEmpty(): Boolean
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  19. def keySet(): Set[String]
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  20. def merge(arg0: String, arg1: String, arg2: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): String
    Definition Classes
    Map
  21. def put(key: String, value: String): String
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  22. def putAll(m: Map[_ <: String, _ <: String]): Unit
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  23. def putIfAbsent(arg0: String, arg1: String): String
    Definition Classes
    Map
  24. def remove(key: AnyRef): String
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  25. def remove(arg0: AnyRef, arg1: AnyRef): Boolean
    Definition Classes
    Map
  26. def replace(arg0: String, arg1: String): String
    Definition Classes
    Map
  27. def replace(arg0: String, arg1: String, arg2: String): Boolean
    Definition Classes
    Map
  28. def replaceAll(arg0: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): Unit
    Definition Classes
    Map
  29. def size(): Int
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  30. def values(): Collection[String]
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()