| Modifier and Type | Method and Description |
|---|---|
TransformProcess.Builder |
TransformProcess.Builder.conditionalCopyValueTransform(String columnToReplace,
String sourceColumn,
Condition condition)
Replace the value in a specified column with a new value taken from another column, if a condition is satisfied/true.
Note that the condition can be any generic condition, including on other column(s), different to the column that will be modified if the condition is satisfied/true. |
TransformProcess.Builder |
TransformProcess.Builder.conditionalReplaceValueTransform(String column,
Writable newValue,
Condition condition)
Replace the values in a specified column with a specified new value, if some condition holds.
|
TransformProcess.Builder |
TransformProcess.Builder.conditionalReplaceValueTransformWithDefault(String column,
Writable yesVal,
Writable noVal,
Condition condition)
Replace the values in a specified column with a specified "yes" value, if some condition holds.
|
TransformProcess.Builder |
TransformProcess.Builder.filter(Condition condition)
Add a filter operation, based on the specified condition.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanCondition |
| Modifier and Type | Method and Description |
|---|---|
static Condition |
BooleanCondition.AND(Condition... conditions)
And of all the given conditions
|
static Condition |
BooleanCondition.NOT(Condition condition)
Not of the given condition
|
static Condition |
BooleanCondition.OR(Condition... conditions)
Or of all the given conditions
|
static Condition |
BooleanCondition.XOR(Condition first,
Condition second)
And of all the given conditions
|
| Modifier and Type | Method and Description |
|---|---|
static Condition |
BooleanCondition.AND(Condition... conditions)
And of all the given conditions
|
static Condition |
BooleanCondition.NOT(Condition condition)
Not of the given condition
|
static Condition |
BooleanCondition.OR(Condition... conditions)
Or of all the given conditions
|
static Condition |
BooleanCondition.XOR(Condition first,
Condition second)
And of all the given conditions
|
| Constructor and Description |
|---|
BooleanCondition(BooleanCondition.Type type,
Condition... conditions) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ColumnCondition |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseColumnCondition |
class |
BooleanColumnCondition |
class |
CategoricalColumnCondition |
class |
DoubleColumnCondition |
class |
FloatColumnCondition |
class |
InfiniteColumnCondition |
class |
IntegerColumnCondition |
class |
InvalidValueColumnCondition |
class |
LongColumnCondition |
class |
NaNColumnCondition |
class |
NullWritableColumnCondition |
class |
StringColumnCondition |
class |
TimeColumnCondition |
class |
TrivialColumnCondition |
| Modifier and Type | Class and Description |
|---|---|
class |
SequenceLengthCondition |
| Modifier and Type | Class and Description |
|---|---|
class |
StringRegexColumnCondition |
| Constructor and Description |
|---|
ConditionFilter(Condition condition) |
| Constructor and Description |
|---|
DispatchWithConditionOp(List<IAggregableReduceOp<Writable,List<U>>> ops,
List<Condition> conds) |
| Modifier and Type | Method and Description |
|---|---|
Reducer.Builder |
Reducer.Builder.conditionalReduction(String column,
List<String> outputNames,
List<ReduceOp> reductions,
Condition condition)
Conditional reduction: apply the reduces on a specified column, where the reduction occurs *only* on those
examples where the condition returns true.
|
Reducer.Builder |
Reducer.Builder.conditionalReduction(String column,
String outputName,
ReduceOp reduction,
Condition condition)
Conditional reduction: apply the reduces on a specified column, where the reduction occurs *only* on those
examples where the condition returns true.
|
| Modifier and Type | Method and Description |
|---|---|
Condition |
BaseSerializer.deserializeCondition(String str)
Deserialize a Condition serialized using
BaseSerializer.serialize(Object) |
| Modifier and Type | Method and Description |
|---|---|
List<Condition> |
BaseSerializer.deserializeConditionList(String str)
Deserialize a Condition List serialized using
BaseSerializer.serializeConditionList(List), or
an array serialized using BaseSerializer.serialize(Condition[]) |
| Modifier and Type | Method and Description |
|---|---|
String |
BaseSerializer.serialize(Condition[] conditions) |
| Modifier and Type | Method and Description |
|---|---|
String |
BaseSerializer.serializeConditionList(List<Condition> list)
Serialize a list of Conditions
|
| Constructor and Description |
|---|
ConditionList(List<Condition> list) |
| Modifier and Type | Field and Description |
|---|---|
protected Condition |
ConditionalReplaceValueTransformWithDefault.condition |
| Constructor and Description |
|---|
ConditionalCopyValueTransform(String columnToReplace,
String sourceColumn,
Condition condition) |
ConditionalReplaceValueTransform(String columnToReplace,
Writable newValue,
Condition condition) |
ConditionalReplaceValueTransformWithDefault(String columnToReplace,
Writable yesVal,
Writable noVal,
Condition condition) |
Copyright © 2021. All rights reserved.