public abstract class BaseMetadataAvailability extends Object implements Availability
Constructor and Description |
---|
BaseMetadataAvailability(DataSourceName dataSourceName,
DataSourceMetadataService metadataService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<String,SimplifiedIntervalList> |
getAllAvailableIntervals()
The availability of all columns.
|
abstract SimplifiedIntervalList |
getAvailableIntervals(PhysicalDataSourceConstraint constraint)
Fetch a
SimplifiedIntervalList representing the coalesced available intervals on this availability as
filtered by the PhysicalDataSourceConstraint . |
DataSourceMetadataService |
getDataSourceMetadataService() |
DataSourceName |
getDataSourceName() |
Set<DataSourceName> |
getDataSourceNames()
The names of the data sources backing this availability.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAvailableIntervals, getAvailableIntervals, getDataSourceNames, getDataSourceNames
public BaseMetadataAvailability(@NotNull DataSourceName dataSourceName, @NotNull DataSourceMetadataService metadataService)
dataSourceName
- The name of the data source associated with this AvailabilitymetadataService
- A service containing the datasource segment datapublic DataSourceName getDataSourceName()
public Set<DataSourceName> getDataSourceNames()
Availability
getDataSourceNames
in interface Availability
public DataSourceMetadataService getDataSourceMetadataService()
public Map<String,SimplifiedIntervalList> getAllAvailableIntervals()
Availability
getAllAvailableIntervals
in interface Availability
public abstract SimplifiedIntervalList getAvailableIntervals(PhysicalDataSourceConstraint constraint)
Availability
SimplifiedIntervalList
representing the coalesced available intervals on this availability as
filtered by the PhysicalDataSourceConstraint
.getAvailableIntervals
in interface Availability
constraint
- PhysicalDataSourceConstraint containing
Schema
and ApiFilter
sCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.