Class BaseTableOperations<K,V> 
java.lang.Object
org.infinispan.persistence.jdbc.common.sql.BaseTableOperations<K,V> 
- All Implemented Interfaces:
- TableOperations<K,- V> 
- Direct Known Subclasses:
- AbstractSchemaJdbcStore.SchemaTableOperations
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classprotected class
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbatchUpdates(Connection connection, int writePublisherCount, org.reactivestreams.Publisher<Object> removePublisher, org.reactivestreams.Publisher<NonBlockingStore.SegmentedPublisher<MarshallableEntry<K, V>>> writePublisher) voiddeleteAllRows(Connection connection) booleandeleteEntry(Connection connection, int segment, Object key) protected abstract MarshallableEntry<K, V> entryFromResultSet(ResultSet rs, Object keyIfProvided, boolean fetchValue, Predicate<? super K> keyPredicate) abstract Stringabstract Stringabstract StringgetSelectAllSql(IntSet segments) abstract Stringabstract Stringabstract StringloadEntry(Connection connection, int segment, Object key) protected abstract voidprepareKeyStatement(PreparedStatement ps, Object key) protected voidpreparePublishStatement(PreparedStatement ps, IntSet segments) protected voidprotected abstract voidprepareValueStatement(PreparedStatement ps, int segment, MarshallableEntry<? extends K, ? extends V> entry) io.reactivex.rxjava3.core.Flowable<MarshallableEntry<K, V>> publishEntries(Supplier<Connection> connectionSupplier, Consumer<Connection> connectionCloser, IntSet segments, Predicate<? super K> filter, boolean fetchValue) longsize(Connection connection) voidupsertEntry(Connection connection, int segment, MarshallableEntry<? extends K, ? extends V> entry) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.persistence.jdbc.common.TableOperationspublishKeys
- 
Field Details- 
configuration
 
- 
- 
Constructor Details- 
BaseTableOperations
 
- 
- 
Method Details- 
getSelectRowSql
- 
getSelectAllSql
- 
getDeleteRowSql
- 
getDeleteAllSql
- 
getUpsertRowSql
- 
getSizeSql
- 
entryFromResultSetprotected abstract MarshallableEntry<K,V> entryFromResultSet(ResultSet rs, Object keyIfProvided, boolean fetchValue, Predicate<? super K> keyPredicate) throws SQLException - Throws:
- SQLException
 
- 
prepareKeyStatement- Throws:
- SQLException
 
- 
prepareValueStatementprotected abstract void prepareValueStatement(PreparedStatement ps, int segment, MarshallableEntry<? extends K, ? extends V> entry) throws SQLException- Throws:
- SQLException
 
- 
prepareSizeStatement- Throws:
- SQLException
 
- 
preparePublishStatement- Throws:
- SQLException
 
- 
loadEntrypublic MarshallableEntry<K,V> loadEntry(Connection connection, int segment, Object key) throws SQLException - Specified by:
- loadEntryin interface- TableOperations<K,- V> 
- Throws:
- SQLException
 
- 
deleteEntry- Specified by:
- deleteEntryin interface- TableOperations<K,- V> 
- Throws:
- SQLException
 
- 
deleteAllRows- Specified by:
- deleteAllRowsin interface- TableOperations<K,- V> 
- Throws:
- SQLException
 
- 
upsertEntrypublic void upsertEntry(Connection connection, int segment, MarshallableEntry<? extends K, ? extends V> entry) throws SQLException- Specified by:
- upsertEntryin interface- TableOperations<K,- V> 
- Throws:
- SQLException
 
- 
size- Specified by:
- sizein interface- TableOperations<K,- V> 
- Throws:
- SQLException
 
- 
batchUpdatespublic void batchUpdates(Connection connection, int writePublisherCount, org.reactivestreams.Publisher<Object> removePublisher, org.reactivestreams.Publisher<NonBlockingStore.SegmentedPublisher<MarshallableEntry<K, V>>> writePublisher) throws SQLException- Specified by:
- batchUpdatesin interface- TableOperations<K,- V> 
- Throws:
- SQLException
 
- 
publishEntriespublic io.reactivex.rxjava3.core.Flowable<MarshallableEntry<K,V>> publishEntries(Supplier<Connection> connectionSupplier, Consumer<Connection> connectionCloser, IntSet segments, Predicate<? super K> filter, boolean fetchValue) - Specified by:
- publishEntriesin interface- TableOperations<K,- V> 
 
 
-