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, setNamepublic 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()
ColumnMetaDatapublic boolean isValid(Writable writable)
ColumnMetaDatawritable - Writable to checkpublic boolean isValid(Object input)
ColumnMetaDatainput - object to checkpublic NDArrayMetaData clone()
clone in interface ColumnMetaDataclone in class BaseColumnMetaDataCopyright © 2020. All rights reserved.