BaseTablesConnectorImplementations
{
connect?: () => Promise<void>;
disconnect?: () => Promise<void>;
readTablesHash: (context: Context) => Promise<Hash | undefined>;
readTableIds: (context: Context) => Promise<string[]>;
readTableHash: (tableId: string, context: Context) => Promise<Hash | undefined>;
readRowIds: (tableId: string, context: Context) => Promise<string[] | undefined>;
readRowHash: (tableId: string, rowId: string, context: Context) => Promise<Hash | undefined>;
readCellIds: (tableId: string, rowId: string, context: Context) => Promise<string[] | undefined>;
readCellAtom: (tableId: string, rowId: string, cellId: string, context: Context) => Promise<Atom | undefined>;
readCellTimestamp: (tableId: string, rowId: string, cellId: string, context: Context) => Promise<Timestamp | undefined>;
writeTablesHash: (hash: Hash, context: Context) => Promise<void>;
writeTableHash: (tableId: string, hash: Hash, context: Context) => Promise<void>;
writeRowHash: (tableId: string, rowId: string, hash: Hash, context: Context) => Promise<void>;
writeCellAtom: (tableId: string, rowId: string, cellId: string, atom: Atom, context: Context) => Promise<void>;
writeCellTimestamp: (tableId: string, rowId: string, cellId: string, timestamp: Timestamp, context: Context) => Promise<void>;
removeCellAtom: (tableId: string, rowId: string, cellId: string, context: Context) => Promise<void>;
}
| Type | Description |
---|
connect? | () => Promise<void> | |
---|
disconnect? | () => Promise<void> | |
---|
readTablesHash | (context: Context) => Promise<Hash | undefined> | |
---|
readTableIds | (context: Context) => Promise<string[]> | |
---|
readTableHash | (tableId: string, context: Context) => Promise<Hash | undefined> | |
---|
readRowIds | (tableId: string, context: Context) => Promise<string[] | undefined> | |
---|
readRowHash | (tableId: string, rowId: string, context: Context) => Promise<Hash | undefined> | |
---|
readCellIds | (tableId: string, rowId: string, context: Context) => Promise<string[] | undefined> | |
---|
readCellAtom | (tableId: string, rowId: string, cellId: string, context: Context) => Promise<Atom | undefined> | |
---|
readCellTimestamp | (tableId: string, rowId: string, cellId: string, context: Context) => Promise<Timestamp | undefined> | |
---|
writeTablesHash | (hash: Hash, context: Context) => Promise<void> | |
---|
writeTableHash | (tableId: string, hash: Hash, context: Context) => Promise<void> | |
---|
writeRowHash | (tableId: string, rowId: string, hash: Hash, context: Context) => Promise<void> | |
---|
writeCellAtom | (tableId: string, rowId: string, cellId: string, atom: Atom, context: Context) => Promise<void> | |
---|
writeCellTimestamp | (tableId: string, rowId: string, cellId: string, timestamp: Timestamp, context: Context) => Promise<void> | |
---|
removeCellAtom | (tableId: string, rowId: string, cellId: string, context: Context) => Promise<void> | |
---|