Package com.influxdb.v3.client.internal
Class VectorSchemaRootConverter
java.lang.Object
com.influxdb.v3.client.internal.VectorSchemaRootConverter
The VectorSchemaRootConverter class is responsible for converting rows of data from a VectorSchemaRoot object
 to PointValues. It provides a method to perform this conversion.
 
This class is thread-safe.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionObject[]getArrayObjectFromVectorSchemaRoot(org.apache.arrow.vector.VectorSchemaRoot vector, int rowNumber) Get array of values from VectorSchemaRoot.getMapFromVectorSchemaRoot(org.apache.arrow.vector.VectorSchemaRoot vector, int rowNumber) Get a Map from VectorSchemaRoot.getMappedValue(org.apache.arrow.vector.types.pojo.Field field, Object value) Function to cast value return base on metadata from InfluxDB.
- 
Field Details- 
INSTANCE
 
- 
- 
Constructor Details- 
VectorSchemaRootConverterpublic VectorSchemaRootConverter()
 
- 
- 
Method Details- 
getMappedValuepublic Object getMappedValue(@Nonnull org.apache.arrow.vector.types.pojo.Field field, @Nullable Object value) Function to cast value return base on metadata from InfluxDB.- Parameters:
- field- the Field object from Arrow
- value- the value to cast
- Returns:
- the value with the correct type
 
- 
getArrayObjectFromVectorSchemaRootpublic Object[] getArrayObjectFromVectorSchemaRoot(@Nonnull org.apache.arrow.vector.VectorSchemaRoot vector, int rowNumber) Get array of values from VectorSchemaRoot.- Parameters:
- vector- The data return from InfluxDB.
- rowNumber- The row number of data
- Returns:
- An array of Objects represents a row of data
 
- 
getMapFromVectorSchemaRootpublic Map<String,Object> getMapFromVectorSchemaRoot(@Nonnull org.apache.arrow.vector.VectorSchemaRoot vector, int rowNumber) Get a Map from VectorSchemaRoot.- Parameters:
- vector- The data return from InfluxDB.
- rowNumber- The row number of data
- Returns:
- A Map represents a row of data
 
 
-