Class EnhancedPreparedStatementStrategy
- java.lang.Object
-
- com.couchbase.client.core.msg.query.PreparedStatementStrategy
-
- com.couchbase.client.core.msg.query.EnhancedPreparedStatementStrategy
-
@Internal public class EnhancedPreparedStatementStrategy extends PreparedStatementStrategy
Server remembers query plan; client sends just the prepared statement name. Client can prepare + execute with a single command.
-
-
Field Summary
-
Fields inherited from class com.couchbase.client.core.msg.query.PreparedStatementStrategy
cache
-
-
Constructor Summary
Constructors Constructor Description EnhancedPreparedStatementStrategy(Core core, int cacheSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mono<QueryResponse>
execute(QueryRequest request)
-
Methods inherited from class com.couchbase.client.core.msg.query.PreparedStatementStrategy
evict, executeAdhoc, executeAlreadyPrepared, requestTracer
-
-
-
-
Constructor Detail
-
EnhancedPreparedStatementStrategy
public EnhancedPreparedStatementStrategy(Core core, int cacheSize)
-
-
Method Detail
-
execute
public Mono<QueryResponse> execute(QueryRequest request)
- Specified by:
execute
in classPreparedStatementStrategy
-
-