Class LegacyPreparedStatementStrategy
- java.lang.Object
-
- com.couchbase.client.core.classic.query.PreparedStatementStrategy
-
- com.couchbase.client.core.classic.query.LegacyPreparedStatementStrategy
-
@Internal public class LegacyPreparedStatementStrategy extends PreparedStatementStrategy
Client remembers query plan and sends it on every request. Prepare and execute are separate commands.
-
-
Field Summary
-
Fields inherited from class com.couchbase.client.core.classic.query.PreparedStatementStrategy
cache
-
-
Constructor Summary
Constructors Constructor Description LegacyPreparedStatementStrategy(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.classic.query.PreparedStatementStrategy
evict, executeAdhoc, executeAlreadyPrepared, requestTracer
-
-
-
-
Constructor Detail
-
LegacyPreparedStatementStrategy
public LegacyPreparedStatementStrategy(Core core, int cacheSize)
-
-
Method Detail
-
execute
public Mono<QueryResponse> execute(QueryRequest request)
- Specified by:
execute
in classPreparedStatementStrategy
-
-