[ class tree: ] [ index: ] [ all elements ]

Index of all elements

[ c ] [ e ] [ f ] [ g ] [ h ] [ i ] [ j ] [ m ] [ n ] [ p ] [ q ] [ r ] [ s ] [ t ] [ w ] [ _ ]

c

countResults
in file ResultIterator.php, method RDF_RDQL_ResultIterator::countResults()
    Returns the number of results.
current
in file ResultIterator.php, method RDF_RDQL_ResultIterator::current()
    Returns the current result.
custom_rdql_test.php
procedural page custom_rdql_test.php
top

e

errorMessage
in file RDQL.php, method RDF_RDQL::errorMessage()
    Return a textual error message for a RAP error code.
Engine.php
procedural page Engine.php
top

f

filterQueryResult
in file MDB.php, method RDF_RDQL_Engine_MDB::filterQueryResult()
    Filter tuples containing variables matching all patterns from the WHERE clause of an RDQL query. As a result of a database query using ADOdb these tuples are returned as an ADORecordSet object, which is then passed to this function.
filterTuples
in file Memory.php, method RDF_RDQL_Engine_Memory::filterTuples()
    Filter the result-set of query variables by evaluating each filter from the AND clause of the RDQL query.
findAllQueryVariables
in file Parser.php, method RDF_RDQL_Parser::findAllQueryVariables()
    Find all query variables used in the WHERE clause.
findTriplesMatchingPattern
in file Memory.php, method RDF_RDQL_Engine_Memory::findTriplesMatchingPattern()
    Search in $Model_Memory for triples matching one pattern from the WHERE clause.
findTuplesMatchingAllPatterns
in file Memory.php, method RDF_RDQL_Engine_Memory::findTuplesMatchingAllPatterns()
    Find triples matching all patterns of an RDQL query and return an array with variables from all patterns and their corresponding values.
findTuplesMatchingOnePattern
in file Memory.php, method RDF_RDQL_Engine_Memory::findTuplesMatchingOnePattern()
    Find tuples matching one pattern and return an array with pattern variables and their corresponding values (instances of object Node).
top

g

generateSql
in file MDB.php, method RDF_RDQL_Engine_MDB::generateSql()
    Generate an SQL string to query the database for tuples matching all patterns of $parsedQuery.
generateSql_FromClause
in file MDB.php, method RDF_RDQL_Engine_MDB::generateSql_FromClause()
    Generate SQL FROM clause
generateSql_SelectClause
in file MDB.php, method RDF_RDQL_Engine_MDB::generateSql_SelectClause()
    Generate SQL SELECT clause.
generateSql_WhereClause
in file MDB.php, method RDF_RDQL_Engine_MDB::generateSql_WhereClause()
    Generate an SQL WHERE clause
getCurrentPosition
in file ResultIterator.php, method RDF_RDQL_ResultIterator::getCurrentPosition()
    Returns the current position of the iterator.
getResultLabels
in file ResultIterator.php, method RDF_RDQL_ResultIterator::getResultLabels()
    Returns the labels of the result as array.
top

h

hasNext
in file ResultIterator.php, method RDF_RDQL_ResultIterator::hasNext()
    Returns TRUE if there are more results.
hasPrevious
in file ResultIterator.php, method RDF_RDQL_ResultIterator::hasPrevious()
    Returns TRUE if the first result has not been reached.
top

i

isError
in file RDQL.php, method RDF_RDQL::isError()
top

j

joinTuples
in file Memory.php, method RDF_RDQL_Engine_Memory::joinTuples()
    Perform an SQL-like inner join on two resultSets.
top

m

moveFirst
in file ResultIterator.php, method RDF_RDQL_ResultIterator::moveFirst()
    Moves the pointer to the first result.
moveLast
in file ResultIterator.php, method RDF_RDQL_ResultIterator::moveLast()
    Moves the pointer to the last result.
moveTo
in file ResultIterator.php, method RDF_RDQL_ResultIterator::moveTo()
    Moves the pointer to a specific result.
MDB.php
procedural page MDB.php
Memory.php
procedural page Memory.php
top

n

next
in file ResultIterator.php, method RDF_RDQL_ResultIterator::next()
    Returns the next result array.
top

p

$parsedQuery
in file MDB.php, variable RDF_RDQL_Engine_MDB::$parsedQuery
    Parsed query variables and constraints.
$parsedQuery
in file Memory.php, variable RDF_RDQL_Engine_Memory::$parsedQuery
    Parsed query variables and constraints.
$parsedQuery
in file Parser.php, variable RDF_RDQL_Parser::$parsedQuery
    Parsed query variables and constraints.
$position
in file ResultIterator.php, variable RDF_RDQL_ResultIterator::$position
    Current position RDQLResultIterator does not use the build in PHP array iterator, so you can use serveral iterators on a single RDQL result.
parseAnd
in file Parser.php, method RDF_RDQL_Parser::parseAnd()
    Parse the AND clause of an RDQL query
parseExpressions
in file Parser.php, method RDF_RDQL_Parser::parseExpressions()
    Parse expressions inside the passed filter: 1) regex equality expressions: ?var [~~ | =~ | !~ ] REG_EX 2a) string equality expressions: ?var [eq | ne] "literal"@lang^^dtype.
parseFilter
in file Parser.php, method RDF_RDQL_Parser::parseFilter()
    Check if a filter from the AND clause contains an equal number of '(' and ')' and parse filter expressions.
parseFrom
in file Parser.php, method RDF_RDQL_Parser::parseFrom()
    Parse the FROM/SOURCES clause of an RDQL query When the parsing of this clause is finished, parseWhere() will be called.
parseQuery
in file Parser.php, method RDF_RDQL_Parser::parseQuery()
    Parse the given RDQL query string and return an array with query variables and constraints.
parseSelect
in file Parser.php, method RDF_RDQL_Parser::parseSelect()
    Parse the SELECT clause of an RDQL query.
parseUsing
in file Parser.php, method RDF_RDQL_Parser::parseUsing()
    Parse the USING clause of an RDQL query
parseWhere
in file Parser.php, method RDF_RDQL_Parser::parseWhere()
    *' Parse the WHERE clause of an RDQL query.
previous
in file ResultIterator.php, method RDF_RDQL_ResultIterator::previous()
    Returns the previous result.
Parser.php
procedural page Parser.php
top

q

queryModel
in file Memory.php, method RDF_RDQL_Engine_Memory::queryModel()
    Perform an RDQL Query on the given Model_Memory.
queryModel
in file MDB.php, method RDF_RDQL_Engine_MDB::queryModel()
    Perform an RDQL Query on the given Model_MDB.
top

r

$RDQLResult
in file ResultIterator.php, variable RDF_RDQL_ResultIterator::$RDQLResult
    Reference to the RDQL result
$rsIndexes
in file MDB.php, variable RDF_RDQL_Engine_MDB::$rsIndexes
    When an RDQL query is performed on a Model_MDB, in first step the engine searches in database for triples matching the RDQL-WHERE clause. A recordSet is returned.
raiseError
in file RDQL.php, method RDF_RDQL::raiseError()
    This method is used to communicate an error and invoke error callbacks etc. Basically a wrapper for PEAR::raiseError without the message string.
RDF_RDQL
in file RDQL.php, class RDF_RDQL
ResultIterator.php
procedural page ResultIterator.php
RDQL.php
procedural page RDQL.php
RDF_RDQL_Engine
in file Engine.php, class RDF_RDQL_Engine
    Some general methods common for RDQLMemEngine and RDQLDBEngine
RDF_RDQL_Engine_MDB
in file MDB.php, class RDF_RDQL_Engine_MDB
    Some general methods common for RDQLMemEngine and RDQLDBEngine
RDF_RDQL_Engine_Memory
in file Memory.php, class RDF_RDQL_Engine_Memory
    Some general methods common for RDQLMemEngine and RDQLDBEngine
RDF_RDQL_ERROR
in file RDQL.php, constant RDF_RDQL_ERROR
RDF_RDQL_Error
in file RDQL.php, class RDF_RDQL_Error
    RDF_RDQL_Error implements a class for reporting RDF RDQL error messages.
RDF_RDQL_Error
in file RDQL.php, method RDF_RDQL_Error::RDF_RDQL_Error()
    RDF_Error constructor.
RDF_RDQL_ERROR_AND
in file RDQL.php, constant RDF_RDQL_ERROR_AND
RDF_RDQL_ERROR_SELECT
in file RDQL.php, constant RDF_RDQL_ERROR_SELECT
RDF_RDQL_ERROR_SOURCE
in file RDQL.php, constant RDF_RDQL_ERROR_SOURCE
RDF_RDQL_ERROR_SYNTAX
in file RDQL.php, constant RDF_RDQL_ERROR_SYNTAX
RDF_RDQL_ERROR_USING
in file RDQL.php, constant RDF_RDQL_ERROR_USING
RDF_RDQL_ERROR_WHERE
in file RDQL.php, constant RDF_RDQL_ERROR_WHERE
RDF_RDQL_Parser
in file Parser.php, class RDF_RDQL_Parser
    This class contains methods for parsing an RDQL query string into PHP variables.
RDF_RDQL_ResultIterator
in file ResultIterator.php, class RDF_RDQL_ResultIterator
    Iterator for traversing RDQL results.
RDF_RDQL_ResultIterator
in file ResultIterator.php, method RDF_RDQL_ResultIterator::RDF_RDQL_ResultIterator()
RDQLQuery
in file RDQL.php, method RDF_RDQL::RDQLQuery()
    Perform an RDQL query on this Model_MDB.
RDQLQueryAsIterator
in file RDQL.php, method RDF_RDQL::RDQLQueryAsIterator()
    Perform an RDQL query on this Model_MDB.
removeComments
in file Parser.php, method RDF_RDQL_Parser::removeComments()
    Remove comments from the passed query string.
replaceNamespacePrefixes
in file Parser.php, method RDF_RDQL_Parser::replaceNamespacePrefixes()
    Replace all namespace prefixes in the pattern and constraint clause of an RDQL query with the namespaces declared in the USING clause and default namespaces.
top

s

selectVariables
in file Memory.php, method RDF_RDQL_Engine_Memory::selectVariables()
    Remove all conditional variables from the result-set and leave only variables specified in the SELECT clause of the RDQL query.
startParsing
in file Parser.php, method RDF_RDQL_Parser::startParsing()
    Start parsing of the tokenized query string.
top

t

$tokens
in file Parser.php, variable RDF_RDQL_Parser::$tokens
    Query string divided into a sequence of tokens.
test_RdqlQuery.php
procedural page test_RdqlQuery.php
tokenize
in file Parser.php, method RDF_RDQL_Parser::tokenize()
    Divide the query string into tokens.
toNodes
in file MDB.php, method RDF_RDQL_Engine_MDB::toNodes()
    Convert variable values of $queryResult to objects (Node).
toString
in file Memory.php, method RDF_RDQL_Engine_Memory::toString()
    Convert the variable values of $finalRes from objects to their string serialization.
toString
in file MDB.php, method RDF_RDQL_Engine_MDB::toString()
    Serialize variable values of $queryResult to string.
top

w

writeQueryResultAsHtmlTable
in file Engine.php, method RDF_RDQL_Engine::writeQueryResultAsHtmlTable()
    Prints a query result as HTML table.
top

_

_checkComma
in file Parser.php, method RDF_RDQL_Parser::_checkComma()
    Check if the query string of the given clause contains an undesired ','.
_checkIntBindings
in file Memory.php, method RDF_RDQL_Engine_Memory::_checkIntBindings()
    Check if the given triple meets pattern internal bindings e.g. (?x, ?z, ?x) ==> statement subject must be identical with the statement object
_checkRegExQuotation
in file Parser.php, method RDF_RDQL_Parser::_checkRegExQuotation()
    Throw an error if the regular expression from the AND clause is not quoted.
_checkSelectVars
in file Parser.php, method RDF_RDQL_Parser::_checkSelectVars()
    Check if all variables from the SELECT clause are defined in the WHERE clause
_clearWhiteSpaces
in file Parser.php, method RDF_RDQL_Parser::_clearWhiteSpaces()
    Remove whitespace-tokens from the array $this->tokens
_convertRsRowToQueryResultRow
in file MDB.php, method RDF_RDQL_Engine_MDB::_convertRsRowToQueryResultRow()
    Converts a single row of ADORecordSet->fields array to the format of $queryResult array using pointers to indexes ($this->rsIndexes) in RecordSet->fields.
_equalsLangDtype
in file Memory.php, method RDF_RDQL_Engine_Memory::_equalsLangDtype()
    Check if the lang and dtype of the passed object Literal are equal $lang and $dtype !!! Language only differentiates literals in rdf:XMLLiterals and plain literals (xsd:string).
_generateSql_SelectVar
in file MDB.php, method RDF_RDQL_Engine_MDB::_generateSql_SelectVar()
    Generate a piece of an sql select statement for a variable.
_isDefined
in file Parser.php, method RDF_RDQL_Parser::_isDefined()
    Check if the given variable is defined in the WHERE clause.
_replaceNamespacePrefix
in file Parser.php, method RDF_RDQL_Parser::_replaceNamespacePrefix()
    Replace a prefix in a given QName and return a full URI.
_validateLiteral
in file Parser.php, method RDF_RDQL_Parser::_validateLiteral()
    Check if $token is the first token of a valid literal ("LITERAL") and return an array with literal properties (value, language, datatype).
_validateNCName
in file Parser.php, method RDF_RDQL_Parser::_validateNCName()
    Check if the given token is a valid NCName.
_validatePrefix
in file Parser.php, method RDF_RDQL_Parser::_validatePrefix()
    Check if the given token is a valid namespace prefix.
_validateQName
in file Parser.php, method RDF_RDQL_Parser::_validateQName()
    Check if the given token is a valid QName.
_validateURI
in file Parser.php, method RDF_RDQL_Parser::_validateURI()
    Check if $token is the first token of a valid URI (<URI>) and return the whole URI string
_validateVar
in file Parser.php, method RDF_RDQL_Parser::_validateVar()
    Check if the given token is a valid variable name (?var).
_validateVarUri
in file Parser.php, method RDF_RDQL_Parser::_validateVarUri()
    Check if the given token is either a variable (?var) or the first token of an URI (<URI>).
_validateVarUriLiteral
in file Parser.php, method RDF_RDQL_Parser::_validateVarUriLiteral()
    Check if the given token is either a variable (?var) or the first token of either an URI (<URI>) or a literal ("Literal").
top

Documentation generated on Sun, 10 Oct 2010 04:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.