public class TimeAvaticaParameterConverter extends Object
Constructor and Description |
---|
TimeAvaticaParameterConverter(ArrowType.Time type) |
Modifier and Type | Method and Description |
---|---|
boolean |
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) |
public TimeAvaticaParameterConverter(ArrowType.Time type)
public boolean bindParameter(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue typedValue, int index)
AvaticaParameterConverter
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.public org.apache.calcite.avatica.AvaticaParameter createParameter(Field field)
AvaticaParameterConverter
field
- Arrow Field to generate an AvaticaParameter from.protected org.apache.calcite.avatica.AvaticaParameter createParameter(Field field, boolean signed)
Copyright © 2024 The Apache Software Foundation. All rights reserved.