org.apache.accumulo.core.client.impl
Class ServerClient
java.lang.Object
org.apache.accumulo.core.client.impl.ServerClient
public class ServerClient
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerClient
public ServerClient()
execute
public static <T> T execute(Instance instance,
ClientExecReturn<T,ClientService.Iface> exec)
throws AccumuloException,
AccumuloSecurityException
- Throws:
AccumuloException
AccumuloSecurityException
execute
public static void execute(Instance instance,
ClientExec<ClientService.Iface> exec)
throws AccumuloException,
AccumuloSecurityException
- Throws:
AccumuloException
AccumuloSecurityException
executeRaw
public static <T> T executeRaw(Instance instance,
ClientExecReturn<T,ClientService.Iface> exec)
throws Exception
- Throws:
Exception
executeRaw
public static void executeRaw(Instance instance,
ClientExec<ClientService.Iface> exec)
throws Exception
- Throws:
Exception
getConnection
public static Pair<String,ClientService.Iface> getConnection(Instance instance)
throws org.apache.thrift.transport.TTransportException
- Throws:
org.apache.thrift.transport.TTransportException
getConnection
public static Pair<String,ClientService.Iface> getConnection(Instance instance,
boolean preferCachedConnections)
throws org.apache.thrift.transport.TTransportException
- Throws:
org.apache.thrift.transport.TTransportException
close
public static void close(ClientService.Iface iface)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.