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.
|
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
BooleanCondition: used for creating compound conditions,
such as AND(ConditionA, ConditionB, ...)
|
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
Created by agibsonccc on 11/26/16.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseColumnCondition
Abstract class for column conditions
|
class |
BooleanColumnCondition
Created by agibsonccc on 11/26/16.
|
class |
CategoricalColumnCondition
Condition that applies to the values in a Categorical column, using a
ConditionOp |
class |
DoubleColumnCondition
Condition that applies to the values in a Double column, using a
ConditionOp |
class |
FloatColumnCondition
Condition that applies to the values in a Float column, using a
ConditionOp |
class |
InfiniteColumnCondition
A column condition that simply checks whether a floating point value is infinite
|
class |
IntegerColumnCondition
Condition that applies to the values in an Integer column, using a
ConditionOp |
class |
InvalidValueColumnCondition
A Condition that applies to a single column.
|
class |
LongColumnCondition
Condition that applies to the values in a Long column, using a
ConditionOp |
class |
NaNColumnCondition
A column condition that simply checks whether a floating point value is NaN
|
class |
NullWritableColumnCondition
Condition that applies to the values in any column.
|
class |
StringColumnCondition
Condition that applies to the values in a String column, using a
ConditionOp |
class |
TimeColumnCondition
Condition that applies to the values
in a Time column, using a
ConditionOp |
class |
TrivialColumnCondition
Created by huitseeker on 5/17/17.
|
Modifier and Type | Class and Description |
---|---|
class |
SequenceLengthCondition
A condition on sequence lengths
|
Modifier and Type | Class and Description |
---|---|
class |
StringRegexColumnCondition
Condition that applies to the values in a String column, using a provided regex.
|
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) |
Modifier and Type | Class and Description |
---|---|
class |
PythonCondition
Lets a condition be defined as a python method f that takes no arguments
and returns a boolean indicating whether or not to filter a row.
|
Copyright © 2020. All rights reserved.