public class ProjectionOperator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProjectionOperator.NodeType |
Modifier and Type | Field and Description |
---|---|
private List<ConverterMention> |
converterMentions |
private Optional<String> |
datatypeHolder |
private Optional<String> |
languageHolder |
private ProjectionOperator.NodeType |
nodeType |
Constructor and Description |
---|
ProjectionOperator(ProjectionOperator.NodeType nodeType,
String language,
String datatype,
List<ConverterMention> converterMentions) |
Modifier and Type | Method and Description |
---|---|
static ProjectionOperator |
createLiteralProjection(org.eclipse.rdf4j.model.IRI datatype,
List<ConverterMention> converterMentions) |
static ProjectionOperator |
createLiteralProjection(String language,
List<ConverterMention> converterMentions) |
static ProjectionOperator |
createURIProjection(List<ConverterMention> converterMentions) |
boolean |
equals(Object obj) |
List<ConverterMention> |
getConverterMentions() |
Optional<String> |
getDatatype() |
Optional<String> |
getLanguage() |
ProjectionOperator.NodeType |
getNodeType() |
int |
hashCode() |
List<ProjectionOperator> |
instatiateWithPlaceholderValues(com.google.common.collect.Multimap<String,Object> placeholder2valueMap)
Instantiates this
ProjectionOperator using the provided values for placeholders. |
private ProjectionOperator.NodeType nodeType
private List<ConverterMention> converterMentions
public ProjectionOperator(ProjectionOperator.NodeType nodeType, String language, String datatype, List<ConverterMention> converterMentions)
public ProjectionOperator.NodeType getNodeType()
public List<ConverterMention> getConverterMentions()
public List<ProjectionOperator> instatiateWithPlaceholderValues(com.google.common.collect.Multimap<String,Object> placeholder2valueMap) throws ConverterException
ProjectionOperator
using the provided values for placeholders. An empty
collection is returned, if the instantiation fails because of the use of a placeholder without any
value.placeholder2valueMap
- ConverterException
public static ProjectionOperator createLiteralProjection(String language, List<ConverterMention> converterMentions)
public static ProjectionOperator createLiteralProjection(org.eclipse.rdf4j.model.IRI datatype, List<ConverterMention> converterMentions)
public static ProjectionOperator createURIProjection(List<ConverterMention> converterMentions)
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.