public class SubApplicationTableRW extends BaseTableRW<org.apache.hadoop.yarn.server.timelineservice.storage.subapplication.SubApplicationTable>
| Modifier and Type | Field and Description | 
|---|---|
| static String | DEFAULT_TABLE_NAMEdefault value for subapplication table name. | 
| static String | TABLE_NAME_CONF_NAMEconfig param name that specifies the subapplication table name. | 
| Constructor and Description | 
|---|
| SubApplicationTableRW() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | createTable(org.apache.hadoop.hbase.client.Admin admin,
           org.apache.hadoop.conf.Configuration hbaseConf)Used to create the table in HBase. | 
| void | setMetricsTTL(int metricsTTL,
             org.apache.hadoop.conf.Configuration hbaseConf) | 
getResult, getResultScanner, getTableMutator, getTableName, getTableName, getTableNamepublic static final String TABLE_NAME_CONF_NAME
public static final String DEFAULT_TABLE_NAME
public void createTable(org.apache.hadoop.hbase.client.Admin admin,
                        org.apache.hadoop.conf.Configuration hbaseConf)
                 throws IOException
BaseTableRWcreateTable in class BaseTableRW<org.apache.hadoop.yarn.server.timelineservice.storage.subapplication.SubApplicationTable>admin - Used for doing HBase table operations.hbaseConf - Hbase configuration.IOException - if any exception occurs while creating the table.public void setMetricsTTL(int metricsTTL,
                          org.apache.hadoop.conf.Configuration hbaseConf)
metricsTTL - time to live parameter for the metricss in this table.hbaseConf - configururation in which to set the metrics TTL config
          variable.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.