Package | Description |
---|---|
org.apache.accumulo.core.client.impl |
Modifier and Type | Field and Description |
---|---|
static Namespace.ID |
Namespace.ID.ACCUMULO |
static Namespace.ID |
Namespace.ID.DEFAULT |
Modifier and Type | Method and Description |
---|---|
static Namespace.ID |
Namespaces.getNamespaceId(ClientContext context,
String namespaceName)
Look for namespace ID in ZK.
|
static Namespace.ID |
Tables.getNamespaceId(ClientContext context,
Table.ID tableId)
Returns the namespace id for a given table ID.
|
static Namespace.ID |
Namespaces.lookupNamespaceId(ClientContext context,
String namespaceName)
Look for namespace ID in ZK.
|
static Namespace.ID |
Namespace.ID.of(String canonical)
Get a Namespace.ID object for the provided canonical string.
|
Modifier and Type | Method and Description |
---|---|
static SortedMap<Namespace.ID,String> |
Namespaces.getIdToNameMap(ClientContext context)
Return sorted map with key = ID, value = namespaceName
|
static SortedMap<String,Namespace.ID> |
Namespaces.getNameToIdMap(ClientContext context)
Return sorted map with key = namespaceName, value = ID
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Namespaces.exists(ClientContext context,
Namespace.ID namespaceId) |
static String |
Namespaces.getNamespaceName(ClientContext context,
Namespace.ID namespaceId)
Look for namespace name in ZK.
|
static List<Table.ID> |
Namespaces.getTableIds(ClientContext context,
Namespace.ID namespaceId) |
static List<String> |
Namespaces.getTableNames(ClientContext context,
Namespace.ID namespaceId) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.