1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! The refusal of a dotted path a shell can't evaluate.
use ;
use crateVistaMetadata;
/// The refusal of a condition on a dotted column (`root.leaf`, or an
/// imported `author.name`) a shell can't evaluate: an `Unimplemented`
/// error naming the column. It is not an [`unsupported`](crate::unsupported)
/// refusal, since no capability describes paths.
pub
/// The error for a condition on `column`, which the shell doesn't take as
/// one of its own columns.
///
/// - A dotted column the shell can't evaluate is refused as
/// `Unimplemented`, for the caller to evaluate: a path whose root
/// `metadata` declares, a dotted column `metadata` declares whole (an
/// imported `author.name`), or any dotted column when `metadata` declares
/// no columns. Being a refusal,
/// [`Vista::with_query`](crate::Vista::with_query) hands the clause back
/// as residual, for the caller to evaluate over the rows it reads with
/// [`Condition::matches`](crate::Condition::matches);
/// [`Vista::with_condition`](crate::Vista::with_condition) returns it as
/// an error.
/// - Anything else: a plain unknown-column error, so an unknown column is
/// never evaluated locally.