Class DumpCat.BatchNumValidator

java.lang.Object
org.apache.drill.exec.client.DumpCat.BatchNumValidator
All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
Enclosing class:
DumpCat

public static class DumpCat.BatchNumValidator extends Object implements com.beust.jcommander.IParameterValidator
Used to ensure the param "batch" is a non-negative number.
  • Constructor Details

    • BatchNumValidator

      public BatchNumValidator()
  • Method Details

    • validate

      public void validate(String name, String value) throws com.beust.jcommander.ParameterException
      Specified by:
      validate in interface com.beust.jcommander.IParameterValidator
      Throws:
      com.beust.jcommander.ParameterException