Class FileModelStorer<ModelType extends Model<ModelType>>


  • public class FileModelStorer<ModelType extends Model<ModelType>>
    extends ModelStorer<ModelType,​FileModelStorer<ModelType>>
    A model storer for files
    Since:
    21.1
    • Constructor Detail

      • FileModelStorer

        public FileModelStorer​(PgxSession session,
                               oracle.pgx.api.internal.Core core,
                               ModelType model)
    • Method Detail

      • path

        public FileModelStorer<ModelType> path​(java.lang.String path)
        Configures the path where to store the model file
        Parameters:
        path - the path to the model file
        Returns:
        this instance
        Since:
        21.1
      • key

        public FileModelStorer<ModelType> key​(java.lang.String key)
        Configures the encryption key of the model file. If not null, the model file will be encrypted with the specified key
        Parameters:
        key - the encryption key
        Returns:
        this instance
        Since:
        21.1