public class CategoricalMetaData extends BaseColumnMetaData
name| Constructor and Description |
|---|
CategoricalMetaData(String name,
List<String> stateNames) |
CategoricalMetaData(String name,
String... stateNames) |
| Modifier and Type | Method and Description |
|---|---|
CategoricalMetaData |
clone() |
ColumnType |
getColumnType()
Get the type of column
|
List<String> |
getStateNames() |
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?
|
String |
toString() |
getName, setNamepublic ColumnType getColumnType()
ColumnMetaDatapublic boolean isValid(Writable writable)
ColumnMetaDatawritable - Writable to checkpublic boolean isValid(Object input)
input - object to checkpublic CategoricalMetaData clone()
clone in interface ColumnMetaDataclone in class BaseColumnMetaDataCopyright © 2019. All rights reserved.