io.zulia.server.connection.server.handler.InternalGetFieldNamesServerRequest Maven / Gradle / Ivy
package io.zulia.server.connection.server.handler;
import io.zulia.message.ZuliaServiceOuterClass.GetFieldNamesResponse;
import io.zulia.message.ZuliaServiceOuterClass.InternalGetFieldNamesRequest;
import io.zulia.server.index.ZuliaIndexManager;
import java.util.logging.Level;
import java.util.logging.Logger;
public class InternalGetFieldNamesServerRequest extends ServerRequestHandler {
private final static Logger LOG = Logger.getLogger(InternalGetFieldNamesServerRequest.class.getSimpleName());
public InternalGetFieldNamesServerRequest(ZuliaIndexManager indexManager) {
super(indexManager);
}
@Override
protected GetFieldNamesResponse handleCall(ZuliaIndexManager indexManager, InternalGetFieldNamesRequest request) throws Exception {
return indexManager.internalGetFieldNames(request);
}
@Override
protected void onError(Throwable e) {
LOG.log(Level.SEVERE, "Failed to handle internal get field names", e);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy