Table of Contents

Interface IConfiguredQuery<TIn, TOut>

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

A query that can no longer be configured.

public interface IConfiguredQuery<TIn, TOut>

Type Parameters

TIn

The type of items that will be input into this instance.

TOut

The type of items that will be output from this instance.

Extension Methods

Methods

ExecuteAsync(CancellationToken)

Executes the query.

WithFilter(Func<TOut, bool>)

Specifies a filter that will be applied to all results in the query. If the specified delegate returns true, the row will be included in the results. If it returns false, it will be excluded.

WithMap<TNext>(Func<TOut, TNext>)

Specifies a mapping that will be used to turn items of type TOut into items of type TNext.

WithReduce<TResult>(Func<TResult>, Func<TResult, TOut, TResult>)

Specifies a method of reducing many items of type TOut into one instance of type TResult.

WithReduce<TAccumulate, TResult>(Func<TAccumulate>, Func<TAccumulate, TOut, TAccumulate>, Func<TAccumulate, TResult>)

Specifies a method of reducing many items of type TOut into one instance of type TResult, using one method to accumulate the values into a value of type TAccumulate and another to turn the accumulated value into a result.