public interface NodeSetFilter
Node
s.
TODO: NodeSetFilter doesn't handle ColumnFunctions or TranslationTables yetModifier and Type | Method and Description |
---|---|
void |
limitTo(Node node)
Limits this node set to one particular node.
|
void |
limitToBlankNodes()
Limits this node set to blank nodes.
|
void |
limitToEmptySet()
Limits the node set to the empty set.
|
void |
limitToLiterals(String language,
RDFDatatype datatype)
Limits this node set to literals having a particular language
tag and datatype.
|
void |
limitToURIs()
Limits this node set to URI nodes.
|
void |
limitValues(String constant)
Limits this node set to the node that has a particular
constant value.
|
void |
limitValuesToAttribute(Attribute attribute)
Limits this node set to those whose value matches a value in a
particular database table column.
|
void |
limitValuesToBlankNodeID(BlankNodeID id)
Limits this node set to nodes whose value matches the values
produced by a blank node ID.
|
void |
limitValuesToExpression(Expression expression)
Limits this node set to nodes whose value matches the given
SQL expression.
|
void |
limitValuesToPattern(Pattern pattern)
Limits this node set to nodes whose value matches the values
produced by a pattern.
|
void |
setUsesTranslator(Translator translator)
Registers the use of a translator to create values in this node set.
|
void limitToEmptySet()
void limitTo(Node node)
node
- A fixed singleton nodevoid limitToURIs()
void limitToBlankNodes()
void limitToLiterals(String language, RDFDatatype datatype)
language
- The language tag of all nodes in the set, or null
for plain or datatype literalsdatatype
- The datatype of all nodes in the set, or null
for plain literalsvoid limitValues(String constant)
constant
- The value of the node in this setvoid limitValuesToAttribute(Attribute attribute)
attribute
- The attribute containing possible valuesvoid limitValuesToPattern(Pattern pattern)
pattern
- The pattern producing possible valuesvoid limitValuesToBlankNodeID(BlankNodeID id)
id
- The blank node ID producing possible valuesvoid limitValuesToExpression(Expression expression)
expression
- The SQL expression that generates possible valuesvoid setUsesTranslator(Translator translator)
translator
- A translator used to create values in this node set