Rename StreamKind

This commit is contained in:
Dominik Werder
2021-06-03 12:47:50 +02:00
parent ad62f125e3
commit c19c4997bb
15 changed files with 113 additions and 132 deletions

View File

@@ -6,7 +6,7 @@ use super::eventchunker::EventFull;
use crate::agg::binnedt::AggregatableTdim;
use crate::agg::eventbatch::MinMaxAvgScalarEventBatch;
use crate::agg::streams::StreamItem;
use crate::binned::{BinnedStreamKind, RangeCompletableItem};
use crate::binned::{RangeCompletableItem, StreamKind};
use bytes::BytesMut;
use err::Error;
use futures_core::Stream;
@@ -28,7 +28,7 @@ pub mod streams;
pub trait AggregatableXdim1Bin<SK>
where
SK: BinnedStreamKind,
SK: StreamKind,
{
type Output: AggregatableXdim1Bin<SK> + AggregatableTdim<SK>;
fn into_agg(self) -> Self::Output;
@@ -54,7 +54,7 @@ impl std::fmt::Debug for ValuesDim0 {
impl<SK> AggregatableXdim1Bin<SK> for ValuesDim1
where
SK: BinnedStreamKind,
SK: StreamKind,
{
type Output = MinMaxAvgScalarEventBatch;
@@ -151,7 +151,7 @@ impl std::fmt::Debug for ValuesDim1 {
impl<SK> AggregatableXdim1Bin<SK> for ValuesDim0
where
SK: BinnedStreamKind,
SK: StreamKind,
{
type Output = MinMaxAvgScalarEventBatch;