public class TableIdentifier extends AbstractMap.SimpleImmutableEntry<String,Optional<org.joda.time.ReadablePeriod>>
Constructor and Description |
---|
TableIdentifier(LogicalTable table)
Constructor.
|
TableIdentifier(String logicalTableName,
Granularity granularity)
Constructor.
|
TableIdentifier(String logicalTableName,
Optional<org.joda.time.ReadablePeriod> period)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static TableIdentifier |
create(DataApiRequest request)
Builder.
|
equals, getKey, getValue, hashCode, setValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public TableIdentifier(String logicalTableName, Granularity granularity)
logicalTableName
- Name for the table identifiergranularity
- Granularity of the table identifierpublic TableIdentifier(String logicalTableName, Optional<org.joda.time.ReadablePeriod> period)
logicalTableName
- Name for the table identifierperiod
- Period for the table identifierpublic TableIdentifier(LogicalTable table)
table
- Logical table for the table identifierpublic static TableIdentifier create(DataApiRequest request)
request
- API Request for which to build a table identifierCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.