Read-only snapshot of a channel's status.
More...
#include <snowflake/ingest/streaming/channel_status.h>
|
|
std::string | database_name |
| | Database that owns the pipe.
|
|
std::string | schema_name |
| | Schema that owns the pipe.
|
|
std::string | pipe_name |
| | Pipe name.
|
|
std::string | channel_name |
| | Channel name.
|
|
std::string | status_code |
| | Raw status code string, e.g. OK.
|
|
std::optional<std::string> | latest_committed_offset_token |
| | Latest committed offset token on the server, or std::nullopt if nothing has committed yet.
|
|
std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds> | created_on |
| | Channel creation time (Unix milliseconds as a system_clock time_point).
|
|
int64_t | rows_inserted_count = 0 |
| | Rows committed into the table for this channel.
|
|
int64_t | rows_parsed_count = 0 |
| | Rows parsed for this channel.
|
|
int64_t | rows_error_count = 0 |
| | Rows that failed for this channel.
|
|
std::optional<std::string> | last_error_offset_token_upper_bound |
| | Upper bound of the offset token range of the last error, or std::nullopt if there is no error.
|
|
std::optional<std::string> | last_error_message |
| | Last error message, or std::nullopt if there is no error.
|
|
std::optional<std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds>> | last_error_timestamp |
| | Timestamp of the last error, or std::nullopt if there is no error.
|
|
std::optional<std::chrono::milliseconds> | snowflake_avg_processing_latency |
| | Snowflake average processing latency in milliseconds for this channel, or std::nullopt if not available.
|
|
std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds> | last_refreshed_on |
| | Time this status snapshot was last refreshed.
|
|
|
class | StreamingIngestChannel |
|
class | StreamingIngestClient |
|
class | StreamingIngestElasticChannel |
Read-only snapshot of a channel's status.