public class MasterClient extends Object
Constructor and Description |
---|
MasterClient() |
Modifier and Type | Method and Description |
---|---|
static void |
close(MasterClientService.Iface iface) |
static void |
execute(ClientContext context,
ClientExec<MasterClientService.Client> exec) |
static <T> T |
execute(ClientContext context,
ClientExecReturn<T,MasterClientService.Client> exec) |
static void |
executeGeneric(ClientContext context,
ClientExec<MasterClientService.Client> exec) |
static void |
executeNamespace(ClientContext context,
ClientExec<MasterClientService.Client> exec) |
static void |
executeTable(ClientContext context,
ClientExec<MasterClientService.Client> exec) |
static MasterClientService.Client |
getConnection(ClientContext context) |
static MasterClientService.Client |
getConnectionWithRetry(ClientContext context) |
public static MasterClientService.Client getConnectionWithRetry(ClientContext context)
public static MasterClientService.Client getConnection(ClientContext context)
public static void close(MasterClientService.Iface iface)
public static <T> T execute(ClientContext context, ClientExecReturn<T,MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public static void executeGeneric(ClientContext context, ClientExec<MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public static void executeTable(ClientContext context, ClientExec<MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public static void executeNamespace(ClientContext context, ClientExec<MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException, NamespaceNotFoundException
public static void execute(ClientContext context, ClientExec<MasterClientService.Client> exec) throws AccumuloException, AccumuloSecurityException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.