/** * Sets Accumulo table. This property only needs to be set for FluoAdmin as it will be stored and * retrieved from Zookeeper for clients. * <p> * Sets the value of the property {@value #ACCUMULO_TABLE_PROP} */ public FluoConfiguration setAccumuloTable(String table) { return setNonEmptyString(ACCUMULO_TABLE_PROP, table); }
/** * Sets the value of the property {@value #CONNECTION_ZOOKEEPERS_PROP} * * @param zookeepers The instance to use, must not be null. * */ public FluoConfiguration setInstanceZookeepers(String zookeepers) { return setNonEmptyString(CONNECTION_ZOOKEEPERS_PROP, zookeepers); }
/** * Sets the Apache Accumulo instance property {@value #ACCUMULO_INSTANCE_PROP} * * @param accumuloInstance The instance to connect to, must not be empty */ public FluoConfiguration setAccumuloInstance(String accumuloInstance) { return setNonEmptyString(ACCUMULO_INSTANCE_PROP, accumuloInstance); }
/** * Sets the value of the property {@value #ACCUMULO_USER_PROP} * * @param accumuloUser The user name to use, must not be null. */ public FluoConfiguration setAccumuloUser(String accumuloUser) { return setNonEmptyString(ACCUMULO_USER_PROP, accumuloUser); }
/** * Sets the value of the property {@value #MINI_DATA_DIR_PROP} * * @param dataDir The path to the directory, must not be null */ public FluoConfiguration setMiniDataDir(String dataDir) { return setNonEmptyString(MINI_DATA_DIR_PROP, dataDir); }
/** * Sets the value of the property {@value #ACCUMULO_ZOOKEEPERS_PROP} * * @param zookeepers Must not be null */ public FluoConfiguration setAccumuloZookeepers(String zookeepers) { return setNonEmptyString(ACCUMULO_ZOOKEEPERS_PROP, zookeepers); }
/** * Sets the root for the Hadoop DFS value in property {@value #DFS_ROOT_PROP} * * @param dfsRoot The path for the dfs root eg: hdfs://host:port/path note: may not be empty. * @since 1.2.0 */ public FluoConfiguration setDfsRoot(String dfsRoot) { return setNonEmptyString(DFS_ROOT_PROP, dfsRoot); }
/** * Sets the value of the property {@value #CONNECTION_ZOOKEEPERS_PROP} * * @param zookeepers The instance to use, must not be null. * */ public FluoConfiguration setInstanceZookeepers(String zookeepers) { return setNonEmptyString(CONNECTION_ZOOKEEPERS_PROP, zookeepers); }
/** * Sets the value of the property {@value #ACCUMULO_ZOOKEEPERS_PROP} * * @param zookeepers Must not be null */ public FluoConfiguration setAccumuloZookeepers(String zookeepers) { return setNonEmptyString(ACCUMULO_ZOOKEEPERS_PROP, zookeepers); }
/** * Sets the root for the Hadoop DFS value in property {@value #DFS_ROOT_PROP} * * @param dfsRoot The path for the dfs root eg: hdfs://host:port/path note: may not be empty. * @since 1.2.0 */ public FluoConfiguration setDfsRoot(String dfsRoot) { return setNonEmptyString(DFS_ROOT_PROP, dfsRoot); }
/** * Sets the Apache Accumulo instance property {@value #ACCUMULO_INSTANCE_PROP} * * @param accumuloInstance The instance to connect to, must not be empty */ public FluoConfiguration setAccumuloInstance(String accumuloInstance) { return setNonEmptyString(ACCUMULO_INSTANCE_PROP, accumuloInstance); }
/** * Sets the value of the property {@value #ACCUMULO_USER_PROP} * * @param accumuloUser The user name to use, must not be null. */ public FluoConfiguration setAccumuloUser(String accumuloUser) { return setNonEmptyString(ACCUMULO_USER_PROP, accumuloUser); }
/** * Sets Accumulo table. This property only needs to be set for FluoAdmin as it will be stored and * retrieved from Zookeeper for clients. * <p> * Sets the value of the property {@value #ACCUMULO_TABLE_PROP} */ public FluoConfiguration setAccumuloTable(String table) { return setNonEmptyString(ACCUMULO_TABLE_PROP, table); }
/** * Sets the value of the property {@value #MINI_DATA_DIR_PROP} * * @param dataDir The path to the directory, must not be null */ public FluoConfiguration setMiniDataDir(String dataDir) { return setNonEmptyString(MINI_DATA_DIR_PROP, dataDir); }
/** * Configure the observer provider that Fluo workers will use. * <p> * Sets the property of {@value #OBSERVER_PROVIDER} * * @since 1.1.0 * * @param className Name of a class that implements {@link ObserverProvider}. Must be non-null and * non-empty. */ public void setObserverProvider(String className) { setNonEmptyString(OBSERVER_PROVIDER, className); }
/** * Configure the observer provider that Fluo workers will use. * <p> * Sets the property of {@value #OBSERVER_PROVIDER} * * @since 1.1.0 * * @param className Name of a class that implements {@link ObserverProvider}. Must be non-null and * non-empty. */ public void setObserverProvider(String className) { setNonEmptyString(OBSERVER_PROVIDER, className); }