public class BinaryOperator extends Operator implements Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
commutative |
ValueFunction |
fn |
sparseSafe
Constructor and Description |
---|
BinaryOperator(ValueFunction p) |
Modifier and Type | Method and Description |
---|---|
Types.OpOp2 |
getBinaryOperatorOpOp2()
Method for getting the hop binary operator type for a given function object.
|
int |
getNumThreads() |
boolean |
isCommutative() |
void |
setNumThreads(int k) |
String |
toString() |
public final ValueFunction fn
public final boolean commutative
public BinaryOperator(ValueFunction p)
public void setNumThreads(int k)
public int getNumThreads()
public Types.OpOp2 getBinaryOperatorOpOp2()
public boolean isCommutative()
Copyright © 2021 The Apache Software Foundation. All rights reserved.