Class OutputFormatBuilderImpl<T>
java.lang.Object
org.apache.accumulo.hadoopImpl.mapreduce.OutputFormatBuilderImpl<T>
- All Implemented Interfaces:
OutputFormatBuilder.ClientParams<T>
,OutputFormatBuilder.OutputOptions<T>
public class OutputFormatBuilderImpl<T>
extends Object
implements OutputFormatBuilder.ClientParams<T>, OutputFormatBuilder.OutputOptions<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclientProperties
(Properties clientProperties) Set the connection information needed to communicate with Accumulo in this job.clientPropertiesPath
(String clientPropsPath) Set path to DFS location containing accumulo-client.properties file.createTables
(boolean value) Enables the directive to create new tables, as necessary.defaultTable
(String tableName) Sets the default table name to use if one emits a null in place of a table name for a given mutation.void
Finish configuring, verify and serialize options into the Job or JobConf
-
Constructor Details
-
OutputFormatBuilderImpl
-
-
Method Details
-
clientProperties
Description copied from interface:OutputFormatBuilder.ClientParams
Set the connection information needed to communicate with Accumulo in this job. clientProperties param can be created usingAccumulo.newClientProperties()
. Client properties will be serialized into configuration. Therefore it is more secure to useOutputFormatBuilder.ClientParams.clientPropertiesPath(String)
- Specified by:
clientProperties
in interfaceOutputFormatBuilder.ClientParams<T>
- Parameters:
clientProperties
- Accumulo connection information
-
clientPropertiesPath
Description copied from interface:OutputFormatBuilder.ClientParams
Set path to DFS location containing accumulo-client.properties file. This setting is more secure thanOutputFormatBuilder.ClientParams.clientProperties(Properties)
- Specified by:
clientPropertiesPath
in interfaceOutputFormatBuilder.ClientParams<T>
- Parameters:
clientPropsPath
- DFS path to accumulo-client.properties
-
defaultTable
Description copied from interface:OutputFormatBuilder.OutputOptions
Sets the default table name to use if one emits a null in place of a table name for a given mutation. Table names can only be alpha-numeric and underscores.- Specified by:
defaultTable
in interfaceOutputFormatBuilder.OutputOptions<T>
- Parameters:
tableName
- the table to use when the tablename is null in the write call
-
createTables
Description copied from interface:OutputFormatBuilder.OutputOptions
Enables the directive to create new tables, as necessary. Table names can only be alpha-numeric and underscores.By default, this feature is disabled.
- Specified by:
createTables
in interfaceOutputFormatBuilder.OutputOptions<T>
-
store
Description copied from interface:OutputFormatBuilder.OutputOptions
Finish configuring, verify and serialize options into the Job or JobConf- Specified by:
store
in interfaceOutputFormatBuilder.OutputOptions<T>
-