Returns the table whoose name is tablename.
11164
def get_table(self, tablename):
        
        temp = filter(lambda x: x.name == tablename, self.tables)
        if temp == list():
            raise Exception("No such table")
        return temp[0]
140678
public String getTableNames(boolean bAddQuotes)
    {
        if (m_tableName == null)
        {
            String strDatabaseName = "";
            if (this.getDatabaseName() != null)
                if (!this.getDatabaseName().endsWith("_" + this.getDatabaseName()))
                    strDatabaseName = "_" + this.getDatabaseName();
            return Record.formatTableNames(DATABASE_INFO_FILE, bAddQuotes) + strDatabaseName;
        }
        return super.getTableNames(bAddQuotes);
    }
412005
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(SCREEN_IN_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
150475
def getTableNames(dbid, lowercaseOrUpperCase = "")
      tableNames = []
      dbid ||= @dbid
      getSchema(dbid)      
      if @chdbids
         chdbidArray = findElementsByAttributeName( @chdbids, "name" )
         chdbidArray.each{ |chdbid|
            if chdbid.has_text?
               dbid = chdbid.text
               getSchema( dbid )
               name = getResponseElement( "table/name" )
               if name and name.has_text?
                  if lowercaseOrUpperCase == "lowercase"
                     tableNames << name.text.downcase
                  elsif lowercaseOrUpperCase == "uppercase"
                     tableNames << name.text.upcase
                  else
                     tableNames << name.text.dup
                  end
               end
            end
         }
      end
      tableNames
    end
1362155
def get_table(self, tablename):
        
        table, (_row, _col) = self.__tables[tablename]
        return table
1343268
protected String calcTableName(String table) {
        return StringUtils.isBlank(defaultKeyspace) || table.indexOf('.') >= 0 ? table
                : defaultKeyspace + "." + table;
    }
92465
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(MESSAGE_LOG_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
1029760
function getTableDefinition(tableDefinitions, tableName) {
    Validate.isObject(tableDefinitions);
    Validate.notNull(tableDefinitions);
    Validate.isString(tableName);
    Validate.notNullOrEmpty(tableName);

    return tableDefinitions[tableName.toLowerCase()];
}
886742
public function getTableName()
    {
        if (null == $this->tableName) {
            $this->tableName = $this->determineTableName();
        }
        return $this->tableName;
    }
1024963
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(EMPTY_MEMORY_RECORD_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
590658
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(USER_INFO_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
636817
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(MESSAGE_DETAIL_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
959219
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(PACKAGES_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
865850
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(APPOINTMENT_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
751446
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(RESOURCE_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
755209
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(BASE_FOLDER_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }
747134
def get_table_info(conn, tablename):
    """"""
    r = conn.execute("pragma table_info('{}')".format(tablename))
    ret = TableInfo(((row["name"], row) for row in r))
    return ret