pub trait EntityStoreT: Send + Sync {
// Required methods
fn entity_names_by_type(&self, entity_type: &EntityType) -> Vec<String>;
fn top_entity_info(&self, limit: usize) -> Vec<(String, EntityType)>;
}Expand description
Trait for querying an entity store.
Provides access to entity information without coupling to a specific storage implementation.
Required Methods§
Sourcefn entity_names_by_type(&self, entity_type: &EntityType) -> Vec<String>
fn entity_names_by_type(&self, entity_type: &EntityType) -> Vec<String>
Get entity names that match a given type.
Sourcefn top_entity_info(&self, limit: usize) -> Vec<(String, EntityType)>
fn top_entity_info(&self, limit: usize) -> Vec<(String, EntityType)>
Get the top entities by mention count, returning (name, type) pairs.