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,
AuthorizationService authorizationService,
DataStoreFactory dataStoreFactory) |
| Modifier and Type | Method and Description |
|---|---|
graphql.GraphQL |
getDdl() |
graphql.GraphQL |
getDefaultDml(Map<String,String> headers) |
String |
getDefaultKeyspaceName() |
graphql.GraphQL |
getDml(String keyspaceName,
AuthenticationSubject subject,
Map<String,String> headers) |
void |
onAlterAggregate(String decoratedKeyspaceName,
String aggregate,
List<String> argumentTypes) |
void |
onAlterFunction(String decoratedKeyspaceName,
String function,
List<String> argumentTypes) |
void |
onAlterTable(String decoratedKeyspaceName,
String table) |
void |
onAlterType(String decoratedKeyspaceName,
String type) |
void |
onAlterView(String decoratedKeyspaceName,
String view) |
void |
onCreateAggregate(String decoratedKeyspaceName,
String aggregate,
List<String> argumentTypes) |
void |
onCreateFunction(String decoratedKeyspaceName,
String function,
List<String> argumentTypes) |
void |
onCreateTable(String decoratedKeyspaceName,
String table) |
void |
onCreateType(String decoratedKeyspaceName,
String type) |
void |
onCreateView(String decoratedKeyspaceName,
String view) |
void |
onDropAggregate(String decoratedKeyspaceName,
String aggregate,
List<String> argumentTypes) |
void |
onDropFunction(String decoratedKeyspaceName,
String function,
List<String> argumentTypes) |
void |
onDropKeyspace(String decoratedKeyspaceName) |
void |
onDropTable(String decoratedKeyspaceName,
String table) |
void |
onDropType(String decoratedKeyspaceName,
String type) |
void |
onDropView(String decoratedKeyspaceName,
String view) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonAlterKeyspace, onCreateKeyspace, onDown, onJoinCluster, onLeaveCluster, onMove, onUppublic GraphqlCache(Persistence persistence, AuthorizationService authorizationService, DataStoreFactory dataStoreFactory)
public graphql.GraphQL getDdl()
public graphql.GraphQL getDml(String keyspaceName, AuthenticationSubject subject, Map<String,String> headers)
public String getDefaultKeyspaceName()
public void onDropKeyspace(String decoratedKeyspaceName)
onDropKeyspace in interface EventListenerpublic void onCreateTable(String decoratedKeyspaceName, String table)
onCreateTable in interface EventListenerpublic void onCreateView(String decoratedKeyspaceName, String view)
onCreateView in interface EventListenerpublic void onCreateType(String decoratedKeyspaceName, String type)
onCreateType in interface EventListenerpublic void onCreateFunction(String decoratedKeyspaceName, String function, List<String> argumentTypes)
onCreateFunction in interface EventListenerpublic void onCreateAggregate(String decoratedKeyspaceName, String aggregate, List<String> argumentTypes)
onCreateAggregate in interface EventListenerpublic void onAlterTable(String decoratedKeyspaceName, String table)
onAlterTable in interface EventListenerpublic void onAlterView(String decoratedKeyspaceName, String view)
onAlterView in interface EventListenerpublic void onAlterType(String decoratedKeyspaceName, String type)
onAlterType in interface EventListenerpublic void onAlterFunction(String decoratedKeyspaceName, String function, List<String> argumentTypes)
onAlterFunction in interface EventListenerpublic void onAlterAggregate(String decoratedKeyspaceName, String aggregate, List<String> argumentTypes)
onAlterAggregate in interface EventListenerpublic void onDropTable(String decoratedKeyspaceName, String table)
onDropTable in interface EventListenerpublic void onDropView(String decoratedKeyspaceName, String view)
onDropView in interface EventListenerpublic void onDropType(String decoratedKeyspaceName, String type)
onDropType in interface EventListenerpublic void onDropFunction(String decoratedKeyspaceName, String function, List<String> argumentTypes)
onDropFunction in interface EventListenerpublic void onDropAggregate(String decoratedKeyspaceName, String aggregate, List<String> argumentTypes)
onDropAggregate in interface EventListenerCopyright © 2021. All rights reserved.