| | |
| | | * Header, with the fields enclosed by brackets [] replaced by your own identifying |
| | | * information: "Portions Copyright [year] [name of copyright owner]". |
| | | * |
| | | * Copyright 2023-2024 3A Systems, LLC. |
| | | * Copyright 2023-2026 3A Systems, LLC. |
| | | */ |
| | | package org.opends.server.backends.cassandra; |
| | | |
| | |
| | | } |
| | | |
| | | String getKeyspaceName() { |
| | | return "\""+System.getProperty("keyspace",config.getDBDirectory()).replaceAll("[^a-zA-z0-9_]", "_")+"\""; |
| | | return "\""+System.getProperty("keyspace",config.getDBDirectory()).replaceAll("[^a-zA-Z0-9_]", "_")+"\""; |
| | | } |
| | | |
| | | String getTableName() { |
| | | return getKeyspaceName()+".\""+config.getBackendId().replaceAll("[^a-zA-z0-9_]", "_")+"\""; |
| | | return getKeyspaceName()+".\""+config.getBackendId().replaceAll("[^a-zA-Z0-9_]", "_")+"\""; |
| | | } |
| | | |
| | | @Override |