use of io.georocket.query.DefaultQueryCompiler in project georocket by georocket.
the class IndexerVerticle method createQueryCompiler.
private DefaultQueryCompiler createQueryCompiler() {
JsonObject config = vertx.getOrCreateContext().config();
String cls = config.getString(ConfigConstants.QUERY_COMPILER_CLASS, DefaultQueryCompiler.class.getName());
try {
return (DefaultQueryCompiler) Class.forName(cls).newInstance();
} catch (ReflectiveOperationException e) {
throw new RuntimeException("Could not create a DefaultQueryCompiler", e);
}
}
use of io.georocket.query.DefaultQueryCompiler in project georocket by georocket.
the class MetadataVerticle method createQueryCompiler.
private DefaultQueryCompiler createQueryCompiler() {
JsonObject config = vertx.getOrCreateContext().config();
String cls = config.getString(ConfigConstants.QUERY_COMPILER_CLASS, DefaultQueryCompiler.class.getName());
try {
return (DefaultQueryCompiler) Class.forName(cls).newInstance();
} catch (ReflectiveOperationException e) {
throw new RuntimeException("Could not create a DefaultQueryCompiler", e);
}
}
Aggregations