public class GraphqlCache extends Object implements EventListener
GraphQL instances used by our REST resources.
This includes staying up to date with CQL schema changes.
NO_PORT| Constructor and Description |
|---|
GraphqlCache(Persistence persistence,
AuthenticationService authenticationService,
AuthorizationService authorizationService,
DataStoreFactory dataStoreFactory) |
| Modifier and Type | Method and Description |
|---|---|
graphql.GraphQL |
getDdl() |
graphql.GraphQL |
getDefaultDml() |
graphql.GraphQL |
getDml(String keyspace,
Map<String,String> headers) |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonAlterKeyspace, onDown, onJoinCluster, onLeaveCluster, onMove, onUppublic GraphqlCache(Persistence persistence, AuthenticationService authenticationService, AuthorizationService authorizationService, DataStoreFactory dataStoreFactory)
public graphql.GraphQL getDdl()
public graphql.GraphQL getDefaultDml()
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 © 2021. All rights reserved.