Class Model<ModelType extends Model<ModelType>>

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Direct Known Subclasses:
    DeepWalkModel, EdgeWiseModel, GraphWiseModel, Pg2vecModel

    public abstract class Model<ModelType extends Model<ModelType>>
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Detail

      • Model

        public Model​(PgxSession session,
                     oracle.pgx.api.internal.Core core,
                     java.util.function.Supplier<java.lang.String> keystorePathSupplier,
                     java.util.function.Supplier<char[]> keystorePasswordSupplier)
    • Method Detail

      • destroyAsync

        public abstract PgxFuture<java.lang.Void> destroyAsync()
        Requests destruction of this object. After this method returns, the behavior of any method of this class becomes undefined.
        Returns:
        a future which will be completed once the destruction request finishes.
      • close

        public void close()
        Calls destroyAsync() and wait for completion.
        Specified by:
        close in interface java.lang.AutoCloseable