Package com.ocient.cli.extract
Enum ExtractConfiguration.HeaderMode
java.lang.Object
java.lang.Enum<ExtractConfiguration.HeaderMode>
com.ocient.cli.extract.ExtractConfiguration.HeaderMode
- All Implemented Interfaces:
Serializable,Comparable<ExtractConfiguration.HeaderMode>,java.lang.constant.Constable
- Enclosing class:
- ExtractConfiguration
public static enum ExtractConfiguration.HeaderMode extends Enum<ExtractConfiguration.HeaderMode>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_FILESHeader row is included in every fileFIRST_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)NONENo header headers -
Method Summary
Modifier and Type Method Description static ExtractConfiguration.HeaderModevalueOf(String name)Returns the enum constant of this type with the specified name.static ExtractConfiguration.HeaderMode[]values()Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-