org.apache.ignite.ml

## Class FileExporter<D>

- java.lang.Object
- - org.apache.ignite.ml.FileExporter<D>

- All Implemented Interfaces:
    Exporter<D,String>

      public class FileExporter<D>
      extends Object
      implements Exporter<D,String>

  Implementation of exporter to/from file. Default implementation of `Exporter`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FileExporter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `D` | `load(String path)` Load model representation object from p.
    `void` | `save(D d, String path)` Save model by path p
    `void` | `setLog(IgniteLogger log)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FileExporter

          public FileExporter()

  - ### Method Detail

    - #### setLog

          public void setLog(IgniteLogger log)

      Parameters:
        `log` - Logger.

    - #### save

          public void save(D d,
                           String path)

      Save model by path p
      Specified by:
        `save` in interface `Exporter<D,String>`
      Parameters:
        `d` - Model representation object.
        `path` - Path to resource.

    - #### load

          public D load(String path)

      Load model representation object from p.
      Specified by:
        `load` in interface `Exporter<D,String>`
      Parameters:
        `path` - Path to resource.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020