예제 #1
0
 public StepPartitioningMeta(Node partitioningMethodNode) throws KettleXMLException {
   this();
   setMethod(getMethod(XMLHandler.getTagValue(partitioningMethodNode, "method")));
   partitionSchemaName = XMLHandler.getTagValue(partitioningMethodNode, "schema_name");
   hasChanged = false;
   if (partitioner != null) {
     partitioner.loadXML(partitioningMethodNode);
   }
   if (methodType != PARTITIONING_METHOD_NONE && Const.isEmpty(partitionSchemaName)) {
     throw new RuntimeException("bohoo!");
   }
 }