Skip to main content

Prepare

Trait Prepare 

Source
pub trait Prepare:
    'static
    + Send
    + Sync {
    type Prepared<'a>: Clone + 'a
       where Self: 'a;

    // Required method
    fn prepare<'a>(
        &'a self,
        graphrecord: &'a GraphRecord,
        cache: &'a EvaluationCache<'a>,
    ) -> QueryResult<Self::Prepared<'a>>;
}

Required Associated Types§

Source

type Prepared<'a>: Clone + 'a where Self: 'a

Required Methods§

Source

fn prepare<'a>( &'a self, graphrecord: &'a GraphRecord, cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Prepare for EdgeIndex

Source§

type Prepared<'a> = Result<u32, Box<Failure>>

Source§

fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Source§

impl Prepare for GraphRecordAttribute

Source§

type Prepared<'a> = Result<GraphRecordAttribute, Box<Failure>>

Source§

fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Source§

impl Prepare for GraphRecordValue

Source§

type Prepared<'a> = Result<GraphRecordValue, Box<Failure>>

Source§

fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Source§

impl Prepare for bool

Source§

type Prepared<'a> = Result<bool, Box<Failure>>

Source§

fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Source§

impl<T: 'static + Send + Sync, S: 'static + Send + Sync> Prepare for HashSet<T, S>

Source§

type Prepared<'a> = &'a HashSet<T, S>

Source§

fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Source§

impl<T: 'static + Send + Sync, const N: usize> Prepare for [T; N]

Source§

type Prepared<'a> = &'a [T]

Source§

fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Source§

impl<T: 'static + Send + Sync> Prepare for GrHashSet<T>

Source§

type Prepared<'a> = &'a HashSet<T>

Source§

fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Source§

impl<T: 'static + Send + Sync> Prepare for Vec<T>

Source§

type Prepared<'a> = &'a [T]

Source§

fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Implementors§

Source§

impl Prepare for AbsoluteOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for AllOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for AnyOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for AttributeOperation

Source§

impl Prepare for AttributesOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for BroadcastOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for BucketErrorsOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for CeilOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ChildIndexOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for CountOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for CubeRootOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for DiscardIndexOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for DiscardValueOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for Drop

Source§

type Prepared<'a> = ()

Source§

impl Prepare for DropBucketErrors

Source§

type Prepared<'a> = ()

Source§

impl Prepare for DropDuplicatesOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for DropKeyErrors

Source§

type Prepared<'a> = ()

Source§

impl Prepare for EdgesOperation

Source§

impl Prepare for EndpointOperation

Source§

impl Prepare for EnumerateOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ErrorKindNameOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ErrorKindOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ErrorsOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ExponentialOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for FailureKind

Source§

impl Prepare for FirstOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for FloorOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for HasAttributeOperation

Source§

impl Prepare for InGroupOperation

Source§

impl Prepare for IndexOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for IsBoolOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for IsDateTimeOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for IsDuplicatedOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for IsDurationOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for IsFloatOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for IsIntOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for IsNullOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for IsStringOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for KeyErrorsOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for KeysOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for LastOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for LengthOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for LogarithmOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for LowercaseOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for MaximumOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for MeanOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for MedianOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for MinimumOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ModeOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for NegateOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for NeighborsOperation

Source§

impl Prepare for NodesOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for NotOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ParentIndexOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for Position

Source§

impl Prepare for ProductOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for Raise

Source§

type Prepared<'a> = ()

Source§

impl Prepare for RaiseBucketErrors

Source§

type Prepared<'a> = ()

Source§

impl Prepare for RaiseKeyErrors

Source§

type Prepared<'a> = ()

Source§

impl Prepare for RandomOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ResolveOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ReverseOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ReverseOrderOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for RoundOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for SelectOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ShuffleOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for SignOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for SliceOperation

Source§

impl Prepare for SortOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for SquareRootOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for StandardDeviationOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for SumOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for TakeOperation

Source§

impl Prepare for TrimEndOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for TrimOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for TrimStartOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for UngroupKeyedOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for UngroupOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for UniqueCountOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for UniqueOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for UnorderOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for UppercaseOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for VarianceOperation

Source§

type Prepared<'a> = ()

Source§

impl Prepare for ViaEdgesOperation

Source§

impl Prepare for ViaNeighborsOperation

Source§

impl Prepare for ViaNodesOperation

Source§

type Prepared<'a> = ()

Source§

impl<A, V, R> Prepare for Argument<A, V, R>
where A: Alignment, V: ValueDomain, R: Retention,

Source§

type Prepared<'a> = PreparedArgument<'a, A, V, R> where Self: 'a

Source§

impl<A: Alignment, S: MaybeAbsent<A>, P: MissingPolicy<A, S>> Prepare for WithMissing<A, S, P>

Source§

type Prepared<'a> = (<S as Prepare>::Prepared<'a>, <P as MissingPolicy<A, S>>::Prepared<'a>) where Self: 'a

Source§

impl<A: Prepare, B: Prepare> Prepare for ReplaceAllOperation<A, B>

Source§

type Prepared<'a> = (<A as Prepare>::Prepared<'a>, <B as Prepare>::Prepared<'a>) where Self: 'a

Source§

impl<A: Prepare, B: Prepare> Prepare for ReplaceOperation<A, B>

Source§

type Prepared<'a> = (<A as Prepare>::Prepared<'a>, <B as Prepare>::Prepared<'a>) where Self: 'a

Source§

impl<A: Prepare> Prepare for AddOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for BroadcastViaOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for ContainsOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for DivideOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for EndsWithOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for EqualToOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for GreaterThanOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for GreaterThanOrEqualToOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for IsInOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for LessThanOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for LessThanOrEqualToOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for MatchesOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for ModuloOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for MultiplyOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for NotEqualToOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for PowerOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for SortByOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for SplitOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for StartsWithOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for StripPrefixOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for StripSuffixOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<A: Prepare> Prepare for SubtractOperation<A>

Source§

type Prepared<'a> = <A as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<C: Error + 'static, R: Prepare> Prepare for ReplaceErrorsWithCause<C, R>

Source§

type Prepared<'a> = <R as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<C: Error + 'static> Prepare for DropErrorsWithCause<C>

Source§

type Prepared<'a> = ()

Source§

impl<C: Error + 'static> Prepare for HasErrorCauseOperation<C>

Source§

type Prepared<'a> = ()

Source§

impl<C> Prepare for RaiseWhen<C>
where C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,

Source§

impl<D, C> Prepare for RaiseWhenErrorsOf<D, C>
where D: Diagnostic, C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,

Source§

impl<D: Diagnostic, R: Prepare> Prepare for ReplaceErrorsOf<D, R>

Source§

type Prepared<'a> = <R as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<D: Diagnostic> Prepare for DropBucketErrorsOf<D>

Source§

type Prepared<'a> = ()

Source§

impl<D: Diagnostic> Prepare for DropErrorsOf<D>

Source§

type Prepared<'a> = ()

Source§

impl<D: Diagnostic> Prepare for DropKeyErrorsOf<D>

Source§

type Prepared<'a> = ()

Source§

impl<D: Diagnostic> Prepare for IsErrorKindOperation<D>

Source§

type Prepared<'a> = ()

Source§

impl<D: Diagnostic> Prepare for RaiseBucketErrorsOf<D>

Source§

type Prepared<'a> = ()

Source§

impl<D: Diagnostic> Prepare for RaiseErrorsOf<D>

Source§

type Prepared<'a> = ()

Source§

impl<D: Diagnostic> Prepare for RaiseKeyErrorsOf<D>

Source§

type Prepared<'a> = ()

Source§

impl<E, C> Prepare for RaiseWhenErrorsWithCause<E, C>
where E: Error + 'static, C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,

Source§

impl<E: Error + 'static> Prepare for DropBucketErrorsWithCause<E>

Source§

type Prepared<'a> = ()

Source§

impl<E: Error + 'static> Prepare for DropKeyErrorsWithCause<E>

Source§

type Prepared<'a> = ()

Source§

impl<E: Error + 'static> Prepare for RaiseBucketErrorsWithCause<E>

Source§

type Prepared<'a> = ()

Source§

impl<E: Error + 'static> Prepare for RaiseErrorsWithCause<E>

Source§

type Prepared<'a> = ()

Source§

impl<E: Error + 'static> Prepare for RaiseKeyErrorsWithCause<E>

Source§

type Prepared<'a> = ()

Source§

impl<G, C> Prepare for RaiseWhenErrorsIn<G, C>
where G: ErrorGroup, C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,

Source§

impl<G: ErrorGroup, R: Prepare> Prepare for ReplaceErrorsIn<G, R>

Source§

type Prepared<'a> = <R as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<G: ErrorGroup> Prepare for DropBucketErrorsIn<G>

Source§

type Prepared<'a> = ()

Source§

impl<G: ErrorGroup> Prepare for DropErrorsIn<G>

Source§

type Prepared<'a> = ()

Source§

impl<G: ErrorGroup> Prepare for DropKeyErrorsIn<G>

Source§

type Prepared<'a> = ()

Source§

impl<G: ErrorGroup> Prepare for InErrorGroupOperation<G>

Source§

type Prepared<'a> = ()

Source§

impl<G: ErrorGroup> Prepare for RaiseBucketErrorsIn<G>

Source§

type Prepared<'a> = ()

Source§

impl<G: ErrorGroup> Prepare for RaiseErrorsIn<G>

Source§

type Prepared<'a> = ()

Source§

impl<G: ErrorGroup> Prepare for RaiseKeyErrorsIn<G>

Source§

type Prepared<'a> = ()

Source§

impl<K: Prepare> Prepare for GroupByOperation<K>

Source§

type Prepared<'a> = <K as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<L: Prepare, U: Prepare> Prepare for ClipOperation<L, U>

Source§

type Prepared<'a> = (<L as Prepare>::Prepared<'a>, <U as Prepare>::Prepared<'a>) where Self: 'a

Source§

impl<M: Prepare> Prepare for AndOperation<M>

Source§

type Prepared<'a> = <M as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<M: Prepare> Prepare for ExclusiveOrOperation<M>

Source§

type Prepared<'a> = <M as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<M: Prepare> Prepare for FilterOperation<M>

Source§

type Prepared<'a> = <M as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<M: Prepare> Prepare for OrOperation<M>

Source§

type Prepared<'a> = <M as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<P: Prepare> Prepare for HavingOperation<P>

Source§

type Prepared<'a> = <P as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<R: Prepare> Prepare for Replace<R>

Source§

type Prepared<'a> = <R as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<S: ElementShape, C: PreparedArity<S>> Prepare for OperandHandle<S, C>

Source§

type Prepared<'a> = <C as PreparedArity<S>>::Prepared<'a> where Self: 'a

Source§

impl<S: Prepare> Prepare for ExpandToOperation<S>

Source§

type Prepared<'a> = <S as Prepare>::Prepared<'a> where Self: 'a

Source§

impl<T: CastTarget> Prepare for CastOperation<T>

Source§

type Prepared<'a> = &'a T where Self: 'a

Source§

impl<T: ValueDomain> Prepare for TransitionOperation<T>

Source§

type Prepared<'a> = ()

Source§

impl<W: Prepare, C: Prepare> Prepare for PadEndOperation<W, C>

Source§

type Prepared<'a> = (<W as Prepare>::Prepared<'a>, <C as Prepare>::Prepared<'a>) where Self: 'a

Source§

impl<W: Prepare, C: Prepare> Prepare for PadStartOperation<W, C>

Source§

type Prepared<'a> = (<W as Prepare>::Prepared<'a>, <C as Prepare>::Prepared<'a>) where Self: 'a