public class JsonSerializedMetadataProvider extends Object implements SerializedMetadataProvider
SerializedMetadataProvider.Factory| Modifier | Constructor and Description |
|---|---|
protected |
JsonSerializedMetadataProvider(Reader dbMetadataReader,
CoreSingletons coreSingletons) |
| Modifier and Type | Method and Description |
|---|---|
it.unibz.inf.ontop.dbschema.DBParameters |
getDBParameters() |
it.unibz.inf.ontop.dbschema.QuotedIDFactory |
getQuotedIDFactory() |
it.unibz.inf.ontop.dbschema.NamedRelationDefinition |
getRelation(it.unibz.inf.ontop.dbschema.RelationID id) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<it.unibz.inf.ontop.dbschema.RelationID> |
getRelationIDs() |
void |
insertIntegrityConstraints(it.unibz.inf.ontop.dbschema.NamedRelationDefinition relation,
it.unibz.inf.ontop.dbschema.MetadataLookup metadataLookupForFk) |
protected static JsonMetadata |
loadAndDeserialize(Reader dbMetadataReader)
Deserializes a JSON file into a POJO.
|
protected JsonSerializedMetadataProvider(Reader dbMetadataReader, CoreSingletons coreSingletons) throws MetadataExtractionException, IOException
protected static JsonMetadata loadAndDeserialize(Reader dbMetadataReader) throws MetadataExtractionException, IOException
dbMetadataReader - JSON file readerMetadataExtractionExceptionIOExceptionpublic it.unibz.inf.ontop.dbschema.NamedRelationDefinition getRelation(it.unibz.inf.ontop.dbschema.RelationID id)
throws MetadataExtractionException
getRelation in interface it.unibz.inf.ontop.dbschema.MetadataLookupMetadataExtractionExceptionpublic it.unibz.inf.ontop.dbschema.QuotedIDFactory getQuotedIDFactory()
getQuotedIDFactory in interface it.unibz.inf.ontop.dbschema.MetadataLookuppublic it.unibz.inf.ontop.com.google.common.collect.ImmutableList<it.unibz.inf.ontop.dbschema.RelationID> getRelationIDs()
throws MetadataExtractionException
getRelationIDs in interface it.unibz.inf.ontop.dbschema.MetadataProviderMetadataExtractionExceptionpublic void insertIntegrityConstraints(it.unibz.inf.ontop.dbschema.NamedRelationDefinition relation,
it.unibz.inf.ontop.dbschema.MetadataLookup metadataLookupForFk)
throws MetadataExtractionException
insertIntegrityConstraints in interface it.unibz.inf.ontop.dbschema.MetadataProviderMetadataExtractionExceptionpublic it.unibz.inf.ontop.dbschema.DBParameters getDBParameters()
getDBParameters in interface it.unibz.inf.ontop.dbschema.MetadataProviderCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.