Class ReducedKeyValueErrorContext
java.lang.Object
com.couchbase.client.core.cnc.AbstractContext
com.couchbase.client.core.error.context.ErrorContext
com.couchbase.client.core.error.context.ReducedKeyValueErrorContext
- All Implemented Interfaces:
Context
@Uncommitted public class ReducedKeyValueErrorContext extends ErrorContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat -
Method Summary
Modifier and Type Method Description static ReducedKeyValueErrorContextcreate(String id)static ReducedKeyValueErrorContextcreate(String id, CollectionIdentifier collectionIdentifier)static ReducedKeyValueErrorContextcreate(String id, String bucket, String scope, String collection)voidinjectExportableParams(Map<String,Object> input)This method needs to be implemented by the actual context implementations to inject the params they need for exporting.Methods inherited from class com.couchbase.client.core.error.context.ErrorContext
responseStatusMethods inherited from class com.couchbase.client.core.cnc.AbstractContext
exportAsString, toString
-
Method Details
-
create
public static ReducedKeyValueErrorContext create(String id, CollectionIdentifier collectionIdentifier) -
create
public static ReducedKeyValueErrorContext create(String id, String bucket, String scope, String collection) -
create
-
injectExportableParams
Description copied from class:AbstractContextThis method needs to be implemented by the actual context implementations to inject the params they need for exporting.- Overrides:
injectExportableParamsin classErrorContext- Parameters:
input- pass exportable params in here.
-