Interface DataSource<NativeQueryType, NativeResultType>
- Type Parameters:
NativeQueryType- the native query representation used by the sourceNativeResultType- the native result representation returned by the source
- All Superinterfaces:
QueryableData
- All Known Implementing Classes:
AbstractDataSource, MongoDBDataSource, SPARQLDataSource, SQLDataSource, WebAPIDataSource
Represents a queryable data source backing a view.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the optional user-facing name of this data source.Returns the parameters used to query the supplied predicate from this source.voidSets the user-facing name of this data source.Methods inherited from interface QueryableData
estimateBound, estimateBound, evaluate, evaluate, getAtomicPattern, getPredicates, getSupportedOperations, hasPredicate
-
Method Details
-
getViewParameters
Returns the parameters used to query the supplied predicate from this source.- Parameters:
p- the predicate exposed by the data source- Returns:
- the parameters needed to query the predicate
-
getName
-
setName
Sets the user-facing name of this data source.- Parameters:
name- the name to assign to the data source
-