@@ -27,8 +27,6 @@ use crate::segments::{AsyncSegmentReader, SegmentId};
2727use crate :: { ExprEvaluator , Layout , LayoutReader , LayoutReaderExt , RowMask } ;
2828
2929pub trait ScanDriver : ' static + Sized {
30- type Options : Default ;
31-
3230 fn segment_reader ( & self ) -> Arc < dyn AsyncSegmentReader > ;
3331
3432 /// Return a future that drives the I/O stream for the segment reader.
@@ -46,7 +44,6 @@ pub trait ScanDriver: 'static + Sized {
4644/// A struct for building a scan operation.
4745pub struct ScanBuilder < D : ScanDriver > {
4846 driver : D ,
49- driver_options : Option < D :: Options > ,
5047 task_executor : Option < Arc < dyn TaskExecutor > > ,
5148 layout : Layout ,
5249 ctx : ContextRef , // TODO(ngates): store this on larger context on Layout
@@ -63,7 +60,6 @@ impl<D: ScanDriver> ScanBuilder<D> {
6360 pub fn new ( driver : D , layout : Layout , ctx : ContextRef ) -> Self {
6461 Self {
6562 driver,
66- driver_options : None ,
6763 task_executor : None ,
6864 layout,
6965 ctx,
@@ -123,11 +119,6 @@ impl<D: ScanDriver> ScanBuilder<D> {
123119 self
124120 }
125121
126- pub fn with_options ( mut self , options : D :: Options ) -> Self {
127- self . driver_options = Some ( options) ;
128- self
129- }
130-
131122 pub fn build ( self ) -> VortexResult < Scan < D > > {
132123 let projection = simplify_typed ( self . projection , self . layout . dtype ( ) ) ?;
133124 let filter = self
0 commit comments