[sparql-db] element index

Package indexes

All elements
a b c d e f g h i l m n o p q r s t v w x _
_
top
__construct
__construct
__construct
__construct
__construct
__construct
__construct
__toString
a
top
$arCastTypes
SQL types to cast XSD schema types to, so that they will get sorted correctly.
$arCreationMethods
Defines the methods needed to create the types in $arVarAssignments.
$arCreationMethods
Defines the methods needed to create the types in $arVarAssignments.
$arCreationMethods
Defines the methods needed to create the types in $arVarAssignments.
$arDumbOperators
$arFuncParamNumbers
Number of parameters for the functions supported.
$arOperatorSwitches
List of operators and their counterpart if operands are switched.
$arPlaceholders
Array with placeholders of prepared statements variables.
$arTableColumnNames
Column names for subjects, predicates and objects for easy access via their character names (spo).
$arTypeNumbers
Defines the sort order for value types in the database, so that they get sorted correctly as the specs want it.
$arUnionVarAssignments
Array of arrays that contain all variable names which are to be found in the result of an sql statement in a union.
$arUsedVarAssignments
Array of variable name => table.col assignments for all variables used in the query not only the ones that shall be returned.
$arUsedVarTypes
Which variables have been used as which type? key is variable name, value is an array of max. three keys (s, p, o)
$arVarAssignments
Determines which variables can be found in which SQL result column.
b
top
$bOptional
If the filter is in an optional statement
$bWrap
If the result HTML should be wrapped in a div
c
top
compareTypeSet
Compares two type sets. Works like a normal comparision method that returns -1/0/1 for use in usort()
compareXsdType
Compares two XSD data types and returns the comparison number.
constructGraph
Constructs a result graph.
convertFromDbResults
Converts the database results into nice HTML.
convertFromDbResults
Converts the database results into the desired output format and returns the result.
convertFromDbResults
Determines the correct renderer and calls it.
convertFromDbResults
Converts the database results into nice HTML.
createBooleanValue
createEqualSelects
Creates SELECT statements that have the same number of columns.
createEquation
createFilterSql
Creates the SQL representing a Sparql FILTER.
createFromRecords
createFunction
createFunction_bound
Creates an sql statement that returns if the element is a blank node
createFunction_datatype
createFunction_isblank
Creates an sql statement that returns if the element is a blank node
createFunction_isiri
createFunction_isliteral
Creates an sql statement that returns the language of the object
createFunction_isuri
createFunction_lang
Creates an sql statement that returns the language of the object
createFunction_langmatches
Creates an sql statement that checks if the variable
createFunction_regex
Creates an sql statement that checks if the given part matches
createFunction_sameterm
Creates an sql statement that checks if both terms are the same
createFunction_str
Creates an sql statement that returns the string representation
createFunction_xsd_datetime
Creates an sql statement that returns the datetime representation
createObjectFromDbRecordSetPart
Creates an RDF object object contained in the given $dbRecordSet object.
createObjectFromDbRecordSetPart
Creates an RDF object object contained in the given $dbRecordSet object.
createObjectFromDbRecordSetPart
Creates an RDF object object contained in the given $dbRecordSet object.
createPredicateFromDbRecordSetPart
Creates an RDF predicate object contained in the given $dbRecordSet object.
createPredicateFromDbRecordSetPart
Creates an RDF predicate object contained in the given $dbRecordSet object.
createPredicateFromDbRecordSetPart
Creates an RDF predicate object contained in the given $dbRecordSet object.
createSingleTypeCheck
Creates sql to ensure the type between $val and variable $tree is the same.
createSql
Creates an SQL query string from the given Sparql query object.
createStatementFromDbRecordSetPart
Creates an RDF Statement object for one of the variables contained in the given $dbRecordSet object.
createSubjectFromDbRecordSetPart
Creates an RDF subject object contained in the given $dbRecordSet object.
createSubjectFromDbRecordSetPart
Creates an RDF subject object contained in the given $dbRecordSet object.
createSubjectFromDbRecordSetPart
Creates an RDF subject object contained in the given $dbRecordSet object.
createTableFromRecords
createTreeSql
createTypeEquation
Generates sql code to make sure the datatypes of the two operands match
createValue
Creates the sql for an element of type "value".
createVariableArray
Creates an array full of variables to be passed to the Execute() method of the database connection object.
d
top
determineOffset
Determines the offset in the sqls, the position to start form.
Default.php
Default.php in Default.php
e
top
execute
Execute the prepared statement and returns the result.
execute
Executes the given prepared statments, filling the placeholders with the given values.
f
top
fixWhere
Removes a leading AND from the where clause which would render the sql illegal.
FilterGenerator.php
FilterGenerator.php in FilterGenerator.php
g
top
getCastMethod
Returns the SQL statement needed to case the given variable to the given type.
getCol
getCount
getCount
Returns the number of rows that the given query will return.
getDatatypeCol
getDateConversionSql
getHead
getHtmlBlank
getHtmlLiteral
getHtmlNull
getHtmlResource
getIsCol
getLangCol
getLimitSql
Creates a sql LIMIT statement if the sparql query needs one.
getOrderifiedSqls
Returns an array of sql statements that need to be executed and deliver the full result set when combined.
getPlaceholders
getPreparedVariablePlaceholder
Returns a placeholder to be included in the sql statement.
getResultXml
getSelect
getSpecialOrderVariables
Returns an array of variables that the result is going to be ordered by and that need to be sorted multiple times (because they may contain different data types)
getSpokenBoolean
getSqlCondition
Creates an SQL statement that checks for the value of some subject/predicate/object
getSqlEqualityCondition
Checks if the sentence part (subject, predicate or object) in $arNew has the same content as $arOld.
getSqlOrderBy
Returns the ORDER BY sql query string if neccessary for the query. The returned string already has ORDER BY prefixed.
getSqlVariableName
getSqlVariableNameDatatype
getSqlVariableNameIs
getSqlVariableNameLanguage
getSqlVariableNameValue
getStringNullComparison
Returns the correct sql string comparison method.
getTripleSql
Creates some SQL statements from the given triple pattern array.
getTypeSets
Determines the type sets in the query results.
getTypesetWhereClause
Creates and returns the SQL WHERE clauses needed to get only data in the given typeset.
getUsedVarAssignments
getUsedVarTypes
getValueCol
getVarAssignments
getVariableArrayFromRecordSet
Converts a ADORecordSet object into an array of "rows" that are subarrays of variable => value pairs.
getVariableArrayFromRecordSets
getXmlBlank
getXmlLiteral
getXmlNull
getXmlResource
getXsdTypeNumber
Returns the type number for an xsd data type.
h
top
HTML.php
HTML.php in HTML.php
i
top
isEmptyPattern
Checks if the graph pattern is empty (contains no usable data).
isNumber
isObject
Checks if the given tree element is a variable and the variable is actually an object in the database.
isObjectOrSubject
Checks if the given tree element is a variable and the variable is actually an object or a subject in the database.
isPlainString
Checks if the given tree element is a plain string (no variable)
isPreparedVariable
Checks if the given variable is a replacement for a prepared statement.
isResultVar
Checks if the given variable name is part of the result variables list.
isSpecialOrderVariable
Checks if a given variable name is a variable that needs special care when used in ORDER BY statements.
isValueButNotVariableNorString
isVariable
Checks if the given tree element is a variable
isVariable
Checks if the given subject/predicate/object is a variable name.
l
top
loadClass
Tries to load a given class if it doesn't exist, and returns true if the class can be used.
m
top
mkVal
n
top
$nSqlVariableNameCount
$nUnionCount
Current UNION part number
o
top
orderTypeSets
Takes an array of type sets (as returned by getTypeSets()) and sorts the variables according to the SPARQL specs.
Offsetter.php
Offsetter.php in Offsetter.php
p
top
prepareInDb
Converts the given queries into sql prepared statments,
Preparator.php
Preparator.php in Preparator.php
PreparedStatement.php
PreparedStatement.php in PreparedStatement.php
q
top
$query
r
top
removeNull
Removes all NULL values from an array and returns it.
replacePlaceholders
Replaces the placeholders in the given SQL statement with real SQL prepared statements placeholders.
replacePlaceholdersCb
Callback method internally used by replacePlaceholders() method.
replacePlaceholdersWithVariables
Replaces all placeholders with their actual values.
replacePlaceholdersWithVariablesCb
Callback method internally used by replacePlaceholdersWithVariables() method.
replacePrefix
ResultConverter.php
ResultConverter.php in ResultConverter.php
s
top
$sg
SQL Generator
$sparqlEngine
setData
Needs to be executed before getOrderifiedSqls and willBeDataDependent
SqlGenerator.php
SqlGenerator.php in SqlGenerator.php
SqlMerger.php
SqlMerger.php in SqlMerger.php
SparqlEngineDb_FilterGenerator
SparqlEngineDb_FilterGenerator in FilterGenerator.php
Generates SQL from Sparql FILTER parts
SparqlEngineDb_FilterGenerator_Value
Value class that holds some arbitrary value and a datatype.
SparqlEngineDb_Offsetter
SparqlEngineDb_Offsetter in Offsetter.php
Determines the offset in a row of sql queries.
SparqlEngineDb_Preparator
SparqlEngineDb_Preparator in Preparator.php
This class takes care of prepared statements: Preparing them in the database, replacing
SparqlEngineDb_PreparedStatement
SparqlEngineDb_PreparedStatement in PreparedStatement.php
A prepared statement that can be execute()d later multiple times with different variable values.
SparqlEngineDb_ResultConverter
SparqlEngineDb_ResultConverter in ResultConverter.php
Converts a database result into a proper rdf statement triple array
SparqlEngineDb_ResultRenderer_Default
Default RAP result renderer.
SparqlEngineDb_ResultRenderer_HTML
Sparql DB HTML result renderer.
SparqlEngineDb_ResultRenderer_XML
Sparql DB XML result renderer as defined by http://www.w3.org/TR/rdf-sparql-XMLres/
SparqlEngineDb_SqlGenerator
SparqlEngineDb_SqlGenerator in SqlGenerator.php
Creates sql statements from a Query object
SparqlEngineDb_SqlMerger
SparqlEngineDb_SqlMerger in SqlMerger.php
Creates an sql string from an sql array
SparqlEngineDb_TypeSorter
SparqlEngineDb_TypeSorter in TypeSorter.php
Sorts database types as the Sparql specs want it.
switchOperator
t
top
$type
$typeVariable
$typeXsdBoolean
$typeXsdDateTime
$typeXsdDouble
$typeXsdInteger
$typeXsdString
TypeSorter.php
TypeSorter.php in TypeSorter.php
v
top
$value
w
top
willBeDataDependent
Returns wether the returned queries will depend on the data or not.
wrapCode
wrapCode
x
top
XML.php
XML.php in XML.php
a b c d e f g h i l m n o p q r s t v w x _