class IndexTypeConverter implements Converter<org.apache.geode.cache.query.IndexType> {

  @Override
  public boolean supports(Class<?> type, String optionContext) {
    return org.apache.geode.cache.query.IndexType.class.isAssignableFrom(type)
        && optionContext.contains(ConverterHint.INDEX_TYPE);
  }

}