X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmetadata%2FmetadataDb.mli;h=86820aafbc4abaf266b1ce07e938720cc49d9f87;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=a5b0d27534bd2146e1efc557445dfcca35757269;hpb=df29cafb872244de1a6a9b3c273b329a6e15fa8c;p=helm.git diff --git a/helm/ocaml/metadata/metadataDb.mli b/helm/ocaml/metadata/metadataDb.mli index a5b0d2753..86820aafb 100644 --- a/helm/ocaml/metadata/metadataDb.mli +++ b/helm/ocaml/metadata/metadataDb.mli @@ -23,26 +23,19 @@ * http://helm.cs.unibo.it/ *) - (** index a Cic.Constant object and insert resulting metadata into the db - * PRE_EVAL(dbd) *) -val index_constant: - dbd:Mysql.dbd -> - uri:UriManager.uri -> body:Cic.term option -> ty:Cic.term -> - unit - (** index a Cic.InductiveDefinition object and insert resulting metadata into - * the db - * PRE_EVAL(dbd) *) -val index_inductive_def: - dbd:Mysql.dbd -> - uri:UriManager.uri -> types:Cic.inductiveType list -> - unit +val index_obj: dbd:HMysql.dbd -> uri:UriManager.uri -> unit + (* TODO Zack indexing of variables and (perhaps?) incomplete proofs *) (** remove from the db all metadata pertaining to a given owner * @return list of uris removed from the db *) -val clean: dbd:Mysql.dbd -> string list +val clean: dbd:HMysql.dbd -> string list -val unindex: dbd:Mysql.dbd -> uri:UriManager.uri -> unit +val unindex: dbd:HMysql.dbd -> uri:UriManager.uri -> unit +val count_distinct: + [`Conclusion | `Hypothesis | `Statement ] -> + MetadataTypes.metadata list -> + int