public final class SpannerResourceManagerUtils
extends java.lang.Object
SpannerResourceManager
implementations.Modifier and Type | Field and Description |
---|---|
static int |
MAX_DATABASE_ID_LENGTH |
static int |
MAX_INSTANCE_ID_LENGTH |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
generateDatabaseId(java.lang.String baseString)
Generates a database id from a given string.
|
static java.lang.String |
generateInstanceId(java.lang.String baseString)
Generates an instance id from a given string.
|
public static final int MAX_INSTANCE_ID_LENGTH
public static final int MAX_DATABASE_ID_LENGTH
public static java.lang.String generateDatabaseId(java.lang.String baseString)
baseString
- The string to generate the id from.public static java.lang.String generateInstanceId(java.lang.String baseString)
baseString
- The string to generate the id from.