Enum Options
- java.lang.Object
-
- java.lang.Enum<Options>
-
- htsjdk.variant.variantcontext.writer.Options
-
- All Implemented Interfaces:
Serializable
,Comparable<Options>
public enum Options extends Enum<Options>
Available writer options for VariantContextWriters- Since:
- 5/12
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_MISSING_FIELDS_IN_HEADER
DO_NOT_WRITE_GENOTYPES
FORCE_BCF
INDEX_ON_THE_FLY
USE_ASYNC_IO
WRITE_FULL_FORMAT_FIELD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Options
valueOf(String name)
Returns the enum constant of this type with the specified name.static Options[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDEX_ON_THE_FLY
public static final Options INDEX_ON_THE_FLY
-
DO_NOT_WRITE_GENOTYPES
public static final Options DO_NOT_WRITE_GENOTYPES
-
ALLOW_MISSING_FIELDS_IN_HEADER
public static final Options ALLOW_MISSING_FIELDS_IN_HEADER
-
FORCE_BCF
public static final Options FORCE_BCF
-
USE_ASYNC_IO
public static final Options USE_ASYNC_IO
-
WRITE_FULL_FORMAT_FIELD
public static final Options WRITE_FULL_FORMAT_FIELD
-
-
Method Detail
-
values
public static Options[] 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 (Options c : Options.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Options 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
-
-