public class NDArrayMetaData extends BaseColumnMetaData
name
Constructor and Description |
---|
NDArrayMetaData(String name,
long[] shape) |
Modifier and Type | Method and Description |
---|---|
NDArrayMetaData |
clone() |
ColumnType |
getColumnType()
Get the type of column
|
boolean |
isValid(Object input)
Is the given object valid for this column,
given the column type and any
restrictions given by the
ColumnMetaData object?
|
boolean |
isValid(Writable writable)
Is the given Writable valid for this column, given the column type and any restrictions given by the
ColumnMetaData object?
|
getName, setName
public NDArrayMetaData(String name, long[] shape)
name
- Name of the NDArray columnshape
- shape of the NDArray column. Use -1 in entries to specify as "variable length" in that dimensionpublic ColumnType getColumnType()
ColumnMetaData
public boolean isValid(Writable writable)
ColumnMetaData
writable
- Writable to checkpublic boolean isValid(Object input)
ColumnMetaData
input
- object to checkpublic NDArrayMetaData clone()
clone
in interface ColumnMetaData
clone
in class BaseColumnMetaData
Copyright © 2020. All rights reserved.