class PrimitiveFieldImpl extends AbstractField {

    @Override
    public long getDataLength() {
        switch (getType()) {
        case I4:
            return 4;
        case I2:
            return 2;
        case F8:
        case DQ8:
            return 8;
        default:
            throw new UnsupportedOperationException(
                    "Unrecognized or invalid fixed-length primitive type: " + getType());
        }
    }

    public  PrimitiveFieldImpl(final String fieldName, final DataType dataType);

}