Interface TimescaleDbMetadata
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
AbstractTimescaleDbMetadata,QueryInformationSchemaMetadata
A repository resolving TimescaleDB related metadata.
The implementations can differ but the basic one is expected to just read TimescaleDB information
schema and resolve metadata according to it.
- Author:
- Jiri Pechanec
-
Method Summary
Modifier and TypeMethodDescriptionaggregateId(TableId hypertableId) Returns theTableIdthat represents continuous aggregate view for which the hypertable is backend.hypertableId(TableId chunkId) Returns theTableIdto which given chunk belong.booleanisTimescaleDbSchema(String schemaName)
-
Method Details
-
isTimescaleDbSchema
- Parameters:
schemaName-- Returns:
- true if the schema name is one used by TimescaleDB to store data
-
hypertableId
Returns theTableIdto which given chunk belong. Empty if this is not TimescaleDB chunk identifier. Resolution if the identifier is chunk or not is based on a preconfigured list of schemas. -
aggregateId
Returns theTableIdthat represents continuous aggregate view for which the hypertable is backend. Empty if hypertable is not associated with a continuous aggregate view.
-