Package

com.salesforce.op.cli

gen

Permalink

package gen

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AvroField extends AnyRef

    Permalink

    Represents a field in an Avro record.

    Represents a field in an Avro record. Can be nullable.

  2. case class FeatureListTemplate(whats: Seq[String]) extends TemplateBase with Product with Serializable

    Permalink
  3. abstract class FeatureTemplate extends OPRawFeature with TemplateBase

    Permalink
  4. class FileGenerator extends AnyRef

    Permalink

    Encapsulates the rendering of the directives in a file (see cli/README.md for more on how this works).

    Encapsulates the rendering of the directives in a file (see cli/README.md for more on how this works).

    The render method produces a FileInProject with the final source of the file to be created in the template.

  5. case class FileInProject(path: String, source: FileSource, perms: FilePermissions = FilePermissions()) extends Product with Serializable

    Permalink

    Represents a file that should be created in the new project.

    Represents a file that should be created in the new project.

    path

    The path of the new file to be created, relative to the root of the project

    source

    The source of the new file, either as a stored string or streaming

    perms

    The permissions of the file to be created

  6. case class FilePermissions(perms: Set[PosixFilePermission] = FilePermissions.defaultPerms) extends Product with Serializable

    Permalink

    Represents the permissions that a new file should have.

    Represents the permissions that a new file should have.

    perms

    The permissions as a Java-compatible set

  7. sealed trait FileSource extends AnyRef

    Permalink

    Represents the "source" of a file that should be created in the new project.

    Represents the "source" of a file that should be created in the new project. This can be an InputStream (usually to stream straight from the CLI jar), or a String (usually from a rendered template).

  8. case class MakeRawFeature(ops: Ops) extends Product with Serializable

    Permalink
  9. sealed trait OPRawFeature extends AnyRef

    Permalink

    Represents a raw feature inferred from avro schema.

    Represents a raw feature inferred from avro schema. This is primarily used for the buildString method, which codegens a FeatureBuilder.

  10. case class Ops(config: GeneratorConfig) extends Product with Serializable

    Permalink

    Does various external-related tasks

    Does various external-related tasks

    config

    The GeneratorConfig representing a command to generate a project

  11. sealed trait ProblemKind extends AnyRef

    Permalink

    Represents one of the three kinds of machine learning problems.

  12. case class ProblemSchema(kind: ProblemKind, responseFeature: OPRawFeature, idField: AvroField, features: List[OPRawFeature], schemaName: String, schemaFullName: String, theReader: String) extends Product with Serializable

    Permalink

    Represents a machine learning problem.

    Represents a machine learning problem. The CLI infers what the problem is by looking at schema and data.

    kind

    What kind of problem is it? Regression, binary classification, multiclassification? A ProblemKind

    responseFeature

    A description for the response feature as an OPRawFeature

    idField

    The avro field representing object IDs

    features

    A list of feature descriptions as an OPRawFeature, excluding the id field

    schemaName

    The class name of the schema

    schemaFullName

    The full name of the schema, including the package (used for generating import statements)

  13. case class ProblemTemplate(kind: ProblemKind) extends TemplateBase with Product with Serializable

    Permalink
  14. trait ProjectGenerator extends AnyRef

    Permalink
  15. trait TemplateBase extends AnyRef

    Permalink
  16. trait UserIO extends AnyRef

    Permalink

Value Members

  1. object AvroField

    Permalink

    Operations with AvroFields

  2. object FilePermissions extends Serializable

    Permalink
  3. object FileSource

    Permalink
  4. object Ops extends UserIO with Serializable

    Permalink
  5. object ProblemKind

    Permalink
  6. object ProblemSchema extends Serializable

    Permalink
  7. object ProjectGenerator

    Permalink
  8. package templates

    Permalink

Ungrouped