public String getMethodCode() { if (methodType == PARTITIONING_METHOD_SPECIAL) { if (partitioner != null) { return partitioner.getId(); } else { return methodCodes[PARTITIONING_METHOD_NONE]; } } return methodCodes[methodType]; }