mentat/docs/apis/rust/0.7.0/search-index.js

18 lines
428 KiB
JavaScript
Raw Normal View History

2018-06-21 14:44:35 +00:00
var searchIndex = {};
2018-06-22 17:25:54 +00:00
searchIndex["edn"] = {"doc":"","items":[[3,"DateTime","edn","ISO 8601 combined date and time with time zone.",null,null],[3,"Utc","","The UTC time zone. This is the most efficient time zone when you don't need the local time. It is also used as an offset (which is also a dummy type).",null,null],[3,"BigInt","","A big signed integer type.",null,null],[3,"OrderedFloat","","A wrapper around Floats providing an implementation of Ord and Hash.",null,null],[12,"0","","",0,null],[3,"Uuid","","A Universally Unique Identifier (UUID).",null,null],[4,"UuidParseError","","Error details for string parsing failures.",null,null],[13,"InvalidLength","","",1,null],[13,"InvalidCharacter","","",1,null],[13,"InvalidGroups","","",1,null],[13,"InvalidGroupLength","","",1,null],[0,"entities","","This module defines core types that support the transaction processor.",null,null],[3,"LookupRef","edn::entities","",null,null],[12,"a","","",2,null],[12,"v","","",2,null],[3,"TxFunction","","A \"transaction function\" that exposes some value determined by the current transaction. The prototypical example is the current transaction ID, `(transaction-tx)`.",null,null],[12,"op","","",3,null],[4,"TempId","","A tempid, either an external tempid given in a transaction (usually as an `Value::Text`), or an internal tempid allocated by Mentat itself.",null,null],[13,"External","","",4,null],[13,"Internal","","",4,null],[4,"Entid","","",null,null],[13,"Entid","","",5,null],[13,"Ident","","",5,null],[4,"ValuePlace","","",null,null],[13,"Entid","","",6,null],[13,"TempId","","",6,null],[13,"LookupRef","","",6,null],[13,"TxFunction","","",6,null],[13,"Vector","","",6,null],[13,"Atom","","",6,null],[13,"MapNotation","","",6,null],[4,"EntityPlace","","",null,null],[13,"Entid","","",7,null],[13,"TempId","","",7,null],[13,"LookupRef","","",7,null],[13,"TxFunction","","",7,null],[4,"AttributePlace","","",null,null],[13,"Entid","","",8,null],[4,"OpType","","",null,null],[13,"Add","","",9,null],[13,"Retract","","",9,null],[4,"Entity","","",null,null],[13,"AddOrRetract","","",10,null],[12,"op","edn::entities::Entity","",10,null],[12,"e","","",10,null],[12,"a","","",10,null],[12,"v","","",10,null],[13,"MapNotation","edn::entities","",10,null],[6,"MapNotation","","",null,null],[11,"clone","","",4,{"inputs":[{"name":"self"}],"output":{"name":"tempid"}}],[11,"fmt","","",4,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"hash","","",4,null],[11,"cmp","","",4,{"inputs":[{"name":"self"},{"name":"tempid"}],"output":{"name":"ordering"}}],[11,"partial_cmp","","",4,{"inputs":[{"name":"self"},{"name":"tempid"}],"output":{"generics":["ordering"],"name":"option"}}],[11,"lt","","",4,{"inputs":[{"name":"self"},{"name":"tempid"}],"output":{"name":"bool"}}],[11,"le","","",4,{"inputs":[{"name":"self"},{"name":"tempid"}],"output":{"name":"bool"}}],[11,"gt","","",4,{"inputs":[{"name":"self"},{"name":"tempid"}],"output":{"name":"bool"}}],[11,"ge","","",4,{"inputs":[{"name":"self"},{"name":"tempid"}],"output":{"name":"bool"}}],[11,"eq","","",4,{"inputs":[{"name":"self"},{"name":"tempid"}],"output":{"name":"bool"}}],[11,"ne","","",4,{"inputs":[{"name":"self"},{"name":"tempid"}],"output":{"name":"bool"}}],[11,"into_external","","",4,{"inputs":[{"name":"self"}],"output":{"generics":["string"],"name":"option"}}],[11,"fmt","","",4,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"generics":["error"],"name":"result"}}],[11,"clone","","",5,{"inputs":[{"name":"self"}],"output":{"name":"entid"}}],[11,"fmt","","",5,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"hash","","",5,null],[11,"cmp","","",5,{"inputs":[{"name":"self"},{"name":"entid"}],"output":{"name":"ordering"}}],[11,"partial_cmp","","",5,{"inputs":[{"name":"self"},{"name":"entid"}],"output":{"generics":["ordering"],"name":"option"}}],[11,"lt","","",5,{"inputs":[{"name":"self"},{"name":"entid"}],"output":{"name":"bool"}}],[11,"le","","",5,{"inputs":[{"name":"self"},{"name":"entid"}],"output":{"name":"bool"}}],[11,"gt","","",5,{"inputs":[{"name":"self"},{"name":"ent
searchIndex["mentat"] = {"doc":"","items":[[3,"Attribute","mentat","A Mentat schema attribute has a value type and several other flags determining how assertions with the attribute are interpreted.",null,null],[12,"value_type","","The associated value type, i.e., `:db/valueType`?",0,null],[12,"multival","","`true` if this attribute is multi-valued, i.e., it is `:db/cardinality :db.cardinality/many`. `false` if this attribute is single-valued (the default), i.e., it is `:db/cardinality :db.cardinality/one`.",0,null],[12,"unique","","`None` if this attribute is neither unique-value nor unique-identity.",0,null],[12,"index","","`true` if this attribute is automatically indexed, i.e., it is `:db/indexing true`.",0,null],[12,"fulltext","","`true` if this attribute is automatically fulltext indexed, i.e., it is `:db/fulltext true`.",0,null],[12,"component","","`true` if this attribute is a component, i.e., it is `:db/isComponent true`.",0,null],[12,"no_history","","`true` if this attribute doesn't require history to be kept, i.e., it is `:db/noHistory true`.",0,null],[6,"Entid","","Represents one entid in the entid space.",null,null],[3,"DateTime","","ISO 8601 combined date and time with time zone.",null,null],[8,"HasSchema","","",null,null],[10,"entid_for_type","","",1,{"inputs":[{"name":"self"},{"name":"valuetype"}],"output":{"generics":["knownentid"],"name":"option"}}],[10,"get_ident","","",1,{"inputs":[{"name":"self"},{"name":"t"}],"output":{"generics":["keyword"],"name":"option"}}],[10,"get_entid","","",1,{"inputs":[{"name":"self"},{"name":"keyword"}],"output":{"generics":["knownentid"],"name":"option"}}],[10,"attribute_for_entid","","",1,{"inputs":[{"name":"self"},{"name":"t"}],"output":{"generics":["attribute"],"name":"option"}}],[10,"attribute_for_ident","","",1,{"inputs":[{"name":"self"},{"name":"keyword"}],"output":{"name":"option"}}],[10,"is_attribute","","Return true if the provided entid identifies an attribute in this schema.",1,{"inputs":[{"name":"self"},{"name":"t"}],"output":{"name":"bool"}}],[10,"identifies_attribute","","Return true if the provided ident identifies an attribute in this schema.",1,{"inputs":[{"name":"self"},{"name":"keyword"}],"output":{"name":"bool"}}],[10,"component_attributes","","",1,null],[3,"KnownEntid","","An entid that's either already in the store, or newly allocated to a tempid. TODO: we'd like to link this in some way to the lifetime of a particular PartitionMap.",null,null],[12,"0","","",2,null],[3,"Keyword","","A keyword is a symbol, optionally with a namespace, that prints with a leading colon. This concept is imported from Clojure, as it features in EDN and the query syntax that we use.",null,null],[3,"Schema","","Represents a Mentat schema.",null,null],[12,"entid_map","","Map entid->ident.",3,null],[12,"ident_map","","Map ident->entid.",3,null],[12,"attribute_map","","Map entid->attribute flags.",3,null],[12,"component_attributes","","Maintain a vec of unique attribute IDs for which the corresponding attribute in `attribute_map` has `.component == true`.",3,null],[4,"Binding","","The values bound in a query specification can be:",null,null],[13,"Scalar","","",4,null],[13,"Vec","","",4,null],[13,"Map","","",4,null],[4,"TypedValue","","Represents a value that can be stored in a Mentat store.",null,null],[13,"Ref","","",5,null],[13,"Boolean","","",5,null],[13,"Long","","",5,null],[13,"Double","","",5,null],[13,"Instant","","",5,null],[13,"String","","",5,null],[13,"Keyword","","",5,null],[13,"Uuid","","",5,null],[3,"Uuid","","A Universally Unique Identifier (UUID).",null,null],[3,"Utc","","The UTC time zone. This is the most efficient time zone when you don't need the local time. It is also used as an offset (which is also a dummy type).",null,null],[4,"ValueType","","The attribute of each Mentat assertion has a :db/valueType constraining the value to a particular set. Mentat recognizes the following :db/valueType values.",null,null],[13,"Ref","","",6,null],[13,"Boolean","","",6,null],[13,"Instant","","",6,null],[13,"Long","","",6,null],[13,"Double","","",6,null],[13,"String",
searchIndex["mentat_cli"] = {"doc":"","items":[[4,"CliError","mentat_cli","",null,null],[13,"CommandParse","","",0,null],[5,"run","","",null,{"inputs":[],"output":{"name":"i32"}}],[5,"version","","Returns a version string.",null,{"inputs":[],"output":{"name":"str"}}],[0,"command_parser","","",null,null],[4,"Command","mentat_cli::command_parser","",null,null],[13,"Cache","","",1,null],[13,"Close","","",1,null],[13,"Exit","","",1,null],[13,"Help","","",1,null],[13,"Import","","",1,null],[13,"Open","","",1,null],[13,"OpenEmpty","","",1,null],[13,"OpenEncrypted","","",1,null],[13,"OpenEmptyEncrypted","","",1,null],[13,"Query","","",1,null],[13,"QueryExplain","","",1,null],[13,"QueryPrepared","","",1,null],[13,"Schema","","",1,null],[13,"Sync","","",1,null],[13,"Timer","","",1,null],[13,"Transact","","",1,null],[5,"command","","",null,{"inputs":[{"name":"str"}],"output":{"generics":["command","error"],"name":"result"}}],[7,"COMMAND_CACHE","","",null,null],[7,"COMMAND_CLOSE","","",null,null],[7,"COMMAND_EXIT_LONG","","",null,null],[7,"COMMAND_EXIT_SHORT","","",null,null],[7,"COMMAND_HELP","","",null,null],[7,"COMMAND_IMPORT_LONG","","",null,null],[7,"COMMAND_IMPORT_SHORT","","",null,null],[7,"COMMAND_OPEN","","",null,null],[7,"COMMAND_OPEN_EMPTY","","",null,null],[7,"COMMAND_OPEN_ENCRYPTED","","",null,null],[7,"COMMAND_OPEN_EMPTY_ENCRYPTED","","",null,null],[7,"COMMAND_QUERY_LONG","","",null,null],[7,"COMMAND_QUERY_SHORT","","",null,null],[7,"COMMAND_QUERY_EXPLAIN_LONG","","",null,null],[7,"COMMAND_QUERY_EXPLAIN_SHORT","","",null,null],[7,"COMMAND_QUERY_PREPARED_LONG","","",null,null],[7,"COMMAND_SCHEMA","","",null,null],[7,"COMMAND_SYNC","","",null,null],[7,"COMMAND_TIMER_LONG","","",null,null],[7,"COMMAND_TRANSACT_LONG","","",null,null],[7,"COMMAND_TRANSACT_SHORT","","",null,null],[11,"clone","","",1,{"inputs":[{"name":"self"}],"output":{"name":"command"}}],[11,"fmt","","",1,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"eq","","",1,{"inputs":[{"name":"self"},{"name":"command"}],"output":{"name":"bool"}}],[11,"ne","","",1,{"inputs":[{"name":"self"},{"name":"command"}],"output":{"name":"bool"}}],[11,"is_complete","","is_complete returns true if no more input is required for the command to be successfully executed. false is returned if the command is not considered valid. Defaults to true for all commands except Query and Transact. TODO: for query and transact commands, they will be considered complete if a parsable EDN has been entered as an argument",1,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"is_timed","","",1,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"output","","",1,{"inputs":[{"name":"self"}],"output":{"name":"string"}}],[0,"input","mentat_cli","",null,null],[3,"InputReader","mentat_cli::input","Reads input from `stdin`",null,null],[4,"InputResult","","Possible results from reading input from `InputReader`",null,null],[13,"MetaCommand","","mentat command as input; (name, rest of line)",2,null],[13,"Empty","","An empty line",2,null],[13,"More","","Needs more input",2,null],[13,"Eof","","End of file reached",2,null],[11,"clone","","",2,{"inputs":[{"name":"self"}],"output":{"name":"inputresult"}}],[11,"fmt","","",2,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"new","","Constructs a new `InputReader` reading from `stdin`.",3,{"inputs":[],"output":{"name":"inputreader"}}],[11,"is_tty","","Returns whether the `InputReader` is reading from a TTY.",3,{"inputs":[{"name":"self"}],"output":{"name":"bool"}}],[11,"read_input","","Reads a single command, item, or statement from `stdin`. Returns `More` if further input is required for a complete result. In this case, the input received so far is buffered internally.",3,{"inputs":[{"name":"self"}],"output":{"generics":["inputresult","error"],"name":"result"}}],[0,"repl","mentat_cli","",null,null],[3,"Repl","mentat_cli::repl","Executes input and maintains state of persistent items.",null,null],[11,"db_name","","",4,{"inputs":[{"name":"self"}],"output":{"name":"string"}}],[11,"new"
searchIndex["mentat_core"] = {"doc":"","items":[[3,"Uuid","mentat_core","A Universally Unique Identifier (UUID).",null,null],[3,"DateTime","","ISO 8601 combined date and time with time zone.",null,null],[8,"Timelike","","The common set of methods for time component.",null,null],[10,"hour","","Returns the hour number from 0 to 23.",0,{"inputs":[{"name":"self"}],"output":{"name":"u32"}}],[11,"hour12","","Returns the hour number from 1 to 12 with a boolean flag, which is false for AM and true for PM.",0,null],[10,"minute","","Returns the minute number from 0 to 59.",0,{"inputs":[{"name":"self"}],"output":{"name":"u32"}}],[10,"second","","Returns the second number from 0 to 59.",0,{"inputs":[{"name":"self"}],"output":{"name":"u32"}}],[10,"nanosecond","","Returns the number of nanoseconds since the whole non-leap second. The range from 1,000,000,000 to 1,999,999,999 represents the leap second.",0,{"inputs":[{"name":"self"}],"output":{"name":"u32"}}],[10,"with_hour","","Makes a new value with the hour number changed.",0,{"inputs":[{"name":"self"},{"name":"u32"}],"output":{"name":"option"}}],[10,"with_minute","","Makes a new value with the minute number changed.",0,{"inputs":[{"name":"self"},{"name":"u32"}],"output":{"name":"option"}}],[10,"with_second","","Makes a new value with the second number changed.",0,{"inputs":[{"name":"self"},{"name":"u32"}],"output":{"name":"option"}}],[10,"with_nanosecond","","Makes a new value with nanoseconds since the whole non-leap second changed.",0,{"inputs":[{"name":"self"},{"name":"u32"}],"output":{"name":"option"}}],[11,"num_seconds_from_midnight","","Returns the number of non-leap seconds past the last midnight.",0,{"inputs":[{"name":"self"}],"output":{"name":"u32"}}],[8,"Cloned","","",null,null],[10,"cloned","","",1,{"inputs":[{"name":"self"}],"output":{"name":"t"}}],[10,"to_value_rc","","",1,{"inputs":[{"name":"self"}],"output":{"name":"arc"}}],[8,"FromMicros","","",null,null],[10,"from_micros","","",2,{"inputs":[{"name":"i64"}],"output":{"name":"self"}}],[8,"FromRc","","",null,null],[10,"from_rc","","",3,{"inputs":[{"name":"rc"}],"output":{"name":"self"}}],[10,"from_arc","","",3,{"inputs":[{"name":"arc"}],"output":{"name":"self"}}],[3,"Keyword","","A keyword is a symbol, optionally with a namespace, that prints with a leading colon. This concept is imported from Clojure, as it features in EDN and the query syntax that we use.",null,null],[8,"ToMicros","","",null,null],[10,"to_micros","","",4,{"inputs":[{"name":"self"}],"output":{"name":"i64"}}],[3,"Utc","","The UTC time zone. This is the most efficient time zone when you don't need the local time. It is also used as an offset (which is also a dummy type).",null,null],[6,"ValueRc","","This type alias exists to allow us to use different boxing mechanisms for values. This type must implement `FromRc` and `Cloned`, and a `From` implementation must exist for `TypedValue`.",null,null],[5,"parse_query","","",null,{"inputs":[{"name":"str"}],"output":{"generics":["parsedquery","parseerror"],"name":"result"}}],[3,"EdnParseError","","",null,null],[12,"line","","",5,null],[12,"column","","",5,null],[12,"offset","","",5,null],[12,"expected","","",5,null],[3,"KnownEntid","","An entid that's either already in the store, or newly allocated to a tempid. TODO: we'd like to link this in some way to the lifetime of a particular PartitionMap.",null,null],[12,"0","","",6,null],[3,"StructuredMap","","A pull expression expands a binding into a structure. The returned structure associates attributes named in the input or retrieved from the store with values. This association is a `StructuredMap`.",null,null],[12,"0","","",7,null],[3,"ValueTypeSet","","",null,null],[12,"0","","",8,null],[3,"Attribute","","A Mentat schema attribute has a value type and several other flags determining how assertions with the attribute are interpreted.",null,null],[12,"value_type","","The associated value type, i.e., `:db/valueType`?",9,null],[12,"multival","","`true` if this attribute is multi-valued, i.e., it is `:db/cardinality :db.cardinality/many`. `false` if this attribute
searchIndex["mentat_db"] = {"doc":"","items":[[3,"AttributeBuilder","mentat_db","",null,null],[12,"value_type","","",0,null],[12,"multival","","",0,null],[12,"unique","","",0,null],[12,"index","","",0,null],[12,"fulltext","","",0,null],[12,"component","","",0,null],[12,"no_history","","",0,null],[5,"transact","","Transact the given `entities` against the given SQLite `conn`, using the given metadata. If you want this work to occur inside a SQLite transaction, establish one on the connection prior to calling this function.",null,{"inputs":[{"name":"connection"},{"name":"partitionmap"},{"name":"schema"},{"name":"schema"},{"name":"w"},{"name":"i"}],"output":{"name":"result"}}],[5,"transact_terms","","Just like `transact`, but accepts lower-level inputs to allow bypassing the parser interface.",null,{"inputs":[{"name":"connection"},{"name":"partitionmap"},{"name":"schema"},{"name":"schema"},{"name":"w"},{"name":"i"},{"generics":["tempid"],"name":"internset"}],"output":{"name":"result"}}],[5,"to_namespaced_keyword","","",null,{"inputs":[{"name":"str"}],"output":{"generics":["keyword"],"name":"result"}}],[5,"repeat_values","","Prepare an SQL `VALUES` block, like (?, ?, ?), (?, ?, ?).",null,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"string"}}],[0,"errors","","",null,null],[3,"DbSqlError","mentat_db::errors","",null,null],[4,"CardinalityConflict","","",null,null],[13,"CardinalityOneAddConflict","","A cardinality one attribute has multiple assertions `[e a v1], [e a v2], ...`.",1,null],[12,"e","mentat_db::errors::CardinalityConflict","",1,null],[12,"a","","",1,null],[12,"vs","","",1,null],[13,"AddRetractConflict","mentat_db::errors","A datom has been both asserted and retracted, like `[:db/add e a v]` and `[:db/retract e a v]`.",1,null],[12,"e","mentat_db::errors::CardinalityConflict","",1,null],[12,"a","","",1,null],[12,"vs","","",1,null],[4,"SchemaConstraintViolation","mentat_db::errors","",null,null],[13,"ConflictingUpserts","","A transaction tried to assert datoms where one tempid upserts to two (or more) distinct entids.",2,null],[12,"conflicting_upserts","mentat_db::errors::SchemaConstraintViolation","A map from tempid to the entids it would upsert to.",2,null],[13,"TypeDisagreements","mentat_db::errors","A transaction tried to assert a datom or datoms with the wrong value `v` type(s).",2,null],[12,"conflicting_datoms","mentat_db::errors::SchemaConstraintViolation","The key (`[e a v]`) has an invalid value `v`: it is not of the expected value type.",2,null],[13,"CardinalityConflicts","mentat_db::errors","A transaction tried to assert datoms that don't observe the schema's cardinality constraints.",2,null],[12,"conflicts","mentat_db::errors::SchemaConstraintViolation","",2,null],[4,"InputError","mentat_db::errors","",null,null],[13,"BadDbId","","Map notation included a bad `:db/id` value.",3,null],[13,"BadEntityPlace","","A value place cannot be interpreted as an entity place (for example, in nested map notation).",3,null],[4,"DbError","","",null,null],[13,"NotYetImplemented","","We're just not done yet. Message that the feature is recognized but not yet implemented.",4,null],[13,"BadValuePair","","We've been given a value that isn't the correct Mentat type.",4,null],[13,"BadSQLValuePair","","We've got corrupt data in the SQL store: a value and value_type_tag don't line up. TODO _1.data_type()",4,null],[13,"BadBootstrapDefinition","","A bootstrap definition couldn't be parsed or installed. This is a programmer error, not a runtime error.",4,null],[13,"BadSchemaAssertion","","A schema assertion couldn't be parsed.",4,null],[13,"UnrecognizedIdent","","An ident->entid mapping failed.",4,null],[13,"UnrecognizedEntid","","An entid->ident mapping failed. We also use this error if you try to transact an entid that we didn't allocate, in part because we blow the stack in error_chain if we define a new enum!",4,null],[13,"UnknownAttribute","","",4,null],[13,"CannotCacheNonUniqueAttributeInReverse","","",4,null],[13,"SchemaAlterationFailed","","",4,null],[13,"SchemaConstraintViolation","","A transaction tried t
searchIndex["mentat_ffi"] = {"doc":"This module exposes an Foreign Function Interface (FFI) that allows Mentat to be called from other languages.","items":[[4,"Binding","mentat_ffi","The values bound in a query specification can be:",null,null],[13,"Scalar","","",0,null],[13,"Vec","","",0,null],[13,"Map","","",0,null],[4,"CacheDirection","","",null,null],[13,"Forward","","",1,null],[13,"Reverse","","",1,null],[13,"Both","","",1,null],[6,"Entid","","Represents one entid in the entid space.",null,null],[4,"FindSpec","","A definition of the first part of a find query: the `[:find ?foo ?bar…]` bit.",null,null],[13,"FindRel","","Returns an array of arrays, represented as a single array with length a multiple of width.",2,null],[13,"FindColl","","Returns an array of scalars, usually homogeneous. This is equivalent to mapping over the results of a `FindRel`, returning the first value of each.",2,null],[13,"FindTuple","","Returns a single tuple: a heterogeneous array of scalars. Equivalent to taking the first result from a `FindRel`.",2,null],[13,"FindScalar","","Returns a single scalar value. Equivalent to taking the first result from a `FindColl`.",2,null],[8,"HasSchema","","",null,null],[10,"entid_for_type","","",3,{"inputs":[{"name":"self"},{"name":"valuetype"}],"output":{"generics":["knownentid"],"name":"option"}}],[10,"get_ident","","",3,{"inputs":[{"name":"self"},{"name":"t"}],"output":{"generics":["keyword"],"name":"option"}}],[10,"get_entid","","",3,{"inputs":[{"name":"self"},{"name":"keyword"}],"output":{"generics":["knownentid"],"name":"option"}}],[10,"attribute_for_entid","","",3,{"inputs":[{"name":"self"},{"name":"t"}],"output":{"generics":["attribute"],"name":"option"}}],[10,"attribute_for_ident","","",3,{"inputs":[{"name":"self"},{"name":"keyword"}],"output":{"name":"option"}}],[10,"is_attribute","","Return true if the provided entid identifies an attribute in this schema.",3,{"inputs":[{"name":"self"},{"name":"t"}],"output":{"name":"bool"}}],[10,"identifies_attribute","","Return true if the provided ident identifies an attribute in this schema.",3,{"inputs":[{"name":"self"},{"name":"keyword"}],"output":{"name":"bool"}}],[10,"component_attributes","","",3,null],[3,"InProgress","","Represents an in-progress, not yet committed, set of changes to the store. Call `commit` to commit your changes, or `rollback` to discard them. A transaction is held open until you do so. Your changes will be implicitly dropped along with this struct.",null,null],[3,"KnownEntid","","An entid that's either already in the store, or newly allocated to a tempid. TODO: we'd like to link this in some way to the lifetime of a particular PartitionMap.",null,null],[12,"0","","",4,null],[8,"Queryable","","",null,null],[10,"q_explain","","",5,{"inputs":[{"name":"self"},{"name":"str"},{"name":"t"}],"output":{"generics":["queryexplanation","error"],"name":"result"}}],[10,"q_once","","",5,{"inputs":[{"name":"self"},{"name":"str"},{"name":"t"}],"output":{"generics":["queryoutput","error"],"name":"result"}}],[10,"q_prepare","","",5,{"inputs":[{"name":"self"},{"name":"str"},{"name":"t"}],"output":{"generics":["preparedquery","error"],"name":"result"}}],[10,"lookup_values_for_attribute","","",5,{"inputs":[{"name":"self"},{"name":"e"},{"name":"keyword"}],"output":{"generics":["vec","error"],"name":"result"}}],[10,"lookup_value_for_attribute","","",5,{"inputs":[{"name":"self"},{"name":"e"},{"name":"keyword"}],"output":{"generics":["option","error"],"name":"result"}}],[3,"QueryBuilder","","",null,null],[3,"QueryInputs","","Define the inputs to a query. This is in two parts: a set of values known now, and a set of types known now. The separate map of types is to allow queries to be algebrized without full knowledge of the bindings that will be used at execution time. When built correctly, `types` is guaranteed to contain the types of `values` -- use `QueryInputs::new` or `QueryInputs::with_values` to construct an instance.",null,null],[3,"QueryOutput","","",null,null],[12,"spec","","",6,null],[12,"results","","",6,null],[4,"QueryResults","","",null,null],[
searchIndex["mentat_parser_utils"] = {"doc":"","items":[[3,"ValueParseError","mentat_parser_utils","A `ValueParseError` is a `combine::primitives::ParseError`-alike that implements the `Debug`, `Display`, and `std::error::Error` traits. In addition, it doesn't capture references.",null,null],[12,"position","","",0,null],[12,"errors","","",0,null],[0,"macros","","",null,null],[3,"KeywordMapParser","mentat_parser_utils::macros","",null,null],[12,"0","","",1,null],[6,"ResultParser","","A type definition for a function parser that either parses an `O` from an input stream of type `I`, or fails with an \"expected\" failure. See https://docs.rs/combine/2.2.1/combine/trait.Parser.html#method.expected for more illumination. Nothing about this is specific to the result type of the parser.",null,null],[0,"log","mentat_parser_utils","",null,null],[0,"value_and_span","","",null,null],[3,"SpanPosition","mentat_parser_utils::value_and_span","A wrapper to let us order `edn::Span` in whatever way is appropriate for parsing with `combine`.",null,null],[12,"0","","",2,null],[3,"Stream","","A single `combine::Stream` implementation iterating `edn::ValueAndSpan` instances. Equivalent to `combine::IteratorStream` as produced by `combine::from_iter`, but specialized to `edn::ValueAndSpan`.",null,null],[3,"OfExactly","","`OfExactly` and `of_exactly` allow us to express nested parsers naturally.",null,null],[4,"Iter","","An iterator specifically for iterating `edn::ValueAndSpan` instances in various ways.",null,null],[13,"Empty","","",3,null],[13,"Atom","","",3,null],[13,"Vector","","",3,null],[13,"List","","",3,null],[13,"Map","","Iterates a map {:k1 v1, :k2 v2, ...} as a single `flat_map` slice [k1, v1, k2, v2, ...].",3,null],[13,"KeywordMap","","Iterates a map with vector values {:k1 [v11 v12 ...], :k2 [v21 v22 ...], ...} as a single flattened map [k1, v11, v12, ..., k2, v21, v22, ...].",3,null],[5,"of_exactly","","",null,{"inputs":[{"name":"p"},{"name":"n"}],"output":{"name":"ofexactly"}}],[5,"vector_","","Shorthands, just enough to convert the `mentat_db` crate for now. Written using `Box` for now: it's simple and we can address allocation issues if and when they surface.",null,{"inputs":[{"name":"stream"}],"output":{"generics":["stream","stream"],"name":"parseresult"}}],[5,"vector","","",null,{"inputs":[],"output":{"generics":["fnparser"],"name":"expected"}}],[5,"list_","","",null,{"inputs":[{"name":"stream"}],"output":{"generics":["stream","stream"],"name":"parseresult"}}],[5,"list","","",null,{"inputs":[],"output":{"generics":["fnparser"],"name":"expected"}}],[5,"seq_","","",null,{"inputs":[{"name":"stream"}],"output":{"generics":["stream","stream"],"name":"parseresult"}}],[5,"seq","","",null,{"inputs":[],"output":{"generics":["fnparser"],"name":"expected"}}],[5,"map_","","",null,{"inputs":[{"name":"stream"}],"output":{"generics":["stream","stream"],"name":"parseresult"}}],[5,"map","","",null,{"inputs":[],"output":{"generics":["fnparser"],"name":"expected"}}],[5,"is_valid_keyword_map_k_v","","A `[k v]` pair in the map form of a keyword map must have the shape `[:k, [v1, v2, ...]]`, with none of `v1`, `v2`, ... a keyword: without loss of generality, we cannot represent the case where `vn` is a keyword `:l`, since `[:k v1 v2 ... :l]`, isn't a valid keyword map in vector form. This function tests that a `[k v]` pair obeys these constraints.",null,null],[5,"keyword_map_","","",null,{"inputs":[{"name":"stream"}],"output":{"generics":["stream","stream"],"name":"parseresult"}}],[5,"keyword_map","","",null,{"inputs":[],"output":{"generics":["fnparser"],"name":"expected"}}],[5,"integer_","","",null,{"inputs":[{"name":"stream"}],"output":{"generics":["i64","stream"],"name":"parseresult"}}],[5,"integer","","",null,{"inputs":[],"output":{"generics":["fnparser"],"name":"expected"}}],[5,"any_keyword_","","",null,{"inputs":[{"name":"stream"}],"output":{"generics":["keyword","stream"],"name":"parseresult"}}],[5,"namespaced_keyword_","","",null,{"inputs":[{"name":"stream"}],"output":{"generics":["keyword","stream"],"name":"parseresult"}}],[5,"any_k
2018-06-21 14:44:35 +00:00
searchIndex["mentat_query"] = {"doc":"","items":[],"paths":[]};
2018-06-22 17:25:54 +00:00
searchIndex["mentat_query_algebrizer"] = {"doc":"","items":[[3,"InvalidBinding","mentat_query_algebrizer","",null,null],[12,"function","","",0,null],[12,"inner","","",0,null],[3,"QueryInputs","","Define the inputs to a query. This is in two parts: a set of values known now, and a set of types known now. The separate map of types is to allow queries to be algebrized without full knowledge of the bindings that will be used at execution time. When built correctly, `types` is guaranteed to contain the types of `values` -- use `QueryInputs::new` or `QueryInputs::with_values` to construct an instance.",null,null],[3,"FindQuery","","A `FindQuery` represents a valid query to the query algebrizer.",null,null],[12,"find_spec","","",1,null],[12,"default_source","","",1,null],[12,"with","","",1,null],[12,"in_vars","","",1,null],[12,"in_sources","","",1,null],[12,"limit","","",1,null],[12,"where_clauses","","",1,null],[12,"order","","",1,null],[3,"Known","","A convenience wrapper around things known in memory: the schema and caches. We use a trait object here to avoid making dozens of functions generic over the type of the cache. If performance becomes a concern, we should hard-code specific kinds of cache right here, and/or eliminate the Option.",null,null],[12,"schema","","",2,null],[12,"cache","","",2,null],[3,"AlgebraicQuery","","",null,null],[12,"find_spec","","",3,null],[12,"with","","The set of variables that the caller wishes to be used for grouping when aggregating. These are specified in the query input, as `:with`, and are then chewed up during projection. If no variables are supplied, then no additional grouping is necessary beyond the non-aggregated projection list.",3,null],[12,"named_projection","","Some query features, such as ordering, are implemented by implicit reference to SQL columns. In order for these references to be 'live', those columns must be projected. This is the set of variables that must be so projected. This is not necessarily every variable that will be so required -- some variables will already be in the projection list.",3,null],[12,"order","","",3,null],[12,"limit","","",3,null],[12,"cc","","",3,null],[3,"ConjoiningClauses","","A `ConjoiningClauses` (CC) is a collection of clauses that are combined with `JOIN`. The topmost form in a query is a `ConjoiningClauses`.",null,null],[12,"empty_because","","`Some` if this set of clauses cannot yield results in the context of the current schema.",4,null],[12,"from","","A vector of source/alias pairs used to construct a SQL `FROM` list.",4,null],[12,"computed_tables","","A vector of computed tables (typically subqueries). The index into this vector is used as an identifier in a `DatomsTable::Computed(c)` table reference.",4,null],[12,"wheres","","A list of fragments that can be joined by `AND`.",4,null],[12,"column_bindings","","A map from var to qualified columns. Used to project.",4,null],[12,"input_variables","","A list of variables mentioned in the enclosing query's :in clause. These must all be bound before the query can be executed. TODO: clarify what this means for nested CCs.",4,null],[12,"known_types","","A map from var to type. Whenever a var maps unambiguously to two different types, it cannot yield results, so we don't represent that case here. If a var isn't present in the map, it means that its type is not known in advance. Usually that state should be represented by `ValueTypeSet::Any`.",4,null],[12,"extracted_types","","A mapping, similar to `column_bindings`, but used to pull type tags out of the store at runtime. If a var isn't unit in `known_types`, it should be present here.",4,null],[3,"ColumnAlternation","","A `ColumnAlternation` constraint is satisfied if at least one of its inner constraints is satisfied. An empty `ColumnAlternation` is never satisfied.",null,null],[12,"0","","",5,null],[3,"ColumnIntersection","","A `ColumnIntersection` constraint is satisfied if all of its inner constraints are satisfied. An empty intersection is always satisfied.",null,null],[12,"0","","",6,null],[3,"OrderBy","","Represents an entry in the ORDER
searchIndex["mentat_query_projector"] = {"doc":"","items":[[3,"ConstantProjector","mentat_query_projector","A projector that produces a `QueryResult` containing fixed data. Takes a boxed function that should return an empty result set of the desired type.",null,null],[3,"RelResult","","The result you get from a 'rel' query, like:",null,null],[12,"width","","",0,null],[12,"values","","",0,null],[3,"QueryOutput","","",null,null],[12,"spec","","",1,null],[12,"results","","",1,null],[3,"CombinedProjection","","Combines the things you need to turn a query into SQL and turn its results into `QueryResults`: SQL-related projection information (`DISTINCT`, columns, etc.) and a Datalog projector that turns SQL into structures.",null,null],[12,"sql_projection","","A SQL projection, mapping columns mentioned in the body of the query to columns in the output.",2,null],[12,"pre_aggregate_projection","","If a query contains aggregates, we need to generate a nested subquery: an inner query that returns our distinct variable bindings (and any `:with` vars), and an outer query that applies aggregation. That's so we can put `DISTINCT` in the inner query and apply aggregation afterwards -- `SELECT DISTINCT count(foo)` counts then uniques, and we need the opposite to implement Datalog distinct semantics. If this is the case, `sql_projection` will be the outer query's projection list, and `pre_aggregate_projection` will be the inner. If the query doesn't use aggregation, this field will be `None`.",2,null],[12,"datalog_projector","","A Datalog projection. This consumes rows of the appropriate shape (as defined by the SQL projection) to yield one of the four kinds of Datalog query result.",2,null],[12,"distinct","","True if this query requires the SQL query to include DISTINCT.",2,null],[12,"group_by_cols","","",2,null],[4,"SimpleAggregationOp","","",null,null],[13,"Avg","","",3,null],[13,"Count","","",3,null],[13,"Max","","",3,null],[13,"Min","","",3,null],[13,"Sum","","",3,null],[4,"QueryResults","","",null,null],[13,"Scalar","","",4,null],[13,"Tuple","","",4,null],[13,"Coll","","",4,null],[13,"Rel","","",4,null],[5,"projected_column_for_var","","Return the projected column -- that is, a value or SQL column and an associated name -- for a given variable. Also return the type. Callers are expected to determine whether to project a type tag as an additional SQL column.",null,{"inputs":[{"name":"variable"},{"name":"conjoiningclauses"}],"output":{"name":"result"}}],[5,"query_projection","","Compute a suitable SQL projection for an algebrized query. This takes into account a number of things: - The variable list in the find spec. - The presence of any aggregate operations in the find spec. TODO: for now we only handle simple variables - The bindings established by the topmost CC. - The types known at algebrizing time. - The types extracted from the store for unknown attributes.",null,{"inputs":[{"name":"schema"},{"name":"algebraicquery"}],"output":{"generics":["either"],"name":"result"}}],[0,"errors","","",null,null],[4,"ProjectorError","mentat_query_projector::errors","",null,null],[13,"NotYetImplemented","","We're just not done yet. Message that the feature is recognized but not yet implemented.",5,null],[13,"CannotProjectImpossibleBinding","","",5,null],[13,"CannotApplyAggregateOperationToTypes","","",5,null],[13,"InvalidProjection","","",5,null],[13,"UnboundVariable","","",5,null],[13,"NoTypeAvailableForVariable","","",5,null],[13,"UnexpectedResultsType","","",5,null],[13,"AmbiguousAggregates","","",5,null],[6,"Result","","",null,null],[11,"fmt","","",5,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"cause","","",5,{"inputs":[{"name":"self"}],"output":{"generics":["fail"],"name":"option"}}],[11,"backtrace","","",5,{"inputs":[{"name":"self"}],"output":{"generics":["backtrace"],"name":"option"}}],[11,"fmt","","",5,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"clone","mentat_query_projector","",3,{"inputs":[{"name":"self"}],"output":{"name":"simpleaggregationop"}}],[11,"
searchIndex["mentat_query_pull"] = {"doc":"","items":[[3,"Puller","mentat_query_pull","A `Puller` constructs on demand a map from a provided set of entity IDs to a set of structured maps.",null,null],[5,"pull_attributes_for_entity","","",null,{"inputs":[{"name":"schema"},{"name":"connection"},{"name":"entid"},{"name":"a"}],"output":{"generics":["structuredmap"],"name":"result"}}],[5,"pull_attributes_for_entities","","",null,{"inputs":[{"name":"schema"},{"name":"connection"},{"name":"e"},{"name":"a"}],"output":{"generics":["btreemap"],"name":"result"}}],[0,"errors","","",null,null],[4,"PullError","mentat_query_pull::errors","",null,null],[13,"UnnamedAttribute","","",0,null],[13,"RepeatedDbId","","",0,null],[6,"Result","","",null,null],[11,"fmt","","",0,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"cause","","",0,{"inputs":[{"name":"self"}],"output":{"generics":["fail"],"name":"option"}}],[11,"backtrace","","",0,{"inputs":[{"name":"self"}],"output":{"generics":["backtrace"],"name":"option"}}],[11,"fmt","","",0,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"prepare","mentat_query_pull","",1,{"inputs":[{"name":"schema"},{"generics":["pullattributespec"],"name":"vec"}],"output":{"generics":["puller"],"name":"result"}}],[11,"pull","","",1,{"inputs":[{"name":"self"},{"name":"schema"},{"name":"connection"},{"name":"e"}],"output":{"generics":["btreemap"],"name":"result"}}]],"paths":[[4,"PullError"],[3,"Puller"]]};
searchIndex["mentat_query_sql"] = {"doc":"","items":[[3,"ProjectedColumn","mentat_query_sql","",null,null],[12,"0","","",0,null],[12,"1","","",0,null],[3,"Op","","",null,null],[12,"0","","",1,null],[3,"TableList","","",null,null],[12,"0","","",2,null],[3,"Join","","",null,null],[3,"SelectQuery","","",null,null],[12,"distinct","","",3,null],[12,"projection","","",3,null],[12,"from","","",3,null],[12,"constraints","","",3,null],[12,"group_by","","",3,null],[12,"order","","",3,null],[12,"limit","","",3,null],[4,"ColumnOrExpression","","One of the things that can appear in a projection or a constraint. Note that we use `TypedValue` here; it's not pure SQL, but it avoids us having to concern ourselves at this point with the translation between a `TypedValue` and the storage-layer representation.",null,null],[13,"Column","","",4,null],[13,"ExistingColumn","","",4,null],[13,"Entid","","",4,null],[13,"Integer","","",4,null],[13,"Long","","",4,null],[13,"Value","","",4,null],[13,"NullableAggregate","","",4,null],[13,"Expression","","",4,null],[4,"Expression","","",null,null],[13,"Unary","","",5,null],[12,"sql_op","mentat_query_sql::Expression","",5,null],[12,"arg","","",5,null],[4,"Projection","mentat_query_sql","",null,null],[13,"Columns","","",6,null],[13,"Star","","",6,null],[13,"One","","",6,null],[4,"GroupBy","","",null,null],[13,"ProjectedColumn","","",7,null],[13,"QueryColumn","","",7,null],[4,"Constraint","","",null,null],[13,"Infix","","",8,null],[12,"op","mentat_query_sql::Constraint","",8,null],[12,"left","","",8,null],[12,"right","","",8,null],[13,"Or","mentat_query_sql","",8,null],[12,"constraints","mentat_query_sql::Constraint","",8,null],[13,"And","mentat_query_sql","",8,null],[12,"constraints","mentat_query_sql::Constraint","",8,null],[13,"In","mentat_query_sql","",8,null],[12,"left","mentat_query_sql::Constraint","",8,null],[12,"list","","",8,null],[13,"IsNull","mentat_query_sql","",8,null],[12,"value","mentat_query_sql::Constraint","",8,null],[13,"IsNotNull","mentat_query_sql","",8,null],[12,"value","mentat_query_sql::Constraint","",8,null],[13,"NotExists","mentat_query_sql","",8,null],[12,"subquery","mentat_query_sql::Constraint","",8,null],[13,"TypeCheck","mentat_query_sql","",8,null],[12,"value","mentat_query_sql::Constraint","",8,null],[12,"affinity","","",8,null],[4,"TableOrSubquery","mentat_query_sql","",null,null],[13,"Table","","",9,null],[13,"Union","","",9,null],[13,"Subquery","","",9,null],[13,"Values","","",9,null],[4,"Values","","",null,null],[13,"Unnamed","","Like \"VALUES (0, 1), (2, 3), ...\". The vector must be of a length that is a multiple of the given size.",10,null],[13,"Named","","Like \"SELECT 0 AS x, SELECT 0 AS y WHERE 0 UNION ALL VALUES (0, 1), (2, 3), ...\". The vector of values must be of a length that is a multiple of the length of the vector of names.",10,null],[4,"FromClause","","",null,null],[13,"TableList","","",11,null],[13,"Join","","",11,null],[13,"Nothing","","",11,null],[6,"Name","","",null,null],[11,"from","","",4,{"inputs":[{"name":"queryvalue"}],"output":{"name":"self"}}],[11,"fmt","","",7,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"eq","","",7,{"inputs":[{"name":"self"},{"name":"groupby"}],"output":{"name":"bool"}}],[11,"ne","","",7,{"inputs":[{"name":"self"},{"name":"groupby"}],"output":{"name":"bool"}}],[11,"push_sql","","",7,{"inputs":[{"name":"self"},{"name":"querybuilder"}],"output":{"name":"buildqueryresult"}}],[11,"clone","","",1,{"inputs":[{"name":"self"}],"output":{"name":"op"}}],[11,"not_equal","","",8,{"inputs":[{"name":"columnorexpression"},{"name":"columnorexpression"}],"output":{"name":"constraint"}}],[11,"equal","","",8,{"inputs":[{"name":"columnorexpression"},{"name":"columnorexpression"}],"output":{"name":"constraint"}}],[11,"fulltext_match","","",8,{"inputs":[{"name":"columnorexpression"},{"name":"columnorexpression"}],"output":{"name":"constraint"}}],[11,"push_sql","","",4,{"inputs":[{"name":"self"},{"name":"querybuilder"}],"output":{"name":"buildqueryresult"}}],[11,"push_sql","","",5,{"inputs":[{"name":"self"},{
searchIndex["mentat_query_translator"] = {"doc":"","items":[[4,"Projection","mentat_query_translator","",null,null],[13,"Columns","","",0,null],[13,"Star","","",0,null],[13,"One","","",0,null],[4,"ProjectedSelect","","",null,null],[13,"Constant","","",1,null],[13,"Query","","",1,null],[12,"query","mentat_query_translator::ProjectedSelect","",1,null],[12,"projector","","",1,null],[5,"cc_to_exists","mentat_query_translator","Return a query that projects `1` if the `cc` matches the store, and returns no results if it doesn't.",null,{"inputs":[{"name":"conjoiningclauses"}],"output":{"name":"selectquery"}}],[5,"query_to_select","","Consume a provided `AlgebraicQuery` to yield a new `ProjectedSelect`.",null,{"inputs":[{"name":"schema"},{"name":"algebraicquery"}],"output":{"generics":["projectedselect","error"],"name":"result"}}],[11,"push_sql","","",0,{"inputs":[{"name":"self"},{"name":"querybuilder"}],"output":{"generics":["sqlerror"],"name":"result"}}]],"paths":[[4,"Projection"],[4,"ProjectedSelect"]]};
searchIndex["mentat_sql"] = {"doc":"","items":[[4,"Value","mentat_sql","Owning dynamic type value. Value's type is typically dictated by SQLite (not by the caller).",null,null],[13,"Null","","The value is a `NULL` value.",0,null],[13,"Integer","","The value is a signed integer.",0,null],[13,"Real","","The value is a floating point number.",0,null],[13,"Text","","The value is a text string.",0,null],[13,"Blob","","The value is a blob of data",0,null],[3,"SQLQuery","","We want to accumulate values that will later be substituted into a SQL statement execution. This struct encapsulates the generated string and the initial argument list. Additional user-supplied argument bindings, with their placeholders accumulated via `push_bind_param`, will be appended to this argument list.",null,null],[12,"sql","","",1,null],[12,"args","","These will eventually perhaps be rusqlite `ToSql` instances.",1,null],[3,"SQLiteQueryBuilder","","A QueryBuilder that implements SQLite's specific escaping rules.",null,null],[12,"sql","","",2,null],[4,"SQLError","","",null,null],[13,"InvalidParameterName","","",3,null],[13,"BindParamCouldBeGenerated","","",3,null],[6,"BuildQueryResult","","",null,null],[8,"QueryBuilder","","Gratefully based on Diesel's QueryBuilder trait: https://github.com/diesel-rs/diesel/blob/4885f61b8205f7f3c2cfa03837ed6714831abe6b/diesel/src/query_builder/mod.rs#L56",null,null],[10,"push_sql","","",4,{"inputs":[{"name":"self"},{"name":"str"}],"output":null}],[10,"push_identifier","","",4,{"inputs":[{"name":"self"},{"name":"str"}],"output":{"name":"buildqueryresult"}}],[10,"push_typed_value","","",4,{"inputs":[{"name":"self"},{"name":"typedvalue"}],"output":{"name":"buildqueryresult"}}],[10,"push_bind_param","","",4,{"inputs":[{"name":"self"},{"name":"str"}],"output":{"name":"buildqueryresult"}}],[10,"finish","","",4,{"inputs":[{"name":"self"}],"output":{"name":"sqlquery"}}],[8,"QueryFragment","","",null,null],[10,"push_sql","","",5,{"inputs":[{"name":"self"},{"name":"querybuilder"}],"output":{"name":"buildqueryresult"}}],[11,"fmt","","",3,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"cause","","",3,{"inputs":[{"name":"self"}],"output":{"generics":["fail"],"name":"option"}}],[11,"backtrace","","",3,{"inputs":[{"name":"self"}],"output":{"generics":["backtrace"],"name":"option"}}],[11,"fmt","","",3,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"new","","",2,{"inputs":[],"output":{"name":"self"}}],[11,"with_prefix","","",2,{"inputs":[{"name":"string"}],"output":{"name":"self"}}],[11,"push_sql","","",2,{"inputs":[{"name":"self"},{"name":"str"}],"output":null}],[11,"push_identifier","","",2,{"inputs":[{"name":"self"},{"name":"str"}],"output":{"name":"buildqueryresult"}}],[11,"push_typed_value","","",2,{"inputs":[{"name":"self"},{"name":"typedvalue"}],"output":{"name":"buildqueryresult"}}],[11,"push_bind_param","","Our bind parameters will be interleaved with pushed `TypedValue` instances. That means we need to use named parameters, not positional parameters. The `name` argument to this method is expected to be alphanumeric. If not, this method returns an `InvalidParameterName` error result. Callers should make sure that the name doesn't overlap with generated parameter names. If it does, `BindParamCouldBeGenerated` is the error.",2,{"inputs":[{"name":"self"},{"name":"str"}],"output":{"name":"buildqueryresult"}}],[11,"finish","","",2,{"inputs":[{"name":"self"}],"output":{"name":"sqlquery"}}],[11,"data_type","","",0,{"inputs":[{"name":"self"}],"output":{"name":"type"}}],[11,"clone","","",0,{"inputs":[{"name":"self"}],"output":{"name":"value"}}],[11,"fmt","","",0,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"generics":["error"],"name":"result"}}],[11,"column_result","","",0,{"inputs":[{"name":"valueref"}],"output":{"generics":["value","fromsqlerror"],"name":"result"}}],[11,"to_sql","","",0,{"inputs":[{"name":"self"}],"output":{"generics":["tosqloutput","error"],"name":"result"}}],[11,"from","","",0,{"inputs":[{"name":"i16"}],"output":{"name":"value"}}]
searchIndex["mentat_tolstoy"] = {"doc":"","items":[[0,"errors","mentat_tolstoy","",null,null],[4,"TolstoyError","mentat_tolstoy::errors","",null,null],[13,"BadServerResponse","","",0,null],[13,"DuplicateMetadata","","",0,null],[13,"TxProcessorUnfinished","","",0,null],[13,"TxIncorrectlyMapped","","",0,null],[13,"UnexpectedState","","",0,null],[13,"NotYetImplemented","","",0,null],[6,"Result","","",null,null],[11,"fmt","","",0,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"cause","","",0,{"inputs":[{"name":"self"}],"output":{"generics":["fail"],"name":"option"}}],[11,"backtrace","","",0,{"inputs":[{"name":"self"}],"output":{"generics":["backtrace"],"name":"option"}}],[11,"fmt","","",0,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[0,"schema","mentat_tolstoy","",null,null],[5,"ensure_current_version","mentat_tolstoy::schema","",null,{"inputs":[{"name":"connection"}],"output":{"name":"result"}}],[7,"REMOTE_HEAD_KEY","","",null,null],[0,"metadata","mentat_tolstoy","",null,null],[3,"SyncMetadataClient","mentat_tolstoy::metadata","",null,null],[8,"HeadTrackable","","",null,null],[10,"remote_head","","",1,{"inputs":[{"name":"transaction"}],"output":{"generics":["uuid"],"name":"result"}}],[10,"set_remote_head","","",1,{"inputs":[{"name":"transaction"},{"name":"uuid"}],"output":{"name":"result"}}],[11,"remote_head","","",2,{"inputs":[{"name":"transaction"}],"output":{"generics":["uuid"],"name":"result"}}],[11,"set_remote_head","","",2,{"inputs":[{"name":"transaction"},{"name":"uuid"}],"output":{"name":"result"}}],[0,"tx_processor","mentat_tolstoy","",null,null],[3,"TxPart","mentat_tolstoy::tx_processor","",null,null],[12,"e","","",3,null],[12,"a","","",3,null],[12,"v","","",3,null],[12,"tx","","",3,null],[12,"added","","",3,null],[3,"Processor","","",null,null],[3,"DatomsIterator","","",null,null],[8,"TxReceiver","","",null,null],[10,"tx","","",4,{"inputs":[{"name":"self"},{"name":"entid"},{"name":"t"}],"output":{"name":"result"}}],[10,"done","","",4,{"inputs":[{"name":"self"}],"output":{"name":"result"}}],[11,"fmt","","",3,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"clone","","",3,{"inputs":[{"name":"self"}],"output":{"name":"txpart"}}],[11,"next","","",5,{"inputs":[{"name":"self"}],"output":{"name":"option"}}],[11,"process","","",6,{"inputs":[{"name":"transaction"},{"generics":["entid"],"name":"option"},{"name":"r"}],"output":{"name":"result"}}],[0,"syncer","mentat_tolstoy","",null,null],[3,"Syncer","mentat_tolstoy::syncer","",null,null],[5,"d","","",null,{"inputs":[{"name":"str"}],"output":null}],[11,"flow","","",7,{"inputs":[{"name":"connection"},{"name":"string"},{"name":"uuid"}],"output":{"name":"result"}}],[0,"tx_mapper","mentat_tolstoy","",null,null],[3,"TxMapper","mentat_tolstoy::tx_mapper","",null,null],[11,"set_bulk","","",8,{"inputs":[{"name":"transaction"},{"name":"hashmap"}],"output":{"name":"result"}}],[11,"get_or_set_uuid_for_tx","","",8,{"inputs":[{"name":"transaction"},{"name":"entid"}],"output":{"generics":["uuid"],"name":"result"}}],[11,"get_tx_for_uuid","","",8,{"inputs":[{"name":"transaction"},{"name":"uuid"}],"output":{"generics":["option"],"name":"result"}}],[11,"get","","",8,{"inputs":[{"name":"transaction"},{"name":"entid"}],"output":{"generics":["option"],"name":"result"}}],[14,"bail","mentat_tolstoy","",null,null]],"paths":[[4,"TolstoyError"],[8,"HeadTrackable"],[3,"SyncMetadataClient"],[3,"TxPart"],[8,"TxReceiver"],[3,"DatomsIterator"],[3,"Processor"],[3,"Syncer"],[3,"TxMapper"]]};
2018-06-21 14:44:35 +00:00
initSearch(searchIndex);