Uses of Interface
st.orm.BatchCallback

Packages that use BatchCallback
Package
Description
 
 
  • Uses of BatchCallback in st.orm.repository

    Methods in st.orm.repository with parameters of type BatchCallback
    Modifier and Type
    Method
    Description
    void
    EntityRepository.insertAndFetch(Stream<E> entities, int batchSize, BatchCallback<E> callback)
    Inserts a stream of entities into the database with the insertion process divided into batches of the specified size, and returns a stream of the inserted entities.
    void
    EntityRepository.insertAndFetch(Stream<E> entities, BatchCallback<E> callback)
    Inserts a stream of entities into the database using the default batch size and returns a stream of the inserted entities.
    void
    EntityRepository.insertAndFetchIds(Stream<E> entities, int batchSize, BatchCallback<ID> callback)
    Inserts a stream of entities into the database with the insertion process divided into batches of the specified size, and returns a stream of their generated primary keys.
    void
    EntityRepository.insertAndFetchIds(Stream<E> entities, BatchCallback<ID> callback)
    Inserts a stream of entities into the database using the default batch size and returns a stream of their generated primary keys.
    void
    EntityRepository.updateAndFetch(Stream<E> entities, int batchSize, BatchCallback<E> callback)
    Updates a stream of entities in the database, with the update process divided into batches of the specified size, and returns a stream of the updated entities.
    void
    EntityRepository.updateAndFetch(Stream<E> entities, BatchCallback<E> callback)
    Updates a stream of entities in the database using the default batch size and returns a stream of the updated entities.
    void
    EntityRepository.upsertAndFetch(Stream<E> entities, int batchSize, BatchCallback<E> callback)
    Inserts or updates a stream of entities in the database in configurable batch sizes and retrieves the updated entities through a callback.
    void
    EntityRepository.upsertAndFetch(Stream<E> entities, BatchCallback<E> callback)
    Inserts or updates a stream of entities in the database in batches and retrieves the updated entities through a callback.
    void
    EntityRepository.upsertAndFetchIds(Stream<E> entities, int batchSize, BatchCallback<ID> callback)
    Inserts or updates a stream of entities in the database in configurable batch sizes and retrieves their IDs through a callback.
    void
    EntityRepository.upsertAndFetchIds(Stream<E> entities, BatchCallback<ID> callback)
    Inserts or updates a stream of entities in the database in batches and retrieves their IDs through a callback.
  • Uses of BatchCallback in st.orm.spi

    Methods in st.orm.spi with parameters of type BatchCallback
    Modifier and Type
    Method
    Description
    void
    EntityRepositoryImpl.insertAndFetch(Stream<E> entities, int batchSize, BatchCallback<E> callback)
    Inserts a stream of entities into the database with the insertion process divided into batches of the specified size, and returns a stream of the inserted entities.
    void
    EntityRepositoryImpl.insertAndFetch(Stream<E> entities, BatchCallback<E> callback)
    Inserts a stream of entities into the database using the default batch size and returns a stream of the inserted entities.
    void
    EntityRepositoryImpl.insertAndFetchIds(Stream<E> entities, int batchSize, BatchCallback<ID> callback)
    Inserts a stream of entities into the database with the insertion process divided into batches of the specified size, and returns a stream of their generated primary keys.
    void
    EntityRepositoryImpl.insertAndFetchIds(Stream<E> entities, BatchCallback<ID> callback)
    Inserts a stream of entities into the database using the default batch size and returns a stream of their generated primary keys.
    protected void
    EntityRepositoryImpl.updateAndFetch(List<E> batch, Supplier<PreparedQuery> query, BatchCallback<E> callback)
     
    void
    EntityRepositoryImpl.updateAndFetch(Stream<E> entities, int batchSize, BatchCallback<E> callback)
    Updates a stream of entities in the database, with the update process divided into batches of the specified size, and returns a stream of the updated entities.
    void
    EntityRepositoryImpl.updateAndFetch(Stream<E> entities, BatchCallback<E> callback)
    Updates a stream of entities in the database using the default batch size and returns a stream of the updated entities.
    protected void
    EntityRepositoryImpl.updateAndFetchIds(List<E> batch, Supplier<PreparedQuery> querySupplier, BatchCallback<ID> callback)
     
    void
    EntityRepositoryImpl.upsertAndFetch(Stream<E> entities, int batchSize, BatchCallback<E> callback)
    Inserts or updates a stream of entities in the database in configurable batch sizes and retrieves the updated entities through a callback.
    void
    EntityRepositoryImpl.upsertAndFetch(Stream<E> entities, BatchCallback<E> callback)
    Inserts or updates a stream of entities in the database in batches and retrieves the updated entities through a callback.
    void
    EntityRepositoryImpl.upsertAndFetchIds(Stream<E> entities, int batchSize, BatchCallback<ID> callback)
    Inserts or updates a stream of entities in the database in configurable batch sizes and retrieves their IDs through a callback.
    void
    EntityRepositoryImpl.upsertAndFetchIds(Stream<E> entities, BatchCallback<ID> callback)
    Inserts or updates a stream of entities in the database in batches and retrieves their IDs through a callback.