public static class BCF2FieldEncoder.Flag extends BCF2FieldEncoder
BCF2FieldEncoder.AtomicInt, BCF2FieldEncoder.Flag, BCF2FieldEncoder.Float, BCF2FieldEncoder.GenericInts, BCF2FieldEncoder.IntArray, BCF2FieldEncoder.StringOrCharacter| Constructor and Description |
|---|
Flag(VCFCompoundHeaderLine headerLine,
java.util.Map<java.lang.String,java.lang.Integer> dict) |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeValue(BCF2Encoder encoder,
java.lang.Object value,
BCF2Type type,
int minValues)
Key abstract method that should encode a value of the given type into the encoder.
|
int |
numElements()
Get the number of elements, assuming this field has a constant number of elements.
|
getCountType, getDynamicType, getField, getStaticType, getType, hasConstantNumElements, hasContextDeterminedNumElements, hasValueDeterminedNumElements, isDynamicallyTyped, isStaticallyTyped, numElements, numElements, numElements, numElementsFromValue, toString, writeFieldKeypublic Flag(VCFCompoundHeaderLine headerLine, java.util.Map<java.lang.String,java.lang.Integer> dict)
public int numElements()
BCF2FieldEncodernumElements in class BCF2FieldEncoderpublic void encodeValue(BCF2Encoder encoder, java.lang.Object value, BCF2Type type, int minValues) throws java.io.IOException
BCF2FieldEncoderencodeValue in class BCF2FieldEncoderjava.io.IOException