Interface TableOperations<K,V>
- All Known Implementing Classes:
BaseTableOperations
public interface TableOperations<K,V>
- Author:
- William Burns
-
Method Summary
Modifier and TypeMethodDescriptionvoidbatchUpdates(Connection connection, int writePublisherCount, org.reactivestreams.Publisher<Object> removePublisher, org.reactivestreams.Publisher<org.infinispan.persistence.spi.NonBlockingStore.SegmentedPublisher<org.infinispan.persistence.spi.MarshallableEntry<K, V>>> writePublisher) voiddeleteAllRows(Connection connection) booleandeleteEntry(Connection connection, int segment, Object key) loadEntry(Connection connection, int segment, Object key) publishEntries(Supplier<Connection> connectionSupplier, Consumer<Connection> connectionCloser, org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter, boolean fetchValue) default io.reactivex.rxjava3.core.Flowable<K>publishKeys(Supplier<Connection> connectionSupplier, Consumer<Connection> connectionCloser, org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter) longsize(Connection connection) voidupsertEntry(Connection connection, int segment, org.infinispan.persistence.spi.MarshallableEntry<? extends K, ? extends V> entry)
-
Method Details
-
loadEntry
org.infinispan.persistence.spi.MarshallableEntry<K,V> loadEntry(Connection connection, int segment, Object key) throws SQLException - Throws:
SQLException
-
publishKeys
default io.reactivex.rxjava3.core.Flowable<K> publishKeys(Supplier<Connection> connectionSupplier, Consumer<Connection> connectionCloser, org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter) -
publishEntries
io.reactivex.rxjava3.core.Flowable<org.infinispan.persistence.spi.MarshallableEntry<K,V>> publishEntries(Supplier<Connection> connectionSupplier, Consumer<Connection> connectionCloser, org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter, boolean fetchValue) -
deleteEntry
- Throws:
SQLException
-
deleteAllRows
- Throws:
SQLException
-
upsertEntry
void upsertEntry(Connection connection, int segment, org.infinispan.persistence.spi.MarshallableEntry<? extends K, ? extends V> entry) throws SQLException- Throws:
SQLException
-
size
- Throws:
SQLException
-
batchUpdates
void batchUpdates(Connection connection, int writePublisherCount, org.reactivestreams.Publisher<Object> removePublisher, org.reactivestreams.Publisher<org.infinispan.persistence.spi.NonBlockingStore.SegmentedPublisher<org.infinispan.persistence.spi.MarshallableEntry<K, V>>> writePublisher) throws SQLException- Throws:
SQLException
-