A B C D E F G H I L M N O P Q R S T U V

A

AbstractDDLGenerator - Class in org.nsdl.mptstore.core
A partial DDLGenerator that implements the table dropping functionality.
AbstractDDLGenerator() - Constructor for class org.nsdl.mptstore.core.AbstractDDLGenerator
 
addFilter(NodeFilter<Node>) - Method in class org.nsdl.mptstore.query.component.GraphPattern
Add the given node filter to the list of filters.
addOptional(QueryElement) - Method in class org.nsdl.mptstore.query.component.GraphQuery
Add an optional query element.
addRequired(QueryElement) - Method in class org.nsdl.mptstore.query.component.GraphQuery
Add a required query element.
addTriplePattern(TriplePattern) - Method in class org.nsdl.mptstore.query.component.GraphPattern
Add a triple pattern to the list of patterns.
addTriples(Connection, Iterator<Triple>) - Method in interface org.nsdl.mptstore.core.DatabaseAdaptor
Add the given triples.
addTriples(Connection, Iterator<Triple>) - Method in class org.nsdl.mptstore.core.GenericDatabaseAdaptor
Add the given triples.
alias() - Method in class org.nsdl.mptstore.query.component.MPTable
Get the alias.

B

BasicNodeFilter<T extends Node> - Class in org.nsdl.mptstore.query.component
Generic implementation of a NodeFilter.
BasicNodeFilter(NodePattern<T>, String, NodePattern<T>) - Constructor for class org.nsdl.mptstore.query.component.BasicNodeFilter
Create a filter on a particular node pattern.
BasicNodePattern<T extends Node> - Class in org.nsdl.mptstore.query.component
Generic implementation of NodePattern.
BasicNodePattern(T) - Constructor for class org.nsdl.mptstore.query.component.BasicNodePattern
Construct a BasicNodePattern representing an actual node.
BasicNodePattern(String) - Constructor for class org.nsdl.mptstore.query.component.BasicNodePattern
Construct a BasicNodePattern representing a variable.
BasicTableManager - Class in org.nsdl.mptstore.core
A TableManager designed to perform DDL operations on separate connections from those used for DML.
BasicTableManager(DataSource, DDLGenerator, String, String) - Constructor for class org.nsdl.mptstore.core.BasicTableManager
Initialize the table manager.
BasicTriplePattern - Class in org.nsdl.mptstore.query.component
Generic implementation of TriplePattern.
BasicTriplePattern(NodePattern<SubjectNode>, NodePattern<PredicateNode>, NodePattern<ObjectNode>) - Constructor for class org.nsdl.mptstore.query.component.BasicTriplePattern
Construct a BasicTriplePattern.
bindTo(MPTable) - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Bind this node pattern to the given table.
bindTo(MPTable, String) - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Bind this node pattern to the given table and optionally set the type.
bindTo(MPTable) - Method in class org.nsdl.mptstore.query.component.MappableTriplePattern
Bind this triple pattern to the given table.
boundTable() - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Return the table to which this pattern is bound.

C

ClosableIterator<E> - Interface in org.nsdl.mptstore.core
An Iterator that should be closed when finished.
close() - Method in interface org.nsdl.mptstore.core.ClosableIterator
Release any resources tied up by this iterator.
close() - Method in class org.nsdl.mptstore.query.SQLUnionQueryResults
Close database resources held by this object.
compile(String) - Method in interface org.nsdl.mptstore.query.lang.QueryCompiler
Compile the given query.
compile(String) - Method in class org.nsdl.mptstore.query.lang.spo.SPOQueryCompiler
Compile the given query.
consumeURIReference(Reader, int) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Consume the next URI reference.
consumeWhitespace(Reader, int) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Move the reader to the first non-whitespace character and return the number of whitespaces encountered.

D

DatabaseAdaptor - Interface in org.nsdl.mptstore.core
The main high-level interface for working with a triplestore.
DBUtil - Class in org.nsdl.mptstore.util
Database-related utilities.
DDLGenerator - Interface in org.nsdl.mptstore.core
Provides RDBMS-specific DDL string(s) for table management functions.
deleteAllTriples(Connection) - Method in interface org.nsdl.mptstore.core.DatabaseAdaptor
Delete all triples.
deleteAllTriples(Connection) - Method in class org.nsdl.mptstore.core.GenericDatabaseAdaptor
Delete all triples.
deleteTriples(Connection, Iterator<Triple>) - Method in interface org.nsdl.mptstore.core.DatabaseAdaptor
Delete the given triples.
deleteTriples(Connection, Iterator<Triple>) - Method in class org.nsdl.mptstore.core.GenericDatabaseAdaptor
Delete the given triples.
DerbyDDLGenerator - Class in org.nsdl.mptstore.impl.derby
A DDLGenerator that works with Derby.
DerbyDDLGenerator() - Constructor for class org.nsdl.mptstore.impl.derby.DerbyDDLGenerator
Construct a DerbyDDLGenerator that uses the default maximum length (512) for varchar columns that store URIs and literals.
DerbyDDLGenerator(int) - Constructor for class org.nsdl.mptstore.impl.derby.DerbyDDLGenerator
Construct a DerbyDDLGenerator that uses the specified maximum length for varchar columns that store URIs and literals.
dropAllPredicateTables() - Method in class org.nsdl.mptstore.core.BasicTableManager
Drop all predicate tables and mappings, effectively re-initializing the triplestore.
dropAllPredicateTables() - Method in interface org.nsdl.mptstore.core.TableManager
Drop all predicate tables and mappings, effectively re-initializing the triplestore.
dropEmptyPredicateTables() - Method in class org.nsdl.mptstore.core.BasicTableManager
Drop all unused predicate tables and mappings.
dropEmptyPredicateTables() - Method in interface org.nsdl.mptstore.core.TableManager
Drop all unused predicate tables and mappings.

E

equals(Object) - Method in class org.nsdl.mptstore.query.component.BasicNodePattern
Equality of Triple Pattern
equals(Object) - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Equality of Triple Pattern.
equals(Object) - Method in class org.nsdl.mptstore.rdf.Literal
Tell whether this Node should be considered equivalent to the given object.
equals(Object) - Method in interface org.nsdl.mptstore.rdf.Node
Tell whether this Node should be considered equivalent to the given object.
equals(Object) - Method in class org.nsdl.mptstore.rdf.Triple
Tell whether the given object is equal to this triple.
equals(Object) - Method in class org.nsdl.mptstore.rdf.URIReference
Tell whether this Node should be considered equivalent to the given object.
escapeLiteralValue(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Escape a string to N-Triples literal format.

F

finalize() - Method in class org.nsdl.mptstore.query.SQLUnionQueryResults
In the event of garbage collection, make sure close() has occurred.

G

GenericDatabaseAdaptor - Class in org.nsdl.mptstore.core
A DatabaseAdaptor designed to work with any database.
GenericDatabaseAdaptor(TableManager, boolean) - Constructor for class org.nsdl.mptstore.core.GenericDatabaseAdaptor
Get an instance supporting the built-in query languages.
GenericDatabaseAdaptor(TableManager, Map<QueryLanguage, QueryCompiler>) - Constructor for class org.nsdl.mptstore.core.GenericDatabaseAdaptor
Get an instance supporting the specified query languages.
getConstraint() - Method in class org.nsdl.mptstore.query.component.BasicNodeFilter
Get the constraint on this filter's NodePattern's value.
getConstraint() - Method in class org.nsdl.mptstore.query.component.MappableNodeFilter
Get the constraint on this filter's NodePattern's value.
getConstraint() - Method in interface org.nsdl.mptstore.query.component.NodeFilter
Get the constraint on this filter's NodePattern's value.
getCreateMapTableDDL(String) - Method in interface org.nsdl.mptstore.core.DDLGenerator
Get the DDL command(s) necessary to create a map table with the given name.
getCreateMapTableDDL(String) - Method in class org.nsdl.mptstore.impl.derby.DerbyDDLGenerator
Get the DDL command(s) necessary to create a map table with the given name.
getCreateMapTableDDL(String) - Method in class org.nsdl.mptstore.impl.h2.H2DDLGenerator
Get the DDL command(s) necessary to create a map table with the given name.
getCreateMapTableDDL(String) - Method in class org.nsdl.mptstore.impl.postgres.PostgresDDLGenerator
Get the DDL command(s) necessary to create a map table with the given name.
getCreateSOTableDDL(String) - Method in interface org.nsdl.mptstore.core.DDLGenerator
Get the DDL command(s) necessary to create a subject-object relationship table (aka predicate table) with the given name.
getCreateSOTableDDL(String) - Method in class org.nsdl.mptstore.impl.derby.DerbyDDLGenerator
Get the DDL command(s) necessary to create a subject-object relationship table (aka predicate table) with the given name.
getCreateSOTableDDL(String) - Method in class org.nsdl.mptstore.impl.h2.H2DDLGenerator
Get the DDL command(s) necessary to create a subject-object relationship table (aka predicate table) with the given name.
getCreateSOTableDDL(String) - Method in class org.nsdl.mptstore.impl.postgres.PostgresDDLGenerator
Get the DDL command(s) necessary to create a subject-object relationship table (aka predicate table) with the given name.
getDatatype() - Method in class org.nsdl.mptstore.rdf.Literal
Get the datatype, if any.
getDropMapTableDDL(String) - Method in class org.nsdl.mptstore.core.AbstractDDLGenerator
Get the DDL command(s) necessary to drop a map table with the given name.
getDropMapTableDDL(String) - Method in interface org.nsdl.mptstore.core.DDLGenerator
Get the DDL command(s) necessary to drop a map table with the given name.
getDropSOTableDDL(String) - Method in class org.nsdl.mptstore.core.AbstractDDLGenerator
Get the DDL command(s) necessary to drop a subject-object relationship table (aka predicate table) with the given name.
getDropSOTableDDL(String) - Method in interface org.nsdl.mptstore.core.DDLGenerator
Get the DDL command(s) necessary to drop a subject-object relationship table (aka predicate table) with the given name.
getFilters() - Method in class org.nsdl.mptstore.query.component.GraphPattern
Get the list of filters.
getLanguage() - Method in class org.nsdl.mptstore.rdf.Literal
Get the language tag, if any.
getLongString(ResultSet, int) - Static method in class org.nsdl.mptstore.util.DBUtil
Get a long string, which could be a TEXT or CLOB type.
getName() - Method in class org.nsdl.mptstore.query.lang.QueryLanguage
Get the name of this language.
getNode() - Method in class org.nsdl.mptstore.query.component.BasicNodeFilter
Get the node pattern whose value this NodeFilter is constraining.
getNode() - Method in class org.nsdl.mptstore.query.component.BasicNodePattern
Get the node value of this pattern, or null if this pattern does not represent a variable.
getNode() - Method in class org.nsdl.mptstore.query.component.MappableNodeFilter
Get the node pattern whose value this NodeFilter is constraining.
getNode() - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Get the node value of this pattern, or null if this pattern does not represent a variable.
getNode() - Method in interface org.nsdl.mptstore.query.component.NodeFilter
Get the node pattern whose value this NodeFilter is constraining.
getNode() - Method in interface org.nsdl.mptstore.query.component.NodePattern
Get the node value of this pattern, or null if this pattern does not represent a variable.
getNodes() - Method in class org.nsdl.mptstore.query.component.MappableTriplePattern
Get the subject and object node patterns in a set.
getObject() - Method in class org.nsdl.mptstore.query.component.BasicTriplePattern
Get the object pattern of this triple pattern.
getObject() - Method in class org.nsdl.mptstore.query.component.MappableTriplePattern
Get the object pattern.
getObject() - Method in interface org.nsdl.mptstore.query.component.TriplePattern
Get the object pattern of this triple pattern.
getObject() - Method in class org.nsdl.mptstore.rdf.Triple
Get the object of this triple.
getOperator() - Method in class org.nsdl.mptstore.query.component.BasicNodeFilter
Get the operator that specifies the relationship between the NodePattern and a value constraint (e.g.
getOperator() - Method in class org.nsdl.mptstore.query.component.MappableNodeFilter
Get the operator that specifies the relationship between the NodePattern and a value constraint (e.g.
getOperator() - Method in interface org.nsdl.mptstore.query.component.NodeFilter
Get the operator that specifies the relationship between the NodePattern and a value constraint (e.g.
getOptional() - Method in class org.nsdl.mptstore.query.component.GraphQuery
Get the optional query elements.
getOrMapTableFor(PredicateNode) - Method in class org.nsdl.mptstore.core.BasicTableManager
Get the name of the table reserved for relationships of the given type.
getOrMapTableFor(PredicateNode) - Method in interface org.nsdl.mptstore.core.TableManager
Get the name of the table reserved for relationships of the given type.
getPredicate() - Method in class org.nsdl.mptstore.query.component.BasicTriplePattern
Get the predicate pattern of this triple pattern.
getPredicate() - Method in class org.nsdl.mptstore.query.component.MappableTriplePattern
Get the predicate pattern.
getPredicate() - Method in interface org.nsdl.mptstore.query.component.TriplePattern
Get the predicate pattern of this triple pattern.
getPredicate() - Method in class org.nsdl.mptstore.rdf.Triple
Get the predicate of this triple.
getPredicateFor(String) - Method in class org.nsdl.mptstore.core.BasicTableManager
Get the predicate that's mapped to the given table, if such a mapping exists.
getPredicateFor(String) - Method in interface org.nsdl.mptstore.core.TableManager
Get the predicate that's mapped to the given table, if such a mapping exists.
getPredicates() - Method in class org.nsdl.mptstore.core.BasicTableManager
Get the set of predicates for which a table mapping exists.
getPredicates() - Method in interface org.nsdl.mptstore.core.TableManager
Get the set of predicates for which a table mapping exists.
getRequired() - Method in class org.nsdl.mptstore.query.component.GraphQuery
Get the required query elements.
getSQL() - Method in class org.nsdl.mptstore.query.provider.GraphQuerySQLProvider
Returns a query in ANSI SQL
getSQL() - Method in interface org.nsdl.mptstore.query.provider.SQLProvider
Get the sequence of SELECT statements.
getSQL() - Method in class org.nsdl.mptstore.query.provider.TriplePatternSQLProvider
Get the sequence of SELECT statements.
getSubject() - Method in class org.nsdl.mptstore.query.component.BasicTriplePattern
Get the subject pattern of this triple pattern.
getSubject() - Method in class org.nsdl.mptstore.query.component.MappableTriplePattern
Get the subject pattern.
getSubject() - Method in interface org.nsdl.mptstore.query.component.TriplePattern
Get the subject pattern of this triple pattern.
getSubject() - Method in class org.nsdl.mptstore.rdf.Triple
Get the subject of this triple.
getTableFor(PredicateNode) - Method in class org.nsdl.mptstore.core.BasicTableManager
Get the name of the table reserved for relationships of the given type, if it exists.
getTableFor(PredicateNode) - Method in interface org.nsdl.mptstore.core.TableManager
Get the name of the table reserved for relationships of the given type, if it exists.
getTables() - Method in class org.nsdl.mptstore.core.BasicTableManager
Get the set of tables that store per-predicate relationships.
getTables() - Method in interface org.nsdl.mptstore.core.TableManager
Get the set of tables that store per-predicate relationships.
getTargets() - Method in class org.nsdl.mptstore.query.provider.GraphQuerySQLProvider
Get the names of the values that are being selected.
getTargets() - Method in interface org.nsdl.mptstore.query.provider.SQLProvider
Get the names of the values that are being selected.
getTargets() - Method in class org.nsdl.mptstore.query.provider.TriplePatternSQLProvider
Get the names of the values that are being selected.
getTargets() - Method in interface org.nsdl.mptstore.query.QueryResults
Get the column names for these query result rows.
getTargets() - Method in class org.nsdl.mptstore.query.SQLUnionQueryResults
Get the column names for these query result rows.
getTriplePatterns() - Method in class org.nsdl.mptstore.query.component.GraphPattern
Get the list of patterns.
getType() - Method in class org.nsdl.mptstore.query.component.GraphPattern
Get the type of this element.
getType() - Method in class org.nsdl.mptstore.query.component.GraphQuery
Get the type of this element.
getType() - Method in interface org.nsdl.mptstore.query.component.QueryElement
Get the type of this element.
getURI() - Method in class org.nsdl.mptstore.rdf.URIReference
Get the URI.
getValue() - Method in class org.nsdl.mptstore.rdf.Literal
Get the lexical value of the node.
getValue() - Method in interface org.nsdl.mptstore.rdf.Node
Get the lexical value of the node.
getValue() - Method in class org.nsdl.mptstore.rdf.URIReference
Get the lexical value of the node.
getVarName() - Method in class org.nsdl.mptstore.query.component.BasicNodePattern
Get the variable name of this pattern, or null if this pattern does not represent a variable.
getVarName() - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Get the variable name of this pattern, or null if this pattern does not represent a variable.
getVarName() - Method in interface org.nsdl.mptstore.query.component.NodePattern
Get the variable name of this pattern, or null if this pattern does not represent a variable.
GraphPattern - Class in org.nsdl.mptstore.query.component
A set of concrete triple patterns and value constraints defining an RDF subgraph.
GraphPattern() - Constructor for class org.nsdl.mptstore.query.component.GraphPattern
 
GraphQuery - Class in org.nsdl.mptstore.query.component
Representation of an RDF graph query.
GraphQuery() - Constructor for class org.nsdl.mptstore.query.component.GraphQuery
 
GraphQuerySQLProvider - Class in org.nsdl.mptstore.query.provider
Translates a GraphQuery into a series of SQL statements.
GraphQuerySQLProvider(TableManager, GraphQuery) - Constructor for class org.nsdl.mptstore.query.provider.GraphQuerySQLProvider
Create an instance.

H

H2DDLGenerator - Class in org.nsdl.mptstore.impl.h2
A DDLGenerator that works with H2.
H2DDLGenerator() - Constructor for class org.nsdl.mptstore.impl.h2.H2DDLGenerator
Create an H2 DDLGenerator with no length limit textual values.
hashCode() - Method in class org.nsdl.mptstore.query.component.BasicNodePattern
Get a hash code for this node pattern.
hashCode() - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Get a hash code for this mappable node pattern.
hashCode() - Method in class org.nsdl.mptstore.rdf.Literal
Return a hash code for this node.
hashCode() - Method in interface org.nsdl.mptstore.rdf.Node
Return a hash code for this node.
hashCode() - Method in class org.nsdl.mptstore.rdf.Triple
Return a hash code for this triple.
hashCode() - Method in class org.nsdl.mptstore.rdf.URIReference
Return a hash code for this node.
hasNext() - Method in interface org.nsdl.mptstore.query.QueryResults
Tell whether there's another row of results.
hasNext() - Method in class org.nsdl.mptstore.query.SQLUnionQueryResults
Tell whether there's another row of results.

I

isVariable() - Method in class org.nsdl.mptstore.query.component.BasicNodePattern
Tell whether this node pattern represents a variable.
isVariable() - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Tell whether this node pattern is variable.
isVariable() - Method in interface org.nsdl.mptstore.query.component.NodePattern
Tell whether this node pattern represents a variable.

L

Literal - Class in org.nsdl.mptstore.rdf
An RDF literal.
Literal(String) - Constructor for class org.nsdl.mptstore.rdf.Literal
Construct a plain literal without a language tag.
Literal(String, String) - Constructor for class org.nsdl.mptstore.rdf.Literal
Construct a plain literal with a language tag.
Literal(String, URIReference) - Constructor for class org.nsdl.mptstore.rdf.Literal
Construct a typed literal.

M

MappableNodeFilter<T extends Node> - Class in org.nsdl.mptstore.query.component
Represents a constraint on the value of a particular mapped node pattern.
MappableNodeFilter(MappableNodePattern<T>, String, MappableNodePattern<T>) - Constructor for class org.nsdl.mptstore.query.component.MappableNodeFilter
Create a filter on a particular node pattern.
MappableNodeFilter(NodeFilter<T>) - Constructor for class org.nsdl.mptstore.query.component.MappableNodeFilter
Create a mappable node filter from an existing node filter.
MappableNodePattern<T extends Node> - Class in org.nsdl.mptstore.query.component
Represents node pattern that can be mapped to a database object.
MappableNodePattern(String, String) - Constructor for class org.nsdl.mptstore.query.component.MappableNodePattern
Create a node pattern that is a variable.
MappableNodePattern(T) - Constructor for class org.nsdl.mptstore.query.component.MappableNodePattern
Create a node pattern given a node value.
MappableNodePattern(NodePattern<? extends T>) - Constructor for class org.nsdl.mptstore.query.component.MappableNodePattern
Create a mappable node pattern from an existing node pattern.
MappableNodePattern(NodePattern<? extends T>, Class<T>) - Constructor for class org.nsdl.mptstore.query.component.MappableNodePattern
Create a mappable node pattern from an existing node pattern.
MappableNodePattern.Types - Class in org.nsdl.mptstore.query.component
Types of MappableNodePattern.
MappableNodePattern.Types() - Constructor for class org.nsdl.mptstore.query.component.MappableNodePattern.Types
 
MappableTriplePattern - Class in org.nsdl.mptstore.query.component
Represents a pattern that defines matching triples.
MappableTriplePattern(MappableNodePattern<SubjectNode>, MappableNodePattern<PredicateNode>, MappableNodePattern<ObjectNode>) - Constructor for class org.nsdl.mptstore.query.component.MappableTriplePattern
Construct a mappable triple pattern with the given component patterns.
MappableTriplePattern(TriplePattern) - Constructor for class org.nsdl.mptstore.query.component.MappableTriplePattern
Construct a mappable triple pattern using the existing triple pattern.
mappedName() - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Return the table/alias and column identifier of the RDBMS location of this value or literal.
ModificationException - Exception in org.nsdl.mptstore.core
Signals an error while adding or removing triples.
ModificationException(String) - Constructor for exception org.nsdl.mptstore.core.ModificationException
Construct a ModificationException with a detail message.
ModificationException(String, Throwable) - Constructor for exception org.nsdl.mptstore.core.ModificationException
Construct a ModificationException with a detail message and a cause.
MPTable - Class in org.nsdl.mptstore.query.component
Mapped Predicate Table.
MPTable(String, String) - Constructor for class org.nsdl.mptstore.query.component.MPTable
Construct an MPTable.

N

name() - Method in class org.nsdl.mptstore.query.component.MPTable
Get the name.
next() - Method in interface org.nsdl.mptstore.query.QueryResults
Get the next row of results.
next() - Method in class org.nsdl.mptstore.query.SQLUnionQueryResults
Get the next row of results.
Node - Interface in org.nsdl.mptstore.rdf
Common interface for all RDF subjects, predicates, and objects.
NodeFilter<T extends Node> - Interface in org.nsdl.mptstore.query.component
Represents a constraint on the value of a particular node pattern.
NodePattern<T extends Node> - Interface in org.nsdl.mptstore.query.component
Represents a specified or unspecified (variable) in a query or pattern
NTriplesUtil - Class in org.nsdl.mptstore.util
Utility for parsing, validating, and printing strings in N-Triples format.

O

OBJECT - Static variable in class org.nsdl.mptstore.query.component.MappableNodePattern.Types
Indicates an object.
ObjectNode - Interface in org.nsdl.mptstore.rdf
Marker interface indicating the node can play the part of an object in an RDF triple.
orderBy(String, boolean) - Method in class org.nsdl.mptstore.query.provider.GraphQuerySQLProvider
Force an order on the results.
org.nsdl.mptstore.core - package org.nsdl.mptstore.core
Main classes for working with a triplestore.
org.nsdl.mptstore.impl.derby - package org.nsdl.mptstore.impl.derby
Classes for using Derby as the underlying database.
org.nsdl.mptstore.impl.h2 - package org.nsdl.mptstore.impl.h2
Classes for using H2 as the underlying database.
org.nsdl.mptstore.impl.postgres - package org.nsdl.mptstore.impl.postgres
Classes for using Postgres as the underlying database.
org.nsdl.mptstore.query - package org.nsdl.mptstore.query
Query-related classes.
org.nsdl.mptstore.query.component - package org.nsdl.mptstore.query.component
Classes representing queries or parts of queries.
org.nsdl.mptstore.query.lang - package org.nsdl.mptstore.query.lang
Classes related to query parsing.
org.nsdl.mptstore.query.lang.spo - package org.nsdl.mptstore.query.lang.spo
Classes related to SPO query parsing.
org.nsdl.mptstore.query.provider - package org.nsdl.mptstore.query.provider
Classes that provide SQL from parsed RDF queries or components.
org.nsdl.mptstore.rdf - package org.nsdl.mptstore.rdf
Classes representing RDF nodes and triples.
org.nsdl.mptstore.util - package org.nsdl.mptstore.util
Miscellaneous utilities.

P

parseLiteral(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Parse an RDF literal in N-Triples format.
parseNode(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Parse an RDF node in N-Triples format.
parseObject(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Parse an RDF object in N-Triples format.
parsePredicate(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Parse an RDF predicate in N-Triples format.
parseSubject(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Parse an RDF subject in N-Triples format.
parseTriple(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Parse an RDF triple in N-Triples format.
parseURIReference(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Parse an RDF URI reference in N-Triples format.
PostgresDDLGenerator - Class in org.nsdl.mptstore.impl.postgres
A DDLGenerator that works with Postgres.
PostgresDDLGenerator() - Constructor for class org.nsdl.mptstore.impl.postgres.PostgresDDLGenerator
Construct a PostgresDDLGenerator.
PREDICATE - Static variable in class org.nsdl.mptstore.query.component.MappableNodePattern.Types
Indicates a predicate.
PredicateNode - Interface in org.nsdl.mptstore.rdf
Marker interface indicating the node can play the part of a predicate in an RDF triple.

Q

query(Connection, QueryLanguage, int, boolean, String) - Method in interface org.nsdl.mptstore.core.DatabaseAdaptor
Evaluate the given query in the specified language and return the results.
query(Connection, QueryLanguage, int, boolean, String) - Method in class org.nsdl.mptstore.core.GenericDatabaseAdaptor
Evaluate the given query in the specified language and return the results.
QueryCompiler - Interface in org.nsdl.mptstore.query.lang
Converts an RDF query in some language to one or more SQL queries.
QueryElement - Interface in org.nsdl.mptstore.query.component
A component of a graph query.
QueryElement.Type - Enum in org.nsdl.mptstore.query.component
Possible element types.
QueryException - Exception in org.nsdl.mptstore.query
Signals a query-related error.
QueryException(String) - Constructor for exception org.nsdl.mptstore.query.QueryException
Construct a QueryException with a detail message.
QueryException(String, Throwable) - Constructor for exception org.nsdl.mptstore.query.QueryException
Construct a QueryException with a detail message and a cause.
QueryLanguage - Class in org.nsdl.mptstore.query.lang
An RDF query language.
QueryLanguage(String) - Constructor for class org.nsdl.mptstore.query.lang.QueryLanguage
Instantiate a QueryLanguage.
QueryResults - Interface in org.nsdl.mptstore.query
An iterator representing any number of query result rows.
QuerySyntaxException - Exception in org.nsdl.mptstore.query.lang
A QueryException that signals a malformed RDF query.
QuerySyntaxException(String) - Constructor for exception org.nsdl.mptstore.query.lang.QuerySyntaxException
Construct a QueryException with a detail message.
QuerySyntaxException(String, Throwable) - Constructor for exception org.nsdl.mptstore.query.lang.QuerySyntaxException
Construct a QueryException with a detail message and a cause.
quotedString(String, boolean) - Static method in class org.nsdl.mptstore.util.DBUtil
Provide a single-quoted, properly escaped String for the given value to be used in a SQL statement.

R

release(Connection) - Static method in class org.nsdl.mptstore.util.DBUtil
Ensure the given connection is in auto-commit mode (default) and close/release it.
remove(TriplePattern) - Method in class org.nsdl.mptstore.query.component.GraphPattern
Remove the given triple pattern from the list of patterns.
remove() - Method in interface org.nsdl.mptstore.query.QueryResults
Throws UnsupportedOperationException.
remove() - Method in class org.nsdl.mptstore.query.SQLUnionQueryResults
Throws UnsupportedOperationException.
removeFilter(String) - Method in class org.nsdl.mptstore.query.component.GraphPattern
Remove the given node filter from the list of filters.
RuntimeQueryException - Exception in org.nsdl.mptstore.query
Unchecked exception signaling a query-related error.
RuntimeQueryException(QueryException) - Constructor for exception org.nsdl.mptstore.query.RuntimeQueryException
Construct a RuntimeQueryException representing the given QueryException.

S

setTargets(List<String>) - Method in class org.nsdl.mptstore.query.provider.GraphQuerySQLProvider
Choose the variables that define result tuples
setTargets(List<String>) - Method in interface org.nsdl.mptstore.query.provider.SQLBuilder
Set the targets to the given values.
SPARQL - Static variable in class org.nsdl.mptstore.query.lang.QueryLanguage
SPARQL.
SPO - Static variable in class org.nsdl.mptstore.query.lang.QueryLanguage
SPO.
SPO_TARGETS - Static variable in class org.nsdl.mptstore.query.lang.spo.SPOQueryCompiler
The targets are always "s", "p", "o".
SPOQueryCompiler - Class in org.nsdl.mptstore.query.lang.spo
Compiler for SPO queries.
SPOQueryCompiler(TableManager, boolean) - Constructor for class org.nsdl.mptstore.query.lang.spo.SPOQueryCompiler
Instantiate an SPOQueryCompiler.
SQLBuilder - Interface in org.nsdl.mptstore.query.provider
A SQLProvider that supports target setting.
SQLProvider - Interface in org.nsdl.mptstore.query.provider
Provides a list of SELECT statements and targets (column names) for RDF query.
SQLUnionQueryResults - Class in org.nsdl.mptstore.query
RDF query results generated from a list of SQL statements.
SQLUnionQueryResults(Connection, SQLProvider, int, boolean) - Constructor for class org.nsdl.mptstore.query.SQLUnionQueryResults
Instantiate SQLUnionQueryResults to work with the given SQL on the given connection.
SUBJECT - Static variable in class org.nsdl.mptstore.query.component.MappableNodePattern.Types
Indicates a subject.
SubjectNode - Interface in org.nsdl.mptstore.rdf
Marker interface indicating the node can play the part of a subject in an RDF triple.

T

TableManager - Interface in org.nsdl.mptstore.core
Provides thread-safe read/write access to the tables used by MPTStore.
toString() - Method in class org.nsdl.mptstore.query.component.BasicNodePattern
toString() - Method in class org.nsdl.mptstore.query.component.BasicTriplePattern
toString() - Method in class org.nsdl.mptstore.query.component.GraphPattern
toString() - Method in class org.nsdl.mptstore.query.component.MappableNodeFilter
toString() - Method in class org.nsdl.mptstore.query.component.MappableNodePattern
Get a string representation of this mappable node pattern.
toString() - Method in class org.nsdl.mptstore.query.component.MappableTriplePattern
toString() - Method in class org.nsdl.mptstore.rdf.Literal
Get an N-Triples string representing this node.
toString() - Method in interface org.nsdl.mptstore.rdf.Node
Get an N-Triples string representing this node.
toString() - Method in class org.nsdl.mptstore.rdf.Triple
Get a string representation of this Triple, in N-Triples format.
toString() - Method in class org.nsdl.mptstore.rdf.URIReference
Get an N-Triples string representing this node.
Triple - Class in org.nsdl.mptstore.rdf
An RDF triple, also known as a statement.
Triple(SubjectNode, PredicateNode, ObjectNode) - Constructor for class org.nsdl.mptstore.rdf.Triple
Construct a Triple with the given components.
TriplePattern - Interface in org.nsdl.mptstore.query.component
Represents a pattern that defines matching triples.
TriplePatternSQLProvider - Class in org.nsdl.mptstore.query.provider
Translates a TriplePattern into a series of SQL statements.
TriplePatternSQLProvider(TableManager, boolean, TriplePattern, List<String>) - Constructor for class org.nsdl.mptstore.query.provider.TriplePatternSQLProvider
Instantiate from the given values.

U

unescapeLiteralValue(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Unescape an N-Triples-escaped string.
URIReference - Class in org.nsdl.mptstore.rdf
An RDF URI reference.
URIReference(URI) - Constructor for class org.nsdl.mptstore.rdf.URIReference
Construct a URIReference given an existing URI.
URIReference(String) - Constructor for class org.nsdl.mptstore.rdf.URIReference
Construct a URIReference given a URI string.

V

validateLanguage(String) - Static method in class org.nsdl.mptstore.util.NTriplesUtil
Validate the given language tag according to RFC3066.
valueOf(String) - Static method in enum org.nsdl.mptstore.query.component.QueryElement.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.nsdl.mptstore.query.component.QueryElement.Type
Returns an array containing the constants of this enum type, in the order they're declared.

A B C D E F G H I L M N O P Q R S T U V