Package

ai.deepsense.deeplang.params

validators

Permalink

package validators

Visibility
  1. Public
  2. All

Type Members

  1. class AcceptAllRegexValidator extends RegexValidator

    Permalink

    Validator which accepts all strings.

  2. case class ArrayLengthValidator(min: Int = 1, max: Int = Int.MaxValue) extends Validator[Array[Double]] with Product with Serializable

    Permalink
  3. trait ColumnNameStringValidator extends RegexValidatorLike

    Permalink

    Validator which accepts a string that can be or be part of proper column name.

    Validator which accepts a string that can be or be part of proper column name. Column name cannot be empty and must be without backticks. Column with a backtick character fails in some operations (e.g. Convert Type).

  4. case class ComplexArrayValidator(rangeValidator: RangeValidator = RangeValidator.all, lengthValidator: ArrayLengthValidator = ArrayLengthValidator.withAtLeast(1)) extends Validator[Array[Double]] with Product with Serializable

    Permalink
  5. case class RangeValidator(begin: Double, end: Double, beginIncluded: Boolean = true, endIncluded: Boolean = true, step: Option[Double] = None) extends Validator[Double] with Product with Serializable

    Permalink

    Validates if NumericParameter value is within range bounds.

  6. case class RegexValidator(regex: Regex) extends RegexValidatorLike with Product with Serializable

    Permalink

    Validates if StringParameter value matches the given regex.

  7. trait RegexValidatorLike extends Validator[String]

    Permalink
  8. class SingleCharRegexValidator extends RegexValidator

    Permalink

    Validator which accepts a single character.

  9. trait Validator[ParameterType] extends Serializable

    Permalink

    Represents anything that validates parameter.

    Represents anything that validates parameter.

    Annotations
    @SerialVersionUID()

Value Members

  1. object ArrayLengthValidator extends Serializable

    Permalink
  2. object ColumnNameValidator extends ColumnNameStringValidator

    Permalink
  3. object ColumnPrefixNameValidator extends ColumnNameStringValidator

    Permalink
  4. object ComplexArrayValidator extends Serializable

    Permalink
  5. object RangeValidator extends Serializable

    Permalink
  6. object ValidatorType extends Enumeration

    Permalink
  7. object ValidatorsJsonProtocol extends DefaultJsonProtocol

    Permalink

Ungrouped