public class Functions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Functions.ArrayToVectorFunction
A
ScalarFunction that converts a column of arrays of numeric type into a column of
DenseVector instances. |
static class |
Functions.VectorToArrayFunction
A
ScalarFunction that converts a column of Vector s into a column of double
arrays. |
Constructor and Description |
---|
Functions() |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.table.api.ApiExpression |
arrayToVector(Object... arguments)
Converts a column of arrays of numeric type into a column of
DenseVector instances. |
static org.apache.flink.table.api.ApiExpression |
vectorToArray(Object... arguments)
Converts a column of
Vector s into a column of double arrays. |
public static org.apache.flink.table.api.ApiExpression vectorToArray(Object... arguments)
Vector
s into a column of double arrays.public static org.apache.flink.table.api.ApiExpression arrayToVector(Object... arguments)
DenseVector
instances.Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.