Package com.marklogic.contentpump
Enum ExportOutputType
- java.lang.Object
-
- java.lang.Enum<ExportOutputType>
-
- com.marklogic.contentpump.ExportOutputType
-
- All Implemented Interfaces:
Serializable,Comparable<ExportOutputType>
public enum ExportOutputType extends Enum<ExportOutputType>
Enum of output types for export.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Class<? extends org.apache.hadoop.mapreduce.InputFormat>getInputFormatClass()abstract Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat>getOutputFormatClass(org.apache.commons.cli.CommandLine cmdline)abstract Class<? extends org.apache.hadoop.io.Writable>getWritableClass()static ExportOutputTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ExportOutputType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCUMENT
public static final ExportOutputType DOCUMENT
-
ARCHIVE
public static final ExportOutputType ARCHIVE
-
-
Method Detail
-
values
public static ExportOutputType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExportOutputType c : ExportOutputType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExportOutputType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getWritableClass
public abstract Class<? extends org.apache.hadoop.io.Writable> getWritableClass()
-
getOutputFormatClass
public abstract Class<? extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat> getOutputFormatClass(org.apache.commons.cli.CommandLine cmdline)
-
getInputFormatClass
public abstract Class<? extends org.apache.hadoop.mapreduce.InputFormat> getInputFormatClass()
-
-