public class ExpressionVectorInputBinding extends Object implements Expr.VectorInputBinding
| Constructor and Description |
|---|
ExpressionVectorInputBinding(ReadableVectorInspector vectorInspector) |
| Modifier and Type | Method and Description |
|---|---|
ExpressionVectorInputBinding |
addNumeric(String name,
ExpressionType type,
VectorValueSelector selector) |
ExpressionVectorInputBinding |
addObjectSelector(String name,
ExpressionType type,
VectorObjectSelector selector) |
int |
getCurrentVectorId()
Returns an integer that uniquely identifies the current position of the underlying vector offset, if this
binding is backed by a segment.
|
int |
getCurrentVectorSize() |
double[] |
getDoubleVector(String name) |
long[] |
getLongVector(String name) |
int |
getMaxVectorSize() |
boolean[] |
getNullVector(String name) |
Object[] |
getObjectVector(String name) |
ExpressionType |
getType(String name)
Get the
ExpressionType from the backing store for a given identifier (this is likely a column, but
could be other things depending on the backing adapter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorizepublic ExpressionVectorInputBinding(ReadableVectorInspector vectorInspector)
public ExpressionVectorInputBinding addNumeric(String name, ExpressionType type, VectorValueSelector selector)
public ExpressionVectorInputBinding addObjectSelector(String name, ExpressionType type, VectorObjectSelector selector)
public ExpressionType getType(String name)
Expr.InputBindingInspectorExpressionType from the backing store for a given identifier (this is likely a column, but
could be other things depending on the backing adapter)getType in interface Expr.InputBindingInspectorpublic Object[] getObjectVector(String name)
getObjectVector in interface Expr.VectorInputBindingpublic long[] getLongVector(String name)
getLongVector in interface Expr.VectorInputBindingpublic double[] getDoubleVector(String name)
getDoubleVector in interface Expr.VectorInputBinding@Nullable public boolean[] getNullVector(String name)
getNullVector in interface Expr.VectorInputBindingpublic int getMaxVectorSize()
getMaxVectorSize in interface Expr.VectorInputBindingInspectorpublic int getCurrentVectorSize()
getCurrentVectorSize in interface Expr.VectorInputBindingpublic int getCurrentVectorId()
Expr.VectorInputBindinggetCurrentVectorId in interface Expr.VectorInputBindingCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.