Learn R Programming

bdpar (version 1.0.1)

PipeGeneric: Abstract super classs that handles the management of the Pipes

Description

Provides the required methods to succesfully handle each PipeGeneric class.

Usage

PipeGeneric

Arguments

Constructor

PipeGeneric$new(propertyName,
                alwaysBeforeDeps,
                notAfterDeps)
  • Arguments:

    • propertyName: (character) name of the property associated with the Pipe.

    • alwaysBeforeDeps: (list) the dependences alwaysBefore (Pipes that must be executed before this one).

    • notAfterDeps: (list) the dependences notAfter (Pipes that cannot be executed after this one).

Methods

  • pipe: abstract method to preprocess the Instance.

    • Usage: pipe(instance)

    • Arguments:

      • instance: (Instance) Instance to preprocess.

  • getPropertyName: gets of name of property.

    • Usage: getPropertyName()

    • Value: value of name of property.

  • getAlwaysBeforeDeps: gets of the dependences always before.

    • Usage: getAlwaysBeforeDeps()

    • Value: Value of dependences always before.

  • getNotAfterDeps: gets of the dependences not after.

    • Usage: getNotAfterDeps()

    • Value: value of dependences not after.

  • setPropertyName: changes the value of property's name.

    • Usage: setPropertyName(propertyName)

    • Arguments:

      • propertyName: (character) the new value of the property's name.

  • setAlwaysBeforeDeps: changes the value of dependencies always before.

    • Usage: setAlwaysBeforeDeps(alwaysBeforeDeps)

    • Arguments:

      • alwaysBeforeDeps: (list) the new value of the dependencies always before.

  • setNotAfterDeps: changes the value of dependencies not after.

    • Usage: setNotAfterDeps(notAfterDeps)

    • Arguments:

      • notAfterDeps: (list) the new value of the dependencies not after.

Private fields

  • propertyName: (character) the name of property.

  • alwaysBeforeDeps: (list) dependencies of the type alwaysBefore. These dependences indicate what Pipes must be executed before the current one.

  • notAfterDeps: (list) dependencies of the type notAfter. These dependences indicate what Pipes must not be executed after the current one.

See Also

AbbreviationPipe, ContractionPipe, File2Pipe, FindEmojiPipe, FindEmoticonPipe, FindHashtagPipe, FindUrlPipe, FindUserNamePipe, GuessDatePipe, GuessLanguagePipe, Instance, InterjectionPipe, MeasureLengthPipe, ResourceHandler, SlangPipe, StopWordPipe, StoreFileExtPipe, TargetAssigningPipe, TeeCSVPipe, ToLowerCasePipe