feat: TimescaleDB detection + get_hypertables command with graceful unavailable state (Task 4)
This commit is contained in:
@@ -132,6 +132,23 @@ pub struct ExtensionInfo {
|
||||
pub comment: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct HypertableInfo {
|
||||
pub name: String,
|
||||
pub schema: String,
|
||||
pub num_dimensions: i64,
|
||||
pub compression_enabled: bool,
|
||||
pub num_chunks: i64,
|
||||
pub total_size_bytes: Option<i64>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct HypertableListResponse {
|
||||
pub available: bool,
|
||||
pub reason: Option<String>,
|
||||
pub items: Vec<HypertableInfo>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct ObjectSearchHit {
|
||||
pub name: String,
|
||||
|
||||
Reference in New Issue
Block a user