Returns the name of LOCK table.
505348
protected String getTableName() throws SQLException
   {
      try
      {
         String dialect = getDialect();
         String quote = "\"";
         if (dialect.startsWith(DBConstants.DB_DIALECT_MYSQL))
            quote = "`";
         return quote + lockManagerEntry.getParameterValue(ISPNCacheableLockManagerImpl.INFINISPAN_JDBC_TABLE_NAME)
            + "_" + "L" + workspaceEntry.getUniqueName().replace("_", "").replace("-", "_") + quote;
      }
      catch (RepositoryConfigurationException e)
      {
         throw new SQLException(e);
      }
   }
738717
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(ISSUE_STATUS_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
580151
def getTablesByName(elem, name):
	
	name = StripTableName(name)
	return elem.getElements(lambda e: (e.tagName == ligolw.Table.tagName) and (e.Name == name))
420403
public static String getMetricsTableName(String schema, String table)
    {
        return schema.equals("default") ? table + "_idx_metrics"
                : schema + '.' + table + "_idx_metrics";
    }
650466
def get(self, table_name):
        """"""
        assert table_name in self.tabs, \
            "Table not avaiable. Avaiable tables: {}".format(
                ", ".join(self.tabs.keys())
            )
        return self.tabs[table_name]
911599
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(KEY_INFO_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
809399
def table_name(self):
        """"""
        if not self.class_name:
            raise ValueError
        else:
            tbl_name = ModelCompiler.convert_case(self.class_name)
        last_letter = tbl_name[-1]
        if last_letter in ("y",):
            return "{}ies".format(tbl_name[:-1])
        elif last_letter in ("s",):
            return "{}es".format(tbl_name)
        else:
            return "{}s".format(tbl_name)
1182719
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(CLASS_RESOURCE_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
1053736
def getLockStatsMode(self):
        
        info_dict = {'all': dict(zip(self.lockModes, (0,) * len(self.lockModes))),
                     'wait': dict(zip(self.lockModes, (0,) * len(self.lockModes)))}
        cur = self._conn.cursor()
        cur.execute("SELECT TRIM(mode, 'Lock'), granted, COUNT(*) FROM pg_locks "
                    "GROUP BY TRIM(mode, 'Lock'), granted;")
        rows = cur.fetchall()
        for (mode, granted, cnt) in rows:
            info_dict['all'][mode] += cnt
            if not granted:
                info_dict['wait'][mode] += cnt
        return info_dict
567543
def table_name(cls):
        
        if cls._prefix is None:
            raise AttributeError('Class prefix is not defined!')
        return cls._prefix + from_camel_case(cls.__name__)
1078332
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(MESSAGE_PROCESS_INFO_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
985438
public static String nameClass(String tableName) 
    {
		StringBuffer sb = new StringBuffer();
		char[] chars = new char[tableName.length()];
		chars = tableName.toCharArray();
		char c;
		boolean nextup = false;
		for (int i = 0; i < chars.length; i++) {
			if (i==0) c = Character.toUpperCase(chars[i]);
			else if (chars[i]=='_') {
				 nextup = true;
				 continue;
			}
			else if (nextup) {
				nextup = false;
				c = Character.toUpperCase(chars[i]);
			} 
			else c = Character.toLowerCase(chars[i]);
			sb.append(c);
		}
		return sb.toString();
	}
1215381
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(BASE_STATUS_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
389133
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(SCRIPT_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
1228257
def getLockStatsDB(self):
        
        info_dict = {'all': {},
                     'wait': {}}
        cur = self._conn.cursor()
        cur.execute("SELECT d.datname, l.granted, COUNT(*) FROM pg_database d "
                    "JOIN pg_locks l ON d.oid=l.database "
                    "GROUP BY d.datname, l.granted;")
        rows = cur.fetchall()
        for (db, granted, cnt) in rows:
            info_dict['all'][db] = info_dict['all'].get(db, 0) + cnt
            if not granted:
                info_dict['wait'][db] = info_dict['wait'].get(db, 0) + cnt
        return info_dict
964613
public final long getLockID()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        {
            SibTr.entry(this, tc, "getLockID");
            SibTr.exit(this, tc, "getLockID", Long.valueOf(_lockID));
        }
        return _lockID;
    }
1294371
def get_table_name(self, ind):
        
        if ind >= len(self.ancestry):
            return "", ""
        if ind > -1:
            table_name = self.ancestry[ind]
            ###name = table_name[:-1] + "_name"
            name = table_name[:-1]
            return table_name, name
        return "", ""