Function flatdata::create_multi_vector
[−]
[src]
pub fn create_multi_vector<Idx: Index, Ts: VariadicStruct>(
storage: &mut ResourceStorage,
resource_name: &str,
schema: &str
) -> Result<MultiVector<Idx, Ts>>
Helper for creating a multivector in the given resource storage.
Creates a new resource with given name and schema in storage, and returns
an [MultiVector] using this resource for writing and flushing data to
storage.