final OIndexDefinition indexDefinition;
final ODocument indexDefinitionDoc = (ODocument) ORecordSerializerJSON.INSTANCE.fromString(value, null, null);
try {
final Class<?> indexDefClass = Class.forName(className);
indexDefinition = (OIndexDefinition) indexDefClass.getDeclaredConstructor().newInstance();
indexDefinition.fromStream(indexDefinitionDoc);
} catch (final ClassNotFoundException e) {
throw new IOException("Error during deserialization of index definition", e);
} catch (final NoSuchMethodException e) {
throw new IOException("Error during deserialization of index definition", e);
} catch (final InvocationTargetException e) {