Uses of Class
io.trino.plugin.prometheus.PrometheusTableHandle
-
Uses of PrometheusTableHandle in io.trino.plugin.prometheus
Methods in io.trino.plugin.prometheus that return PrometheusTableHandleModifier and TypeMethodDescriptionPrometheusMetadata.getTableHandle(ConnectorSession session, SchemaTableName tableName) PrometheusTableHandle.withPredicate(TupleDomain<ColumnHandle> predicate) Methods in io.trino.plugin.prometheus with parameters of type PrometheusTableHandleModifier and TypeMethodDescriptionPrometheusSplitManager.generateTimesForSplits(Instant defaultUpperBound, io.airlift.units.Duration maxQueryRangeDurationRequested, io.airlift.units.Duration queryChunkSizeDurationRequested, PrometheusTableHandle tableHandle) Utility method to get the end times in decimal seconds that divide up the query into chunks The times will be used in queries to Prometheus like: `http://localhost:9090/api/v1/query?query=up[21d]&time=1568229904.000"` ** NOTE: Prometheus instant query wants the duration and end time specified.