use of io.zulia.message.ZuliaServiceGrpc.ZuliaServiceBlockingStub in project zuliasearch by zuliaio.
the class GetNodes method execute.
@Override
public GetNodesResult execute(ZuliaConnection zuliaConnection) {
ZuliaServiceBlockingStub service = zuliaConnection.getService();
GetNodesResponse getMembersResponse = service.getNodes(getRequest());
return new GetNodesResult(getMembersResponse);
}
use of io.zulia.message.ZuliaServiceGrpc.ZuliaServiceBlockingStub in project zuliasearch by zuliaio.
the class GetNumberOfDocs method execute.
@Override
public GetNumberOfDocsResult execute(ZuliaConnection zuliaConnection) {
ZuliaServiceBlockingStub service = zuliaConnection.getService();
GetNumberOfDocsResponse getNumberOfDocsResponse = service.getNumberOfDocs(getRequest());
return new GetNumberOfDocsResult(getNumberOfDocsResponse);
}
use of io.zulia.message.ZuliaServiceGrpc.ZuliaServiceBlockingStub in project zuliasearch by zuliaio.
the class OptimizeIndex method execute.
@Override
public OptimizeIndexResult execute(ZuliaConnection zuliaConnection) {
ZuliaServiceBlockingStub service = zuliaConnection.getService();
OptimizeResponse optimizeResponse = service.optimize(getRequest());
return new OptimizeIndexResult(optimizeResponse);
}
use of io.zulia.message.ZuliaServiceGrpc.ZuliaServiceBlockingStub in project zuliasearch by zuliaio.
the class DeleteIndex method execute.
@Override
public DeleteIndexResult execute(ZuliaConnection zuliaConnection) {
ZuliaServiceBlockingStub service = zuliaConnection.getService();
DeleteIndexResponse indexDeleteResponse = service.deleteIndex(getRequest());
return new DeleteIndexResult(indexDeleteResponse);
}
use of io.zulia.message.ZuliaServiceGrpc.ZuliaServiceBlockingStub in project zuliasearch by zuliaio.
the class Fetch method execute.
@Override
public FetchResult execute(ZuliaConnection zuliaConnection) {
ZuliaServiceBlockingStub service = zuliaConnection.getService();
FetchResponse fetchResponse = service.fetch(getRequest());
return new FetchResult(fetchResponse);
}
Aggregations