Class BooleanMetaData
- java.lang.Object
-
- org.datavec.api.transform.metadata.BaseColumnMetaData
-
- org.datavec.api.transform.metadata.BooleanMetaData
-
- All Implemented Interfaces:
Serializable,Cloneable,ColumnMetaData
public class BooleanMetaData extends BaseColumnMetaData
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.datavec.api.transform.metadata.BaseColumnMetaData
name
-
-
Constructor Summary
Constructors Constructor Description BooleanMetaData(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanMetaDataclone()ColumnTypegetColumnType()Get the type of columnbooleanisValid(Object input)Is the given object valid for this column, given the column type and any restrictions given by the ColumnMetaData object?booleanisValid(Writable writable)Is the given Writable valid for this column, given the column type and any restrictions given by the ColumnMetaData object?StringtoString()-
Methods inherited from class org.datavec.api.transform.metadata.BaseColumnMetaData
getName, setName
-
-
-
-
Constructor Detail
-
BooleanMetaData
public BooleanMetaData(String name)
-
-
Method Detail
-
getColumnType
public ColumnType getColumnType()
Description copied from interface:ColumnMetaDataGet the type of column
-
isValid
public boolean isValid(Writable writable)
Description copied from interface:ColumnMetaDataIs the given Writable valid for this column, given the column type and any restrictions given by the ColumnMetaData object?- Parameters:
writable- Writable to check- Returns:
- true if value, false if invalid
-
isValid
public boolean isValid(Object input)
Is the given object valid for this column, given the column type and any restrictions given by the ColumnMetaData object?- Parameters:
input- object to check- Returns:
- true if value, false if invalid
-
clone
public BooleanMetaData clone()
- Specified by:
clonein interfaceColumnMetaData- Specified by:
clonein classBaseColumnMetaData- Returns:
-
-