removed more stuff
This commit is contained in:
parent
2d14bb87f9
commit
566f5dac92
2 changed files with 29 additions and 52 deletions
|
|
@ -146,34 +146,6 @@ export interface InsertResult {
|
|||
errors?: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Schema Definition Types
|
||||
*/
|
||||
interface ColumnDefinition {
|
||||
name: string;
|
||||
type:
|
||||
| 'SYMBOL'
|
||||
| 'STRING'
|
||||
| 'DOUBLE'
|
||||
| 'FLOAT'
|
||||
| 'LONG'
|
||||
| 'INT'
|
||||
| 'BOOLEAN'
|
||||
| 'TIMESTAMP'
|
||||
| 'DATE'
|
||||
| 'BINARY';
|
||||
indexed?: boolean;
|
||||
capacity?: number; // For SYMBOL type
|
||||
}
|
||||
|
||||
interface TableDefinition {
|
||||
name: string;
|
||||
columns: ColumnDefinition[];
|
||||
partitionBy?: 'NONE' | 'DAY' | 'MONTH' | 'YEAR';
|
||||
timestamp?: string; // Column name to use as designated timestamp
|
||||
dedup?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Connection Pool Types
|
||||
*/
|
||||
|
|
@ -210,27 +182,6 @@ export interface PerformanceMetrics {
|
|||
memoryUsage: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Query Builder Types
|
||||
*/
|
||||
interface TimeSeriesQuery {
|
||||
table: TableNames | string;
|
||||
columns?: string[];
|
||||
timeRange?: TimeRange;
|
||||
groupBy?: string[];
|
||||
aggregations?: Record<string, string>;
|
||||
sampleBy?: string;
|
||||
latestBy?: string[];
|
||||
orderBy?: Array<{ column: string; direction: 'ASC' | 'DESC' }>;
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
interface AggregationQuery {
|
||||
aggregations: Record<string, string>;
|
||||
groupBy?: string[];
|
||||
having?: string[];
|
||||
}
|
||||
|
||||
export interface TimeRange {
|
||||
startTime: Date;
|
||||
endTime: Date;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue