public class CustomGraphQLServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet, EventListener
NO_PORT| Constructor and Description |
|---|
CustomGraphQLServlet(Persistence persistence,
AuthenticationService authenticationService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
getKeyspaceName(javax.servlet.http.HttpServletRequest request) |
void |
onAlterAggregate(String keyspaceName,
String aggregate,
List<String> argumentTypes) |
void |
onAlterFunction(String keyspaceName,
String function,
List<String> argumentTypes) |
void |
onAlterTable(String keyspaceName,
String table) |
void |
onAlterType(String keyspaceName,
String type) |
void |
onAlterView(String keyspaceName,
String view) |
void |
onCreateAggregate(String keyspaceName,
String aggregate,
List<String> argumentTypes) |
void |
onCreateFunction(String keyspaceName,
String function,
List<String> argumentTypes) |
void |
onCreateKeyspace(String keyspaceName) |
void |
onCreateTable(String keyspaceName,
String table) |
void |
onCreateType(String keyspaceName,
String type) |
void |
onCreateView(String keyspaceName,
String view) |
void |
onDropAggregate(String keyspaceName,
String aggregate,
List<String> argumentTypes) |
void |
onDropFunction(String keyspaceName,
String function,
List<String> argumentTypes) |
void |
onDropKeyspace(String keyspaceName) |
void |
onDropTable(String keyspaceName,
String table) |
void |
onDropType(String keyspaceName,
String type) |
void |
onDropView(String keyspaceName,
String view) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getServletConfig, getServletInfo, init, serviceonAlterKeyspace, onDown, onJoinCluster, onLeaveCluster, onMove, onUppublic CustomGraphQLServlet(Persistence persistence, AuthenticationService authenticationService)
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
doGet in class javax.servlet.http.HttpServletprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
doPost in class javax.servlet.http.HttpServletpublic String getKeyspaceName(javax.servlet.http.HttpServletRequest request)
public void onCreateKeyspace(String keyspaceName)
onCreateKeyspace in interface EventListenerpublic void onDropKeyspace(String keyspaceName)
onDropKeyspace in interface EventListenerpublic void onCreateTable(String keyspaceName, String table)
onCreateTable in interface EventListenerpublic void onCreateView(String keyspaceName, String view)
onCreateView in interface EventListenerpublic void onCreateType(String keyspaceName, String type)
onCreateType in interface EventListenerpublic void onCreateFunction(String keyspaceName, String function, List<String> argumentTypes)
onCreateFunction in interface EventListenerpublic void onCreateAggregate(String keyspaceName, String aggregate, List<String> argumentTypes)
onCreateAggregate in interface EventListenerpublic void onAlterTable(String keyspaceName, String table)
onAlterTable in interface EventListenerpublic void onAlterView(String keyspaceName, String view)
onAlterView in interface EventListenerpublic void onAlterType(String keyspaceName, String type)
onAlterType in interface EventListenerpublic void onAlterFunction(String keyspaceName, String function, List<String> argumentTypes)
onAlterFunction in interface EventListenerpublic void onAlterAggregate(String keyspaceName, String aggregate, List<String> argumentTypes)
onAlterAggregate in interface EventListenerpublic void onDropTable(String keyspaceName, String table)
onDropTable in interface EventListenerpublic void onDropView(String keyspaceName, String view)
onDropView in interface EventListenerpublic void onDropType(String keyspaceName, String type)
onDropType in interface EventListenerpublic void onDropFunction(String keyspaceName, String function, List<String> argumentTypes)
onDropFunction in interface EventListenerpublic void onDropAggregate(String keyspaceName, String aggregate, List<String> argumentTypes)
onDropAggregate in interface EventListenerCopyright © 2020. All rights reserved.