Attributes
- Companion
- class
- Source
- ZQuery.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ZQuery.type
Members list
Type members
Classlikes
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class Objecttrait Matchableclass Any
These methods can improve UX and performance in some cases, but when used improperly they can lead to unexpected behaviour in the application code.
These methods can improve UX and performance in some cases, but when used improperly they can lead to unexpected behaviour in the application code.
Make sure you really understand them before using them!
Attributes
- Source
- ZQuery.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
unsafe.type
Value members
Concrete methods
Attributes
- Source
- ZQuery.scala
Acquires the specified resource before the query begins execution and releases it after the query completes execution, whether by success, failure, or interruption.
Acquires the specified resource before the query begins execution and releases it after the query completes execution, whether by success, failure, or interruption.
Attributes
- Source
- ZQuery.scala
Acquires the specified resource before the query begins execution and releases it after the query completes execution, whether by success, failure, or interruption.
Acquires the specified resource before the query begins execution and releases it after the query completes execution, whether by success, failure, or interruption.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results, batching requests to data sources.
Collects a collection of queries into a query returning a collection of their results, batching requests to data sources.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results, batching requests to data sources.
Collects a collection of queries into a query returning a collection of their results, batching requests to data sources.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results, batching requests to data sources.
Collects a collection of queries into a query returning a collection of their results, batching requests to data sources.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results, batching requests to data sources.
Collects a collection of queries into a query returning a collection of their results, batching requests to data sources.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Collects a collection of queries into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Collects a collection of queries into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Collects a collection of queries into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Attributes
- Source
- ZQuery.scala
Collects a collection of queries into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Collects a collection of queries into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Attributes
- Source
- ZQuery.scala
Constructs a query that dies with the specified error.
Accesses the whole environment of the query.
Accesses the environment of the effect.
Accesses the environment of the effect.
val portNumber = effect.access(_.config.portNumber)
Attributes
- Source
- ZQuery.scala
Effectfully accesses the environment of the effect.
Effectfully accesses the environment of the effect.
Lazily constructs a query that fails with the specified error.
Lazily constructs a query that fails with the specified cause.
Eagerly constructs a query that fails with the specified cause.
Eagerly constructs a query that fails with the specified error.
Performs a query for each element in a collection, collecting the results into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Performs a query for each element in a collection, collecting the results into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.
Attributes
- Source
- ZQuery.scala
Applies the function f to each element of the Set[A] and returns the results in a new Set[B].
Applies the function f to each element of the Set[A] and returns the results in a new Set[B].
For a parallel version of this method, see foreachPar. If you do not need the results, see foreach_ for a more efficient implementation.
Attributes
- Source
- ZQuery.scala
Applies the function f to each element of the Array[A] and returns the results in a new Array[B].
Applies the function f to each element of the Array[A] and returns the results in a new Array[B].
For a parallel version of this method, see foreachPar. If you do not need the results, see foreach_ for a more efficient implementation.
Attributes
- Source
- ZQuery.scala
Applies the function f to each element of the Map[Key, Value] and returns the results in a new Map[Key2, Value2].
Applies the function f to each element of the Map[Key, Value] and returns the results in a new Map[Key2, Value2].
For a parallel version of this method, see foreachPar. If you do not need the results, see foreach_ for a more efficient implementation.
Attributes
- Source
- ZQuery.scala
Applies the function f if the argument is non-empty and returns the results in a new Option[B].
Applies the function f if the argument is non-empty and returns the results in a new Option[B].
Attributes
- Source
- ZQuery.scala
Applies the function f to each element of the NonEmptyChunk[A] and returns the results in a new NonEmptyChunk[B].
Applies the function f to each element of the NonEmptyChunk[A] and returns the results in a new NonEmptyChunk[B].
For a parallel version of this method, see foreachPar. If you do not need the results, see foreach_ for a more efficient implementation.
Attributes
- Source
- ZQuery.scala
Performs a query for each element in a collection, batching requests to data sources and collecting the results into a query returning a collection of their results.
Performs a query for each element in a collection, batching requests to data sources and collecting the results into a query returning a collection of their results.
Attributes
- Source
- ZQuery.scala
Attributes
- Source
- ZQuery.scala
Performs a query for each element in an Array, batching requests to data sources and collecting the results into a query returning a collection of their results.
Performs a query for each element in an Array, batching requests to data sources and collecting the results into a query returning a collection of their results.
For a sequential version of this method, see foreach.
Attributes
- Source
- ZQuery.scala
Performs a query for each element in a Map, batching requests to data sources and collecting the results into a query returning a collection of their results.
Performs a query for each element in a Map, batching requests to data sources and collecting the results into a query returning a collection of their results.
For a sequential version of this method, see foreach.
Attributes
- Source
- ZQuery.scala
Performs a query for each element in a NonEmptyChunk, batching requests to data sources and collecting the results into a query returning a collection of their results.
Performs a query for each element in a NonEmptyChunk, batching requests to data sources and collecting the results into a query returning a collection of their results.
For a sequential version of this method, see foreach.
Attributes
- Source
- ZQuery.scala
Performs a query for each element in a collection, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Performs a query for each element in a collection, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Attributes
- Source
- ZQuery.scala
Performs a query for each element in a Set, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Performs a query for each element in a Set, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Attributes
- Source
- ZQuery.scala
Performs a query for each element in an Array, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Performs a query for each element in an Array, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
For a sequential version of this method, see foreach.
Attributes
- Source
- ZQuery.scala
Performs a query for each element in a Map, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Performs a query for each element in a Map, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
For a sequential version of this method, see foreach.
Attributes
- Source
- ZQuery.scala
Performs a query for each element in a NonEmptyChunk, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
Performs a query for each element in a NonEmptyChunk, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.
For a sequential version of this method, see foreach.
Attributes
- Source
- ZQuery.scala
Constructs a query from an either
Constructs a query from an option
Constructs a query from a request and a data source. Queries will die with a QueryFailure when run if the data source does not provide results for all requests received. Queries must be constructed with fromRequest or one of its variants for optimizations to be applied.
Constructs a query from a request and a data source. Queries will die with a QueryFailure when run if the data source does not provide results for all requests received. Queries must be constructed with fromRequest or one of its variants for optimizations to be applied.
Attributes
- See also
-
fromRequestsfor variants that allow for multiple requests to be submitted at once - Source
- ZQuery.scala
Constructs a query from a request and a data source but does not apply caching to the query.
Constructs a query from a request and a data source but does not apply caching to the query.
Attributes
- Source
- ZQuery.scala
Constructs a query from a Chunk of requests and a data source. Queries will die with a QueryFailure when run the data source does not provide results for all requests received.
Constructs a query from a Chunk of requests and a data source. Queries will die with a QueryFailure when run the data source does not provide results for all requests received.
Attributes
- See also
-
fromRequest for submitting a single request to a datasource
fromRequestsWithfor a variant that allows transforming the input to a request - Source
- ZQuery.scala
Constructs a query from a List of requests and a data source. Queries will die with a QueryFailure when run the data source does not provide results for all requests received.
Constructs a query from a List of requests and a data source. Queries will die with a QueryFailure when run the data source does not provide results for all requests received.
Attributes
- See also
-
fromRequest for submitting a single request to a datasource
fromRequestsWithfor a variant that allows transforming the input to a request - Source
- ZQuery.scala
Constructs a query from a Chunk of values, a function transforming them into requests and a data source. Queries will die with a QueryFailure when run the data source does not provide results for all requests received.
Constructs a query from a Chunk of values, a function transforming them into requests and a data source. Queries will die with a QueryFailure when run the data source does not provide results for all requests received.
Attributes
- Source
- ZQuery.scala
Constructs a query from a List of values, a function transforming them into requests and a data source. Queries will die with a QueryFailure when run the data source does not provide results for all requests received.
Constructs a query from a List of values, a function transforming them into requests and a data source. Queries will die with a QueryFailure when run the data source does not provide results for all requests received.
Attributes
- Source
- ZQuery.scala
Constructs a query from an effect.
Constructs a query from an effect. Unlike fromZIO, this method does not suspend the creation of the effect which can lead to improved performance in some cases, but it should only be used when the creation of the effect is side effect-free.
Constructs a query from an effect. Unlike fromZIO, this method does not suspend the creation of the effect which can lead to improved performance in some cases, but it should only be used when the creation of the effect is side effect-free.
Note that this is method is meant mostly for internal use, but it's made public so that library authors can make use of this optimization. Most users should use fromZIO instead.
Attributes
- Source
- ZQuery.scala
Constructs a query that never completes.
Performs a query for each element in a collection, collecting the results into a collection of failed results and a collection of successful results. Requests will be executed sequentially and will be pipelined.
Performs a query for each element in a collection, collecting the results into a collection of failed results and a collection of successful results. Requests will be executed sequentially and will be pipelined.
Attributes
- Source
- ZQuery.scala
Performs a query for each element in a collection, collecting the results into a collection of failed results and a collection of successful results. Requests will be executed in parallel and will be batched.
Performs a query for each element in a collection, collecting the results into a collection of failed results and a collection of successful results. Requests will be executed in parallel and will be batched.
Attributes
- Source
- ZQuery.scala
Accesses the whole environment of the query.
Accesses the environment of the effect.
Accesses the environment of the effect.
val portNumber = effect.access(_.config.portNumber)
Attributes
- Source
- ZQuery.scala
Effectfully accesses the environment of the effect.
Effectfully accesses the environment of the effect.
Constructs a query that succeeds with the optional value.
Lazily constructs a query that succeeds with the specified value.
Lazily constructs a query that succeeds with the specified value.
'''NOTE''': If the value is side-effect free, prefer using succeedNow instead
Attributes
- Source
- ZQuery.scala
Eagerly constructs a query that succeeds with the specified value.
Returns a lazily constructed query.
The inverse operation ZQuery.sandbox
The inverse operation ZQuery.sandbox
Terminates with exceptions on the Left side of the Either error, if it exists. Otherwise extracts the contained IO[E, A]
Attributes
- Source
- ZQuery.scala
Concrete fields
Attributes
- Source
- ZQuery.scala
Attributes
- Source
- ZQuery.scala
Constructs a query that succeds with the empty value.
The query that succeeds with the unit value.
Deprecated fields
Attributes
- Deprecated
-
[Since version 0.7.4]No longer used, kept for binary compatibility only - Source
- ZQuery.scala