All Methods Static Methods Concrete Methods
Modifier and Type |
Method |
Description |
static int |
checkNumFields(String[] parts,
int expected) |
|
static int |
checkNumFields(String[] parts,
int... expected) |
|
static int |
checkNumFields(String[] parts,
int expected1,
int expected2) |
|
static int |
checkNumFields(String str,
int expected) |
|
static int |
checkNumFields(String str,
int... expected) |
|
static int |
checkNumFields(String str,
int expected1,
int expected2) |
|
static String |
concatOperandParts(String... inputs) |
Concat the input parts with the value type delimiter.
|
static String |
concatOperands(String... inputs) |
Concat the inputs as operands to generate the instruction string.
|
static String |
concatStrings(String... inputs) |
|
static String |
constructBinaryInstString(String instString,
String opcode,
CPOperand op1,
CPOperand op2,
CPOperand out) |
|
static String |
constructTernaryString(String instString,
CPOperand op1,
CPOperand op2,
CPOperand op3,
CPOperand out) |
|
static String |
constructUnaryInstString(String instString,
String opcode,
CPOperand op1,
CPOperand out) |
|
static String |
createLiteralOperand(String val,
Types.ValueType vt) |
|
static String |
createOperand(CPOperand operand) |
|
static Types.CorrectionLocationType |
deriveAggregateOperatorCorrectionLocation(String opcode) |
|
static String |
deriveAggregateOperatorOpcode(String opcode) |
|
static Types.Direction |
getAggDirection(String opcode) |
|
static Types.AggOp |
getAggOp(String opcode) |
|
static CPInstruction.CPType |
getCPType(String str) |
|
static CPInstruction.CPType |
getCPTypeByOpcode(String opcode) |
|
static Types.ExecType |
getExecType(String str) |
|
static FEDInstruction.FEDType |
getFEDType(String str) |
|
static GPUInstruction.GPUINSTRUCTION_TYPE |
getGPUType(String str) |
|
static String[] |
getInstructionParts(String str) |
Given an instruction string, strip-off the execution type and return
opcode and all input/output operands WITHOUT their data/value type.
|
static String[] |
getInstructionPartsWithValueType(String str) |
Given an instruction string, this function strips-off the
execution type (CP or SPARK) and returns the remaining parts,
which include the opcode as well as the input and output operands.
|
static AggregateBinaryOperator |
getMatMultOperator(int k) |
|
static String |
getOpCode(String str) |
|
static SPInstruction.SPType |
getSPType(String str) |
|
static SPInstruction.SPType |
getSPTypeByOpcode(String opcode) |
|
static String |
instructionStringFEDPrepare(String inst,
CPOperand varOldOut,
long id,
CPOperand[] varOldIn,
long[] varNewIn,
boolean rmFederatedOutput) |
Prepare instruction string for sending in a FederatedRequest as a CP instruction.
|
static boolean |
isBuiltinFunction(String opcode) |
|
static boolean |
isDistQuaternaryOpcode(String opcode) |
|
static boolean |
isUnaryMetadata(String opcode) |
|
static AggregateOperator |
parseAggregateOperator(String opcode,
String corrLoc) |
|
static AggregateTernaryOperator |
parseAggregateTernaryOperator(String opcode) |
|
static AggregateTernaryOperator |
parseAggregateTernaryOperator(String opcode,
int numThreads) |
|
static AggregateUnaryOperator |
parseAggregateUnaryRowIndexOperator(String opcode,
int numOutputs,
int numThreads) |
|
static AggregateUnaryOperator |
parseBasicAggregateUnaryOperator(String opcode) |
|
static AggregateUnaryOperator |
parseBasicAggregateUnaryOperator(String opcode,
int numThreads) |
Parse the given opcode into an aggregate unary operator.
|
static AggregateUnaryOperator |
parseBasicCumulativeAggregateUnaryOperator(UnaryOperator uop) |
|
static BinaryOperator |
parseBinaryOperator(String opcode) |
|
static MultiThreadedOperator |
parseBinaryOrBuiltinOperator(String opcode,
CPOperand in1,
CPOperand in2) |
|
static AggregateUnaryOperator |
parseCumulativeAggregateUnaryOperator(String opcode) |
|
static BinaryOperator |
parseExtendedBinaryOperator(String opcode) |
|
static Operator |
parseExtendedBinaryOrBuiltinOperator(String opcode,
CPOperand in1,
CPOperand in2) |
|
static Operator |
parseGroupedAggOperator(String fn,
String other) |
|
static ScalarOperator |
parseScalarBinaryOperator(String opcode,
boolean arg1IsScalar) |
scalar-matrix operator
|
static ScalarOperator |
parseScalarBinaryOperator(String opcode,
boolean arg1IsScalar,
double constant) |
scalar-matrix operator
|
static TernaryOperator |
parseTernaryOperator(String opcode) |
|
static TernaryOperator |
parseTernaryOperator(String opcode,
int numThreads) |
|
static UnaryOperator |
parseUnaryOperator(String opcode) |
|
static UnaryOperator |
parseUnaryOperator(String opcode,
int k) |
|
static String |
removeFEDOutputFlag(String linst) |
Removes federated output flag from the end of the instruction string if the flag is present.
|
static String |
removeOperand(String instStr,
int operand) |
|
static String |
replaceOperand(String instStr,
int operand,
String newValue) |
|
static String |
replaceOperandName(String instStr) |
|
static String |
stripThreadCount(String str) |
|