Class Utf8ViewAvaticaParameterConverter
java.lang.Object
org.apache.arrow.driver.jdbc.converter.impl.Utf8ViewAvaticaParameterConverter
- All Implemented Interfaces:
AvaticaParameterConverter
AvaticaParameterConverter for Utf8View Arrow types.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
bindParameter
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) Bind a TypedValue to a FieldVector at the given index.org.apache.calcite.avatica.AvaticaParameter
createParameter
(Field field) Create an AvaticaParameter from the given Field.protected org.apache.calcite.avatica.AvaticaParameter
createParameter
(Field field, boolean signed)
-
Constructor Details
-
Utf8ViewAvaticaParameterConverter
-
-
Method Details
-
bindParameter
public boolean bindParameter(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index) Description copied from interface:AvaticaParameterConverter
Bind a TypedValue to a FieldVector at the given index.- Parameters:
vector
- FieldVector that the parameter should be bound to.typedValue
- TypedValue to bind as a parameter.index
- Vector index (0-indexed) that the TypedValue should be bound to.- Returns:
- Whether the value was set successfully.
-
createParameter
Description copied from interface:AvaticaParameterConverter
Create an AvaticaParameter from the given Field.- Parameters:
field
- Arrow Field to generate an AvaticaParameter from.
-
createParameter
-