public abstract static class DataColumns.BaseFactory<T> extends java.lang.Object implements ColumnFactory<T>
| Modifier | Constructor and Description |
|---|---|
protected |
BaseFactory(byte typeCode,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract DataChunk<T> |
apply(Chunk c) |
Vec |
buildZeroVec(Column<?> master) |
Vec |
buildZeroVec(long length) |
DataColumn<T> |
constColumn(T t,
long length) |
DataColumn<T> |
materialize(Column<T> xs) |
DataColumn<T> |
newColumn(java.util.List<T> xs) |
DataColumn<T> |
newColumn(long length,
Function<java.lang.Long,T> f) |
abstract DataColumn<T> |
newColumn(Vec vec) |
java.lang.String |
toString() |
byte |
typeCode() |
public byte typeCode()
typeCode in interface ChunkFactory<T>public Vec buildZeroVec(long length)
buildZeroVec in interface ColumnFactory<T>public abstract DataColumn<T> newColumn(Vec vec)
newColumn in interface ColumnFactory<T>public DataColumn<T> newColumn(long length, Function<java.lang.Long,T> f) throws java.io.IOException
newColumn in interface ColumnFactory<T>java.io.IOExceptionpublic DataColumn<T> materialize(Column<T> xs) throws java.io.IOException
materialize in interface ColumnFactory<T>java.io.IOExceptionpublic DataColumn<T> newColumn(java.util.List<T> xs) throws java.io.IOException
newColumn in interface ColumnFactory<T>java.io.IOExceptionpublic DataColumn<T> constColumn(T t, long length) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object