Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
loki/pkg/dataobj/sections/indexpointers/row_predicate.go

18 lines
456 B

package indexpointers
import "time"
type (
// RowPredicate is an expression used to filter rows in a data object.
RowPredicate interface{ isRowPredicate() }
)
// Supported predicates.
type (
// A TimeRangeRowPredicate is a RowPredicate which requires a start and end timestamp column to exist,
// and for the timestamp to be within the range.
TimeRangeRowPredicate struct{ Start, End time.Time }
)
func (TimeRangeRowPredicate) isRowPredicate() {}