| Modifier and Type | Method and Description |
|---|---|
ViewDefinition |
SyntaxBridge.create(ViewDefinition viewDefinition) |
| Modifier and Type | Method and Description |
|---|---|
static List<ViewDefinition> |
SyntaxBridge.bridge(SyntaxBridge bridge,
Collection<ViewDefinition> viewDefinitions,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ConfiguratorCandidateSelector.configure(Config config,
SyntaxBridge bridge,
CandidateViewSelector<ViewDefinition> candidateSelector,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
ViewDefinition |
ViewQuadOld.getView() |
ViewDefinition |
ViewDefinitionNormalizerImpl.normalize(ViewDefinition viewDefinition) |
ViewDefinition |
CandidateViewSelectorImpl.normalizeView(ViewDefinition view) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ViewDefinition> |
CandidateViewSelectorImplUseTheGenericImplInstead.getViews() |
| Modifier and Type | Method and Description |
|---|---|
void |
CandidateViewSelectorImplUseTheGenericImplInstead.addView(ViewDefinition viewDef) |
ViewDefinition |
ViewDefinitionNormalizerImpl.normalize(ViewDefinition viewDefinition) |
ViewDefinition |
CandidateViewSelectorImpl.normalizeView(ViewDefinition view) |
| Modifier and Type | Method and Description |
|---|---|
Mapping |
CandidateViewSelectorImpl.createContext(Mapping baseMapping,
ViewInstance<ViewDefinition> viewInstance)
Create a new context based on the baseContext and the current candidate viewInstance
if null is returned, the candidateViewInstance becomes rejected, otherwise, the new context
will be passed to this function together with all sub candidate viewInstances.
|
static Mapping |
MappingOpsImpl.createEmptyMapping(ViewInstance<ViewDefinition> viewInstance) |
Mapping |
MappingOpsImpl.createMapping(ViewInstance<ViewDefinition> viewInstance)
Creates a mapping from a view instance:
- For every binding variable, that maps to multiple things (contants + variables),
we need to equate all these things being mapped to
Schematically, we need to transform the binding to variable definitions from the original structure
(query view definition)
q v d
/ dx1
?x
/ \ dxn
?s
\ / dy1
?y
\ dyn
to conceptually a CNF:
(dx1 = dy1 OR ...
|
com.hp.hpl.jena.sparql.algebra.Op |
CandidateViewSelectorImpl.createOp(OpQuadPattern2 opQuadPattern,
List<RecursionResult<ViewDefinition,Mapping>> conjunctions) |
com.hp.hpl.jena.sparql.algebra.Op |
CandidateViewSelectorImpl.createOpOldButWorking(OpQuadPattern2 opQuadPattern,
List<RecursionResult<ViewDefinition,Mapping>> conjunctions) |
static org.aksw.sparqlify.core.algorithms.VarDefKey |
MappingOpsImpl.joinDefinitionsOnEquals(com.hp.hpl.jena.sparql.core.Var queryVar,
ViewInstance<ViewDefinition> viewInstance,
SqlTranslator sqlTranslator)
Returns a set of equals expressions,
created from equating all pickDefs to the given varDefs
The set is intended to be interpreted as a disjunction between the elements.
|
| Constructor and Description |
|---|
ViewQuadOld(ViewDefinition view,
com.hp.hpl.jena.sparql.core.Quad quad) |
| Constructor and Description |
|---|
CandidateViewSelectorImpl(MappingOps mappingOps,
ViewDefinitionNormalizer<ViewDefinition> viewDefinitionNormalizer) |
| Modifier and Type | Method and Description |
|---|---|
List<ViewDefinition> |
EffectiveViewGenerator.addNullConstraints(ViewDefinition viewDef) |
static List<ViewDefinition> |
EffectiveViewGenerator.createQuadMaps(ViewDefinition viewDef) |
List<ViewDefinition> |
EffectiveViewGenerator.transform(ViewDefinition viewDef)
Adds "columnName" IS NOT NULL constraints to the view definitions according to the schema.
|
List<ViewDefinition> |
EffectiveViewGenerator.transformDummy(ViewDefinition viewDef) |
| Modifier and Type | Method and Description |
|---|---|
List<ViewDefinition> |
EffectiveViewGenerator.addNullConstraints(ViewDefinition viewDef) |
static List<ViewDefinition> |
EffectiveViewGenerator.createQuadMaps(ViewDefinition viewDef) |
List<ViewDefinition> |
EffectiveViewGenerator.transform(ViewDefinition viewDef)
Adds "columnName" IS NOT NULL constraints to the view definitions according to the schema.
|
List<ViewDefinition> |
EffectiveViewGenerator.transformDummy(ViewDefinition viewDef) |
| Modifier and Type | Field and Description |
|---|---|
static ViewDefinition |
ViewDefinition.emptyViewDefinition |
| Modifier and Type | Method and Description |
|---|---|
ViewDefinition |
ViewDefinition.copyRenameVars(Map<com.hp.hpl.jena.sparql.core.Var,com.hp.hpl.jena.sparql.core.Var> oldToNew) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ViewDefinition> |
CandidateViewSelectorOld.getViews() |
| Modifier and Type | Method and Description |
|---|---|
void |
CandidateViewSelectorOld.addView(ViewDefinition viewDefinition) |
| Modifier and Type | Method and Description |
|---|---|
Mapping |
MappingOps.createMapping(ViewInstance<ViewDefinition> viewInstance) |
| Modifier and Type | Method and Description |
|---|---|
ViewDefinition |
SparqlSqlInverseMap.getViewDefinition() |
| Modifier and Type | Method and Description |
|---|---|
static Set<ViewQuad<ViewDefinition>> |
SparqlSqlInverseMapperImpl.getCandidateViews(CandidateViewSelectorImpl candidateSelector,
com.hp.hpl.jena.sparql.core.Quad quad)
Utility function that returns the set of candidate views for
a variable-free quad.
|
| Constructor and Description |
|---|
SparqlSqlInverseMap(com.hp.hpl.jena.sparql.core.Quad candidateQuad,
ViewDefinition viewDefinition,
com.hp.hpl.jena.sparql.core.Quad viewQuad,
Map<S_ColumnRef,SqlValue> columnToValue) |
| Modifier and Type | Method and Description |
|---|---|
ViewDefinition |
ViewDefinitionFactory.create(String viewDefStr) |
| Modifier and Type | Method and Description |
|---|---|
static SparqlSqlOpRewriter |
SparqlifyUtils.createSqlOpRewriter(CandidateViewSelector<ViewDefinition> candidateViewSelector,
OpMappingRewriter opMappingRewriter,
TypeSystem datatypeSystem,
org.aksw.commons.util.jdbc.Schema databaseSchema) |
static SparqlSqlStringRewriter |
SparqlifyUtils.createTestRewriter(CandidateViewSelector<ViewDefinition> candidateViewSelector,
OpMappingRewriter opMappingRewriter,
TypeSystem datatypeSystem,
org.aksw.commons.util.jdbc.Schema databaseSchema)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Validation.validateView(ViewDefinition view,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static List<ViewDefinition> |
SparqlifyCliHelper.extractViewDefinitions(List<ViewDefinition> viewDefinitions,
DataSource dataSource,
TypeSystem typeSystem,
Map<String,String> typeAlias,
org.slf4j.Logger logger) |
Copyright © 2014. All rights reserved.