Modifier and Type | Method and Description |
---|---|
static ColumnType |
ColumnType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnType[] |
ColumnType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
TransformProcess.Builder |
TransformProcess.Builder.addConstantColumn(String newColumnName,
ColumnType newColumnType,
Writable fixedValue)
Add a new column, where all values in the column are identical and as specified.
|
Modifier and Type | Method and Description |
---|---|
static List<ColumnAnalysis> |
DataVecAnalysisUtils.convertCounters(List<AnalysisCounter> counters,
double[][] minsMaxes,
List<ColumnType> columnTypes) |
Modifier and Type | Method and Description |
---|---|
ColumnType |
BytesAnalysis.getColumnType() |
ColumnType |
CategoricalAnalysis.getColumnType() |
ColumnType |
ColumnAnalysis.getColumnType() |
ColumnType |
DoubleAnalysis.getColumnType() |
ColumnType |
IntegerAnalysis.getColumnType() |
ColumnType |
LongAnalysis.getColumnType() |
ColumnType |
NDArrayAnalysis.getColumnType() |
ColumnType |
StringAnalysis.getColumnType() |
ColumnType |
TimeAnalysis.getColumnType() |
Modifier and Type | Method and Description |
---|---|
ColumnType |
BinaryMetaData.getColumnType() |
ColumnType |
BooleanMetaData.getColumnType() |
ColumnType |
CategoricalMetaData.getColumnType() |
ColumnType |
ColumnMetaData.getColumnType()
Get the type of column
|
ColumnType |
DoubleMetaData.getColumnType() |
ColumnType |
FloatMetaData.getColumnType() |
ColumnType |
IntegerMetaData.getColumnType() |
ColumnType |
LongMetaData.getColumnType() |
ColumnType |
NDArrayMetaData.getColumnType() |
ColumnType |
StringMetaData.getColumnType() |
ColumnType |
TimeMetaData.getColumnType() |
Modifier and Type | Method and Description |
---|---|
static IAggregableReduceOp<Writable,List<Writable>> |
AggregableReductionUtils.reduceColumn(List<ReduceOp> op,
ColumnType type,
boolean ignoreInvalid,
ColumnMetaData metaData) |
Modifier and Type | Method and Description |
---|---|
ColumnType |
Schema.getType(int column)
Returns the
ColumnType
for the column at the specified index |
ColumnType |
Schema.getType(String columnName)
Returns the
ColumnType
for the column at the specified index |
Modifier and Type | Method and Description |
---|---|
List<ColumnType> |
Schema.getColumnTypes()
A copy of the list of
ColumnType
for this schema |
Constructor and Description |
---|
AddConstantColumnTransform(String newColumnName,
ColumnType newColumnType,
Writable fixedValue) |
Constructor and Description |
---|
DerivedColumn(String columnName,
ColumnType columnType,
String format,
org.joda.time.DateTimeZone dateTimeZone,
org.joda.time.DateTimeFieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
static INDArray |
ArrowConverter.convertArrowVector(org.apache.arrow.vector.FieldVector fieldVector,
ColumnType type)
Convert a field vector to a column vector
|
static List<org.apache.arrow.vector.FieldVector> |
ArrowConverter.convertToArrowVector(INDArray from,
List<String> name,
ColumnType type,
org.apache.arrow.memory.BufferAllocator bufferAllocator)
Convert an
INDArray
to a list of column vectors or a singleton
list when either a row vector or a column vector |
static Writable |
ArrowConverter.fromEntry(int item,
org.apache.arrow.vector.FieldVector from,
ColumnType columnType)
Based on an input
ColumnType
get an entry from a FieldVector |
static org.apache.arrow.vector.types.pojo.Field |
ArrowConverter.getFieldForColumn(String name,
ColumnType columnType)
Create a field given the input
ColumnType
and name |
static void |
ArrowConverter.setValue(ColumnType columnType,
org.apache.arrow.vector.FieldVector fieldVector,
Object value,
int row)
Set the value of the specified column vector
at the specified row based on the given value.
|
Copyright © 2020. All rights reserved.