public class StringColumnConverter extends Object
| Constructor and Description |
|---|
StringColumnConverter() |
| Modifier and Type | Method and Description |
|---|---|
static <V extends Comparable<V>,C extends DataFrameColumn<V,C>> |
convert(StringColumn column,
Class<C> colType)
Converts a StringColumn to a other column type by parsing all values
|
public static <V extends Comparable<V>,C extends DataFrameColumn<V,C>> C convert(StringColumn column, Class<C> colType) throws DataFrameException
V - value type of resulting columnC - type of resulting columncolumn - original columncolType - target column typeDataFrameException - thrown if conversion not possibleCopyright © 2020. All rights reserved.