Class WebClientData2Objects
java.lang.Object
io.deephaven.enterprise.webclientdata2.WebClientData2Objects
Create object and tables associated with the WebClientData PQ
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EdgeAclProviderstatic final EdgeAclProviderstatic final EdgeAclProviderstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TablecreateCatalogTable(Database db, String user) Create and return the catalog table for the given user.createControllerSubscriptionTables(String user, PersistentQueryControllerClientFactory pqccFactory, GroupProvider groupProvider) Create a map of table names generated from controller subscription datacreateControllerSubscriptionTables(String user, PersistentQueryControllerClient client, GroupProvider groupProvider) Create a map of table names generated from controller subscription datacreateControllerSubscriptionTables(String user, PersistentQueryControllerClient client, GroupProvider groupProvider, Runnable shutdownHook) Create a map of table names to tables for a given userGet the names of tables created by a call to the createPerUserTables methodstatic TablehistoricalAndLiveMerged(@NotNull Database db, @NotNull String tableName) static voidregisterScopeTables(Database db, QueryScope scope) Register the tables that WebClientData should have at scope levelstatic TableGet an unfiltered view on the WorkspaceData table.
-
Field Details
-
USER_ASSIGNMENT_TABLE_NAME
- See Also:
-
PQC_QUERY_INFO_TABLE_NAME
- See Also:
-
PQC_SCOPE_NAMES_AND_TYPE_TABLE_NAME
- See Also:
-
USERS_AND_GROUPS_TABLE_NAME
- See Also:
-
aclProviderAll
-
aclProviderUsername
-
aclProviderEditors
-
-
Constructor Details
-
WebClientData2Objects
public WebClientData2Objects()
-
-
Method Details
-
createControllerSubscriptionTables
@ScriptApi public static Map<String,Table> createControllerSubscriptionTables(String user, PersistentQueryControllerClientFactory pqccFactory, GroupProvider groupProvider) Create a map of table names generated from controller subscription data- Parameters:
user-pqccFactory- a controller client factory, whose authentication when created should match the given usergroupProvider- a group provider- Returns:
- a map of table names to tables
-
getPerUserTableNames
Get the names of tables created by a call to the createPerUserTables method- Returns:
- a Set of table names
-
createControllerSubscriptionTables
public static Map<String,Table> createControllerSubscriptionTables(String user, PersistentQueryControllerClient client, GroupProvider groupProvider) Create a map of table names generated from controller subscription data- Parameters:
user- a userclient- a controller client authenticated to the given usergroupProvider- a group provider- Returns:
- a map of table names to tables
-
registerScopeTables
Register the tables that WebClientData should have at scope level- Parameters:
db- the database to usescope- the scope where to register the tables
-
createControllerSubscriptionTables
public static Map<String,Table> createControllerSubscriptionTables(String user, PersistentQueryControllerClient client, GroupProvider groupProvider, Runnable shutdownHook) Create a map of table names to tables for a given user- Parameters:
user- the userclient- a controller authenticated to the given usergroupProvider- a group providershutdownHook- code to run once the objects in the map are all shutdown- Returns:
- a map of table names to tables for the given user
-
createCatalogTable
Create and return the catalog table for the given user.- Parameters:
db- the databaseuser- the user- Returns:
- the catalog table
-
workspaceDataUnfilteredTable
Get an unfiltered view on the WorkspaceData table.- Parameters:
db- the database- Returns:
- a table
-
historicalAndLiveMerged
-