public String getType() {
      // this should return a "key" value because some production code relies on this method
      // returning a type string that would turn into IndexType enum object
      if (keyIndex == Boolean.TRUE) {
        return "key";
      }

      if (type == null) {
        return "range";
      } else {
        return type;
      }
    }
Gets the value of the type property.

possible object is
{@link String }

@return the value of the type property
geode-core/src/main/java/org/apache/geode/cache/configuration/RegionConfig.java