Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteBucket ¶
WriteBucket reads data from rs covering the time range [start, end) and streams to w. The ResultSet must guarantee series+field keys are produced in ascending lexicographical order and values in ascending time order.
Types ¶
type BucketWriter ¶
type BucketWriter interface { Err() error BeginSeries(name, field []byte, typ influxql.DataType, tags models.Tags) EndSeries() WriteIntegerCursor(cur tsdb.IntegerBatchCursor) WriteFloatCursor(cur tsdb.FloatBatchCursor) WriteUnsignedCursor(cur tsdb.UnsignedBatchCursor) WriteBooleanCursor(cur tsdb.BooleanBatchCursor) WriteStringCursor(cur tsdb.StringBatchCursor) Close() error }
type ConflictWriter ¶
type ConflictWriter struct {
// contains filtered or unexported fields
}
ConflictWriter is a Writer that redirects conflicting data to an alternate output.
func NewConflictWriter ¶
func NewConflictWriter(w, conflict Writer) *ConflictWriter
NewConflictWriter returns a Writer that redirects invalid point data to the conflict Writer.
func (*ConflictWriter) Close ¶
func (cw *ConflictWriter) Close() error
func (*ConflictWriter) NewBucket ¶
func (cw *ConflictWriter) NewBucket(start, end int64) (bw BucketWriter, err error)
Click to show internal directories.
Click to hide internal directories.