Package com.ocient.cli.extract
Enum Class ExtractConfiguration.HeaderMode
java.lang.Object
java.lang.Enum<ExtractConfiguration.HeaderMode>
com.ocient.cli.extract.ExtractConfiguration.HeaderMode
- All Implemented Interfaces:
Serializable,Comparable<ExtractConfiguration.HeaderMode>,Constable
- Enclosing class:
ExtractConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHeader row is included in every fileWhen used in conjunction with `max_rows_per_file`, the number of records included in the first file is reduced by one so that all files include the same number of rows (with the exception of the last file which may have fewer rows)No header headers -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ExtractConfiguration.HeaderMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No header headers -
FIRST_FILE
When used in conjunction with `max_rows_per_file`, the number of records included in the first file is reduced by one so that all files include the same number of rows (with the exception of the last file which may have fewer rows) -
ALL_FILES
Header row is included in every file
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-