influx schema type validations

Hello,

I am using influx db and I want to enforce some kind of schema validation.

I had a problem that influx had learned a filed using the wrong type due to a developer mistake. As a result, once we sent the right type, influx wouldn’t persist it because it recognised the field of another type.

Can I force field types such as String, Integer and Double?

I use Java

Regards,
Ido