Struct mentat::conn::InProgressRead
[−]
[src]
pub struct InProgressRead<'a, 'c>(_);
Represents an in-progress set of reads to the store. Just like InProgress
,
which is read-write, but only allows for reads.
Trait Implementations
impl<'a, 'c> Queryable for InProgressRead<'a, 'c>
[src]
impl<'a, 'c> Queryable for InProgressRead<'a, 'c>
fn q_once<T>(&self, query: &str, inputs: T) -> Result<QueryOutput> where
T: Into<Option<QueryInputs>>,
[src]
fn q_once<T>(&self, query: &str, inputs: T) -> Result<QueryOutput> where
T: Into<Option<QueryInputs>>,
fn q_prepare<T>(&self, query: &str, inputs: T) -> PreparedResult where
T: Into<Option<QueryInputs>>,
[src]
fn q_prepare<T>(&self, query: &str, inputs: T) -> PreparedResult where
T: Into<Option<QueryInputs>>,
fn q_explain<T>(&self, query: &str, inputs: T) -> Result<QueryExplanation> where
T: Into<Option<QueryInputs>>,
[src]
fn q_explain<T>(&self, query: &str, inputs: T) -> Result<QueryExplanation> where
T: Into<Option<QueryInputs>>,
fn lookup_values_for_attribute<E>(
&self,
entity: E,
attribute: &Keyword
) -> Result<Vec<TypedValue>> where
E: Into<Entid>,
[src]
fn lookup_values_for_attribute<E>(
&self,
entity: E,
attribute: &Keyword
) -> Result<Vec<TypedValue>> where
E: Into<Entid>,
fn lookup_value_for_attribute<E>(
&self,
entity: E,
attribute: &Keyword
) -> Result<Option<TypedValue>> where
E: Into<Entid>,
[src]
fn lookup_value_for_attribute<E>(
&self,
entity: E,
attribute: &Keyword
) -> Result<Option<TypedValue>> where
E: Into<Entid>,
impl<'a, 'c> Pullable for InProgressRead<'a, 'c>
[src]
impl<'a, 'c> Pullable for InProgressRead<'a, 'c>
fn pull_attributes_for_entities<E, A>(
&self,
entities: E,
attributes: A
) -> Result<BTreeMap<Entid, ValueRc<StructuredMap>>> where
E: IntoIterator<Item = Entid>,
A: IntoIterator<Item = Entid>,
[src]
fn pull_attributes_for_entities<E, A>(
&self,
entities: E,
attributes: A
) -> Result<BTreeMap<Entid, ValueRc<StructuredMap>>> where
E: IntoIterator<Item = Entid>,
A: IntoIterator<Item = Entid>,
fn pull_attributes_for_entity<A>(
&self,
entity: Entid,
attributes: A
) -> Result<StructuredMap> where
A: IntoIterator<Item = Entid>,
[src]
fn pull_attributes_for_entity<A>(
&self,
entity: Entid,
attributes: A
) -> Result<StructuredMap> where
A: IntoIterator<Item = Entid>,
impl<'a, 'c> HasSchema for InProgressRead<'a, 'c>
[src]
impl<'a, 'c> HasSchema for InProgressRead<'a, 'c>
fn entid_for_type(&self, t: ValueType) -> Option<KnownEntid>
[src]
fn entid_for_type(&self, t: ValueType) -> Option<KnownEntid>
fn get_ident<T>(&self, x: T) -> Option<&Keyword> where
T: Into<Entid>,
[src]
fn get_ident<T>(&self, x: T) -> Option<&Keyword> where
T: Into<Entid>,
fn get_entid(&self, x: &Keyword) -> Option<KnownEntid>
[src]
fn get_entid(&self, x: &Keyword) -> Option<KnownEntid>
fn attribute_for_entid<T>(&self, x: T) -> Option<&Attribute> where
T: Into<Entid>,
[src]
fn attribute_for_entid<T>(&self, x: T) -> Option<&Attribute> where
T: Into<Entid>,
fn attribute_for_ident(
&self,
ident: &Keyword
) -> Option<(&Attribute, KnownEntid)>
[src]
fn attribute_for_ident(
&self,
ident: &Keyword
) -> Option<(&Attribute, KnownEntid)>
fn is_attribute<T>(&self, x: T) -> bool where
T: Into<Entid>,
[src]
fn is_attribute<T>(&self, x: T) -> bool where
T: Into<Entid>,
Return true if the provided entid identifies an attribute in this schema.
fn identifies_attribute(&self, x: &Keyword) -> bool
[src]
fn identifies_attribute(&self, x: &Keyword) -> bool
Return true if the provided ident identifies an attribute in this schema.
fn component_attributes(&self) -> &[Entid]
[src]
fn component_attributes(&self) -> &[Entid]
Auto Trait Implementations
impl<'a, 'c> !Send for InProgressRead<'a, 'c>
impl<'a, 'c> !Send for InProgressRead<'a, 'c>
impl<'a, 'c> !Sync for InProgressRead<'a, 'c>
impl<'a, 'c> !Sync for InProgressRead<'a, 'c>