com.opendatagroup.hadrian.jvmcompiler

PFAEngine

object PFAEngine

Companion object for Hadrian scoring engines: defines "static" methods.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PFAEngine
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def factoryFromAst(engineConfig: EngineConfig, options: Map[String, JsonNode] = Map[String, JsonNode](), version: String = defaultPFAVersion, sharedState: Option[SharedState] = None, parentClassLoader: Option[ClassLoader] = None, debug: Boolean = false): () ⇒ PFAEngine[AnyRef, AnyRef]

    Create a factory (0-parameter function) to make instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).

    Create a factory (0-parameter function) to make instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).

    This function is intended for use in Scala; see the other factoryFromAst if calling from Java.

    engineConfig

    a parsed, interpreted PFA document, i.e. produced by jsonToAst

    options

    options that override those found in the PFA document as a Scala Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass None to limit sharing to instances of a single PFA file

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass None for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a scala.Function0 with a 0-parameter apply method that generates linked instances of scoring engines from the PFA document

  11. def factoryFromAst(engineConfig: EngineConfig, options: Map[String, JsonNode], version: String, sharedState: SharedState, parentClassLoader: ClassLoader, debug: Boolean): () ⇒ PFAEngine[AnyRef, AnyRef]

    Create a factory (0-parameter function) to make instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).

    Create a factory (0-parameter function) to make instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).

    This is a Java convenience function, like the other factoryFromAst but accepting Java collections and null instead of None for missing parameters.

    engineConfig

    a parsed, interpreted PFA document, i.e. produced by jsonToAst

    options

    options that override those found in the PFA document as a Java Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass null to limit sharing to instances of a single PFA file

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass null for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a scala.Function0 with a 0-parameter apply method that generates linked instances of scoring engines from the PFA document

  12. def factoryFromJson(src: AnyRef, options: Map[String, JsonNode] = Map[String, JsonNode](), version: String = defaultPFAVersion, sharedState: Option[SharedState] = None, parentClassLoader: Option[ClassLoader] = None, debug: Boolean = false): () ⇒ PFAEngine[AnyRef, AnyRef]

    Create a factory (0-parameter function) to make instances of this scoring engine from a JSON-formatted PFA file.

    Create a factory (0-parameter function) to make instances of this scoring engine from a JSON-formatted PFA file.

    This function is intended for use in Scala; see the other factoryFromJson if calling from Java.

    src

    a PFA document in JSON-serialized form (String, java.lang.File, or java.lang.InputStream)

    options

    options that override those found in the PFA document as a Scala Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass None to limit sharing to instances of a single PFA file

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass None for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a scala.Function0 with a 0-parameter apply method that generates linked instances of scoring engines from the PFA document

  13. def factoryFromJson(src: AnyRef, options: Map[String, JsonNode], version: String, sharedState: SharedState, parentClassLoader: ClassLoader, debug: Boolean): () ⇒ PFAEngine[AnyRef, AnyRef]

    Create a factory (0-parameter function) to make instances of this scoring engine from a JSON-formatted PFA file.

    Create a factory (0-parameter function) to make instances of this scoring engine from a JSON-formatted PFA file.

    This is a Java convenience function, like the other factoryFromJson but accepting Java collections and null instead of None for missing parameters.

    src

    a PFA document in JSON-serialized form (String, java.lang.File, or java.lang.InputStream)

    options

    options that override those found in the PFA document as a Java Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass null to limit sharing to instances of a single PFA file

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass null for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a scala.Function0 with a 0-parameter apply method that generates linked instances of scoring engines from the PFA document

  14. def factoryFromYaml(src: String, options: Map[String, JsonNode] = Map[String, JsonNode](), version: String = defaultPFAVersion, sharedState: Option[SharedState] = None, parentClassLoader: Option[ClassLoader] = None, debug: Boolean = false): () ⇒ PFAEngine[AnyRef, AnyRef]

    Create a factory (0-parameter function) to make instances of this scoring engine from a YAML-formatted PFA file.

    Create a factory (0-parameter function) to make instances of this scoring engine from a YAML-formatted PFA file.

    This function is intended for use in Scala; see the other factoryFromYaml if calling from Java.

    src

    a PFA document in YAML-serialized form

    options

    options that override those found in the PFA document as a Scala Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass None to limit sharing to instances of a single PFA file

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass None for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a scala.Function0 with a 0-parameter apply method that generates linked instances of scoring engines from the PFA document

  15. def factoryFromYaml(src: String, options: Map[String, JsonNode], version: String, sharedState: SharedState, parentClassLoader: ClassLoader, debug: Boolean): () ⇒ PFAEngine[AnyRef, AnyRef]

    Create a factory (0-parameter function) to make instances of this scoring engine from a YAML-formatted PFA file.

    Create a factory (0-parameter function) to make instances of this scoring engine from a YAML-formatted PFA file.

    This is a Java convenience function, like the other factoryFromYaml but accepting Java collections and null instead of None for missing parameters.

    src

    a PFA document in YAML-serialized form

    options

    options that override those found in the PFA document as a Java Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass null to limit sharing to instances of a single PFA file

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass null for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a scala.Function0 with a 0-parameter apply method that generates linked instances of scoring engines from the PFA document

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fromAst(engineConfig: EngineConfig, options: Map[String, JsonNode] = Map[String, JsonNode](), version: String = defaultPFAVersion, sharedState: Option[SharedState] = None, multiplicity: Int = 1, parentClassLoader: Option[ClassLoader] = None, debug: Boolean = false): Seq[PFAEngine[AnyRef, AnyRef]]

    Create a collection of instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).

    Create a collection of instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).

    This function is intended for use in Scala; see the other fromAst if calling from Java.

    engineConfig

    a parsed, interpreted PFA document, i.e. produced by jsonToAst

    options

    options that override those found in the PFA document as a Scala Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass None to limit sharing to instances of a single PFA file

    multiplicity

    number of instances to return (default is 1; a single-item collection)

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass None for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a Scala Seq of scoring engine instances

  18. def fromAst(engineConfig: EngineConfig, options: Map[String, JsonNode], version: String, sharedState: SharedState, multiplicity: Int, parentClassLoader: ClassLoader, debug: Boolean): List[PFAEngine[AnyRef, AnyRef]]

    Create a collection of instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).

    Create a collection of instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).

    This is a Java convenience function, like the other fromAst but accepting Java collections and null instead of None for missing parameters.

    engineConfig

    a parsed, interpreted PFA document, i.e. produced by jsonToAst

    options

    options that override those found in the PFA document as a Java Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass null to limit sharing to instances of a single PFA file

    multiplicity

    number of instances to return

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass null for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a Java List of scoring engine instances

  19. def fromJson(src: AnyRef, options: Map[String, JsonNode] = Map[String, JsonNode](), version: String = defaultPFAVersion, sharedState: Option[SharedState] = None, multiplicity: Int = 1, parentClassLoader: Option[ClassLoader] = None, debug: Boolean = false): Seq[PFAEngine[AnyRef, AnyRef]]

    Create a collection of instances of this scoring engine from a JSON-formatted PFA file.

    Create a collection of instances of this scoring engine from a JSON-formatted PFA file.

    This function is intended for use in Scala; see the other fromJson if calling from Java.

    src

    a PFA document in JSON-serialized form (String, java.lang.File, or java.lang.InputStream)

    options

    options that override those found in the PFA document as a Scala Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass None to limit sharing to instances of a single PFA file

    multiplicity

    number of instances to return (default is 1; a single-item sequence)

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass None for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a Scala Seq of scoring engine instances

  20. def fromJson(src: AnyRef, options: Map[String, JsonNode], version: String, sharedState: SharedState, multiplicity: Int, parentClassLoader: ClassLoader, debug: Boolean): List[PFAEngine[AnyRef, AnyRef]]

    Create a collection of instances of this scoring engine from a JSON-formatted PFA file.

    Create a collection of instances of this scoring engine from a JSON-formatted PFA file.

    This is a Java convenience function, like the other fromAst but accepting Java collections and null instead of None for missing parameters.

    src

    a PFA document in JSON-serialized form (String, java.lang.File, or java.lang.InputStream)

    options

    options that override those found in the PFA document as a Java Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass null to limit sharing to instances of a single PFA file

    multiplicity

    number of instances to return

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass null for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a Java List of scoring engine instances

  21. def fromYaml(src: String, options: Map[String, JsonNode] = Map[String, JsonNode](), version: String = defaultPFAVersion, sharedState: Option[SharedState] = None, multiplicity: Int = 1, parentClassLoader: Option[ClassLoader] = None, debug: Boolean = false): Seq[PFAEngine[AnyRef, AnyRef]]

    Create a collection of instances of this scoring engine from a YAML-formatted PFA file.

    Create a collection of instances of this scoring engine from a YAML-formatted PFA file.

    This function is intended for use in Scala; see the other fromYaml if calling from Java.

    src

    a PFA document in YAML-serialized form

    options

    options that override those found in the PFA document as a Scala Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass None to limit sharing to instances of a single PFA file

    multiplicity

    number of instances to return (default is 1; a single-item collection)

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass None for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a Scala Seq of scoring engine instances

  22. def fromYaml(src: String, options: Map[String, JsonNode], version: String, sharedState: SharedState, multiplicity: Int, parentClassLoader: ClassLoader, debug: Boolean): List[PFAEngine[AnyRef, AnyRef]]

    Create a collection of instances of this scoring engine from a YAML-formatted PFA file.

    Create a collection of instances of this scoring engine from a YAML-formatted PFA file.

    This is a Java convenience function, like the other fromYaml but accepting Java collections and null instead of None for missing parameters.

    src

    a PFA document in YAML-serialized form

    options

    options that override those found in the PFA document as a Java Map of JsonNodes

    version

    PFA version number as a "major.minor.release" string

    sharedState

    external state for shared cells and pools to initialize from and modify; pass null to limit sharing to instances of a single PFA file

    multiplicity

    number of instances to return

    parentClassLoader

    ClassLoader to link the new scoring engine's private ClassLoaders under; pass null for a reasonable default

    debug

    if true, print the Java code generated by this PFA document before byte-compiling

    returns

    a Java List of scoring engine instances

  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped