public class Enums extends DataColumns.BaseFactory<java.lang.Integer>
Modifier and Type | Class and Description |
---|---|
static class |
Enums.EnumChunk |
name, typeCode
Constructor and Description |
---|
Enums()
deserialization :(
|
Enums(java.lang.String[] domain) |
Modifier and Type | Method and Description |
---|---|
DataChunk<java.lang.Integer> |
apply(Chunk c) |
static Enums |
enums(java.lang.String[] domain) |
DataColumn<java.lang.Integer> |
newColumn(long length,
Function<java.lang.Long,java.lang.Integer> f) |
DataColumn<java.lang.Integer> |
newColumn(Vec vec) |
buildZeroVec, buildZeroVec, constColumn, materialize, newColumn, toString, typeCode
public Enums()
public Enums(java.lang.String[] domain)
public static Enums enums(java.lang.String[] domain)
public DataColumn<java.lang.Integer> newColumn(long length, Function<java.lang.Long,java.lang.Integer> f) throws java.io.IOException
newColumn
in interface ColumnFactory<java.lang.Integer>
newColumn
in class DataColumns.BaseFactory<java.lang.Integer>
java.io.IOException
public DataColumn<java.lang.Integer> newColumn(Vec vec)
newColumn
in interface ColumnFactory<java.lang.Integer>
newColumn
in class DataColumns.BaseFactory<java.lang.Integer>