Class ProtostellarCoreQueryMetaData
- java.lang.Object
-
- com.couchbase.client.core.api.query.CoreQueryMetaData
-
- com.couchbase.client.core.protostellar.query.ProtostellarCoreQueryMetaData
-
@Internal public class ProtostellarCoreQueryMetaData extends CoreQueryMetaData
-
-
Constructor Summary
Constructors Constructor Description ProtostellarCoreQueryMetaData(com.couchbase.client.protostellar.query.v1.QueryResponse.MetaData metaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clientContextId()
Returns the client context identifier string set on the query request.Optional<CoreQueryMetrics>
metrics()
Returns theCoreQueryMetrics
as returned by the query engine if enabled.Optional<byte[]>
profile()
Returns the profiling information.String
requestId()
Returns the request identifier string of the query requestOptional<byte[]>
signature()
Returns the signature.CoreQueryStatus
status()
Returns the raw query execution status as returned by the query engineList<CoreQueryWarning>
warnings()
Returns any warnings returned by the query engine.
-
-
-
Method Detail
-
requestId
public String requestId()
Description copied from class:CoreQueryMetaData
Returns the request identifier string of the query request- Specified by:
requestId
in classCoreQueryMetaData
-
clientContextId
public String clientContextId()
Description copied from class:CoreQueryMetaData
Returns the client context identifier string set on the query request.- Specified by:
clientContextId
in classCoreQueryMetaData
-
status
public CoreQueryStatus status()
Description copied from class:CoreQueryMetaData
Returns the raw query execution status as returned by the query engine- Specified by:
status
in classCoreQueryMetaData
-
signature
public Optional<byte[]> signature()
Description copied from class:CoreQueryMetaData
Returns the signature.It is returned as an Optional which will be empty if no signature information is available.
- Specified by:
signature
in classCoreQueryMetaData
-
profile
public Optional<byte[]> profile()
Description copied from class:CoreQueryMetaData
Returns the profiling information.It is returned as an Optional which will be empty if no profile information is available.
- Specified by:
profile
in classCoreQueryMetaData
-
metrics
public Optional<CoreQueryMetrics> metrics()
Description copied from class:CoreQueryMetaData
Returns theCoreQueryMetrics
as returned by the query engine if enabled.- Specified by:
metrics
in classCoreQueryMetaData
-
warnings
public List<CoreQueryWarning> warnings()
Description copied from class:CoreQueryMetaData
Returns any warnings returned by the query engine.It is returned as an Optional which will be empty if no warnings were returned
- Specified by:
warnings
in classCoreQueryMetaData
-
-