Class ClassicCoreQueryMetaData
java.lang.Object
com.couchbase.client.core.api.query.CoreQueryMetaData
com.couchbase.client.core.classic.query.ClassicCoreQueryMetaData
-
Constructor Summary
ConstructorDescriptionClassicCoreQueryMetaData
(QueryChunkHeader header, QueryChunkTrailer trailer) -
Method Summary
Modifier and TypeMethodDescriptionReturns the client context identifier string set on the query request.static ClassicCoreQueryMetaData
from
(QueryChunkHeader header, QueryChunkTrailer trailer) metrics()
Returns theCoreQueryMetrics
as returned by the query engine if enabled.Optional<byte[]>
profile()
Returns the profiling information.Returns the request identifier string of the query requestOptional<byte[]>
Returns the signature.status()
Returns the raw query execution status as returned by the query enginetoString()
warnings()
Returns any warnings returned by the query engine.
-
Constructor Details
-
ClassicCoreQueryMetaData
-
-
Method Details
-
from
@Internal public static ClassicCoreQueryMetaData from(QueryChunkHeader header, QueryChunkTrailer trailer) -
requestId
Description copied from class:CoreQueryMetaData
Returns the request identifier string of the query request- Specified by:
requestId
in classCoreQueryMetaData
-
clientContextId
Description copied from class:CoreQueryMetaData
Returns the client context identifier string set on the query request.- Specified by:
clientContextId
in classCoreQueryMetaData
-
status
Description copied from class:CoreQueryMetaData
Returns the raw query execution status as returned by the query engine- Specified by:
status
in classCoreQueryMetaData
-
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
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
Description copied from class:CoreQueryMetaData
Returns theCoreQueryMetrics
as returned by the query engine if enabled.- Specified by:
metrics
in classCoreQueryMetaData
-
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
-
toString
-