org.apache.accumulo.core.cli
Class ClientOpts

java.lang.Object
  extended by org.apache.accumulo.core.cli.Help
      extended by org.apache.accumulo.core.cli.ClientOpts
Direct Known Subclasses:
ClientOnDefaultTable, ClientOnRequiredTable

public class ClientOpts
extends Help


Nested Class Summary
static class ClientOpts.AuthConverter
           
static class ClientOpts.MemoryConverter
           
static class ClientOpts.Password
           
static class ClientOpts.PasswordConverter
           
static class ClientOpts.TimeConverter
           
static class ClientOpts.VisibilityConverter
           
 
Field Summary
 Authorizations auths
           
protected  Instance cachedInstance
           
 boolean debug
           
 String instance
           
 Map<String,String> loginProps
           
 boolean mock
           
 ClientOpts.Password password
           
 String principal
           
 ClientOpts.Password securePassword
           
 String siteFile
           
 String tokenClassName
           
 boolean trace
           
 String zookeepers
           
 
Fields inherited from class org.apache.accumulo.core.cli.Help
help
 
Constructor Summary
ClientOpts()
           
 
Method Summary
 Connector getConnector()
           
 Instance getInstance()
           
 AuthenticationToken getToken()
           
 void parseArgs(String programName, String[] args, Object... others)
           
 void setAccumuloConfigs(org.apache.hadoop.mapreduce.Job job)
           
 void startDebugLogging()
           
 void startTracing(String applicationName)
           
 void stopTracing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

principal

public String principal

password

public ClientOpts.Password password

securePassword

public ClientOpts.Password securePassword

tokenClassName

public String tokenClassName

loginProps

public Map<String,String> loginProps

zookeepers

public String zookeepers

instance

public String instance

auths

public Authorizations auths

debug

public boolean debug

mock

public boolean mock

siteFile

public String siteFile

trace

public boolean trace

cachedInstance

protected Instance cachedInstance
Constructor Detail

ClientOpts

public ClientOpts()
Method Detail

getToken

public AuthenticationToken getToken()

startDebugLogging

public void startDebugLogging()

startTracing

public void startTracing(String applicationName)

stopTracing

public void stopTracing()

parseArgs

public void parseArgs(String programName,
                      String[] args,
                      Object... others)
Overrides:
parseArgs in class Help

getInstance

public Instance getInstance()

getConnector

public Connector getConnector()
                       throws AccumuloException,
                              AccumuloSecurityException
Throws:
AccumuloException
AccumuloSecurityException

setAccumuloConfigs

public void setAccumuloConfigs(org.apache.hadoop.mapreduce.Job job)
                        throws AccumuloSecurityException
Throws:
AccumuloSecurityException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.