예제 #1
0
 public String getMethodDescription() {
   if (methodType != PARTITIONING_METHOD_SPECIAL) {
     return methodDescriptions[methodType];
   } else {
     return partitioner.getDescription();
   }
 }
예제 #2
0
  @Override
  public String toString() {

    String description;

    if (partitioner != null) {
      description = partitioner.getDescription();
    } else {
      description = getMethodDescription();
    }
    if (partitionSchema != null) {
      description += " / " + partitionSchema.toString();
    }

    return description;
  }