public class VectorTypes extends Object
Modifier and Type | Field and Description |
---|---|
static TypeInformation<DenseVector> |
DENSE_VECTOR
DenseVector type information. |
static TypeInformation<SparseVector> |
SPARSE_VECTOR
SparseVector type information. |
static TypeInformation<Vector> |
VECTOR
Vector type information. |
Constructor and Description |
---|
VectorTypes() |
public static final TypeInformation<DenseVector> DENSE_VECTOR
DenseVector
type information.public static final TypeInformation<SparseVector> SPARSE_VECTOR
SparseVector
type information.public static final TypeInformation<Vector> VECTOR
Vector
type information. For efficiency, use type information of sub-class
DenseVector
and SparseVector
as much as possible. When an operator
output both sub-class type of vectors, use this one.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.