Loading TOC...

MarkLogic 12 EA 2 Product Documentation
op functions (Data Access Functions)

The following functions are used to access data persisted in the row triple, triple, and lexicon indexes as well as literal row sets constructed in the program.

For more information, see Data Access Functions in the Application Developer's Guide

11 functions
Function name Description
op.fromDocDescriptors This function constructs document rows from the docsDescriptors.
op.fromDocUris This function matches and returns the uri for documents.
op.fromLexicons This function dynamically constructs a view from range indexes or the uri or collection lexicons.
op.fromLiterals Constructs a literal row set as in the SQL VALUES or SPARQL VALUES statements.
op.fromParam This function constructs document rows with rows provided by a parameter.
op.fromSearch This function dynamically constructs a row set based on a cts.query where the columns for the document fragment id and score reflecting the degree of match of the document with the query criteria.
op.fromSearchDocs This function matches and returns the uri, content, and score for documents.
op.fromSPARQL This function dynamically constructs a row set based on a SPARQL SELECT query from triples.
op.fromSQL This function dynamically constructs a row set based on a SQL SELECT query from views.
op.fromTriples Reads rows by matching patterns in the triple index.
op.fromView This function reads a row set from a configured view over TDE-indexed rows or a predefined view over range indexes.