public interface BigQueryStorageReadRowsTracer extends Serializable
com.google.api.gax.tracing.ApiTracer
A single instance of a tracer corresponds with a single logical stream from the service.
Paired start/end methods are expected to be called from the same thread.
For internal use only.
| Modifier and Type | Method and Description |
|---|---|
void |
finished()
The ReadRows stream has finished.
|
BigQueryStorageReadRowsTracer |
forkWithPrefix(String id)
Must only be called before any calls are made to the tracer.
|
long |
getBytesRead() |
long |
getParseTimeInMilliSec() |
long |
getRowsRead() |
long |
getScanTimeInMilliSec() |
long |
getTimeInSparkInMilliSec() |
void |
nextBatchNeeded()
Called when the next batch is needed from spark.
|
void |
readRowsResponseObtained(long bytesReceived)
Indicates the next ReadRowsResponse was requested from the server.
|
void |
readRowsResponseRequested()
Indicates the next ReadRowsResponse was requested from the server.
|
void |
rowsParseFinished(long rowsParsed)
Indicates when a decoded item was delivered.
|
void |
rowsParseStarted()
Indicates a fully decoded element has been requested by spark (i.e.
|
void |
startStream()
Record stream initialization time.
|
void startStream()
void rowsParseStarted()
void rowsParseFinished(long rowsParsed)
void readRowsResponseRequested()
void readRowsResponseObtained(long bytesReceived)
void finished()
void nextBatchNeeded()
BigQueryStorageReadRowsTracer forkWithPrefix(String id)
id - A distinguisher to use.long getBytesRead()
long getRowsRead()
long getScanTimeInMilliSec()
long getParseTimeInMilliSec()
long getTimeInSparkInMilliSec()
Copyright © 2024. All rights reserved.