K
- Key type.public final class ObjectArrayVectorizer<K> extends ExtractionUtils.ArrayLikeObjectLabelVectorizer<K,Object[]> implements DeployableObject
Vectorizer.LabelCoordinate, Vectorizer.VectorizerAdapter<K,V,C extends Serializable,L>
Constructor and Description |
---|
ObjectArrayVectorizer(Integer... coords)
Creates an instance of Vectorizer.
|
Modifier and Type | Method and Description |
---|---|
protected Serializable |
feature(Integer coord,
K key,
Object[] value)
Extracts feature value by given coordinate.
|
List<Object> |
getDependencies()
Returns dependencies of this object that can be object with class defined by client side and unknown for server.
|
protected int |
sizeOf(K key,
Object[] value)
Size of array-like structure of upstream object.
|
allCoords
label, zero
apply, createVector, exclude, extract, labeled, labeled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extractFeatures, extractLabel
map
andThen
andThen
public ObjectArrayVectorizer(Integer... coords)
coords
- Coordinates.protected Serializable feature(Integer coord, K key, Object[] value)
protected int sizeOf(K key, Object[] value)
sizeOf
in class ExtractionUtils.ArrayLikeObjectLabelVectorizer<K,Object[]>
key
- Key.value
- Value.public List<Object> getDependencies()
getDependencies
in interface DeployableObject
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021