public class PermissivePhysicalTable extends SingleDataSourcePhysicalTable
This is different from StrictPhysicalTable
. PermissivePhysicalTable
is backed by
PermissiveAvailability
. The different Availability affects how available intervals of the table are
calculated and returned.
For example see PhysicalTable.getAvailableIntervals()
, PhysicalTable.getAllAvailableIntervals()
, and
PhysicalTable.getTableAlignment()
.
Constructor and Description |
---|
PermissivePhysicalTable(TableName name,
ZonedTimeGrain timeGrain,
Set<Column> columns,
Map<String,String> logicalToPhysicalColumnNames,
DataSourceMetadataService metadataService)
Create a permissive physical table.
|
PermissivePhysicalTable(TableName name,
ZonedTimeGrain timeGrain,
Set<Column> columns,
Map<String,String> logicalToPhysicalColumnNames,
PermissiveAvailability availability)
Create a permissive physical table.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getDataSourceName
equals, getAllAvailableIntervals, getAvailability, getAvailableIntervals, getDataSourceNames, getName, getPhysicalColumnName, getSchema, getTableAlignment, getTableName, hashCode, setAvailability, withConstraint
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAvailableIntervals, getColumns, getDataSourceNames, getTimeGrain, mapToSchemaAvailability
getDimensions
public PermissivePhysicalTable(@NotNull TableName name, @NotNull ZonedTimeGrain timeGrain, @NotNull Set<Column> columns, @NotNull Map<String,String> logicalToPhysicalColumnNames, @NotNull DataSourceMetadataService metadataService)
name
- Name of the physical table as TableNametimeGrain
- time grain of the tablecolumns
- The columns for this tablelogicalToPhysicalColumnNames
- Mappings from logical to physical namesmetadataService
- Data source metadata service containing availability data for the tablepublic PermissivePhysicalTable(@NotNull TableName name, @NotNull ZonedTimeGrain timeGrain, @NotNull Set<Column> columns, @NotNull Map<String,String> logicalToPhysicalColumnNames, @NotNull PermissiveAvailability availability)
name
- Name of the physical table as TableNametimeGrain
- time grain of the tablecolumns
- The columns for this tablelogicalToPhysicalColumnNames
- Mappings from logical to physical namesavailability
- Availability that serves interval availability for columnspublic String toString()
toString
in class SingleDataSourcePhysicalTable
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.